OSDN Git Service

x86: Use simple nop codes for <= sse (rather than <= mmx)
authorRonald S. Bultje <rbultje@chromium.org>
Tue, 29 Jan 2013 23:55:19 +0000 (15:55 -0800)
committerMartin Storsjö <martin@martin.st>
Tue, 19 Feb 2013 20:33:19 +0000 (22:33 +0200)
The "CentaurHauls family 6 model 9 stepping 8" family of CPUs
(flags: fpu vme de pse tsc msr cx8 sep mtrr pge mov pat mmx fxsr sse
up rng rng_en ace ace_en) SIGILLs on long nop codes.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavutil/x86/x86inc.asm

index a18c6f4..bc8e4cb 100644 (file)
@@ -752,7 +752,7 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits
         %elifidn %1, sse3
             %define movu lddqu
         %endif
-        %if notcpuflag(mmx2)
+        %if notcpuflag(sse2)
             CPUNOP basicnop
         %endif
     %else