Commit dc12f7d4 authored by Michael Niedermayer's avatar Michael Niedermayer

x86inc: try to put amdnop under ifdef to prevent compile failure

based on similar amdnop usage in ffmpeg
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9fb08427
...@@ -604,7 +604,9 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits ...@@ -604,7 +604,9 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits
; All subsequent functions (up to the next INIT_CPUFLAGS) is built for the specified cpu. ; All subsequent functions (up to the next INIT_CPUFLAGS) is built for the specified cpu.
; You shouldn't need to invoke this macro directly, it's a subroutine for INIT_MMX &co. ; You shouldn't need to invoke this macro directly, it's a subroutine for INIT_MMX &co.
%macro INIT_CPUFLAGS 0-2 %macro INIT_CPUFLAGS 0-2
%ifdef __YASM_VER__
CPU amdnop CPU amdnop
%endif
%if %0 >= 1 %if %0 >= 1
%xdefine cpuname %1 %xdefine cpuname %1
%assign cpuflags cpuflags_%1 %assign cpuflags cpuflags_%1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment