[x264-devel] [Git][videolan/x264][master] x86inc: Fix warnings when using nasm 2.15
Anton Mitrofanov
gitlab at videolan.org
Wed Jun 10 20:32:14 CEST 2020
Anton Mitrofanov pushed to branch master at VideoLAN / x264
Commits:
22fcbe12 by Henrik Gramner at 2020-06-10T20:21:24+02:00
x86inc: Fix warnings when using nasm 2.15
- - - - -
1 changed file:
- common/x86/x86inc.asm
Changes:
=====================================
common/x86/x86inc.asm
=====================================
@@ -356,7 +356,7 @@ DECLARE_REG_TMP_SIZE 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14
%define vzeroupper_required (mmsize > 16 && (ARCH_X86_64 == 0 || xmm_regs_used > 16 || notcpuflag(avx512)))
%define high_mm_regs (16*cpuflag(avx512))
-%macro ALLOC_STACK 1-2 0 ; stack_size, n_xmm_regs (for win64 only)
+%macro ALLOC_STACK 0-2 0, 0 ; stack_size, n_xmm_regs (for win64 only)
%ifnum %1
%if %1 != 0
%assign %%pad 0
@@ -401,7 +401,7 @@ DECLARE_REG_TMP_SIZE 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14
%endif
%endmacro
-%macro SETUP_STACK_POINTER 1
+%macro SETUP_STACK_POINTER 0-1 0
%ifnum %1
%if %1 != 0 && required_stack_alignment > STACK_ALIGNMENT
%if %1 > 0
View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/22fcbe12046b7d6ed7af5d7a47258f1f2ebd56c1
--
View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/22fcbe12046b7d6ed7af5d7a47258f1f2ebd56c1
You're receiving this email because of your account on code.videolan.org.
More information about the x264-devel
mailing list