summaryrefslogtreecommitdiff
path: root/libavutil/x86
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@chromium.org>2013-01-29 15:55:19 -0800
committerMartin Storsjö <martin@martin.st>2013-02-19 22:33:19 +0200
commit0c0828ecc565a617ed50cd5f682a9dd635a9fbc1 (patch)
tree41e6215a39c7e4fc1464b97c5680c2c530f05d82 /libavutil/x86
parentf859678f3f274bbfa8228ddf13706f55d66481cb (diff)
x86: Use simple nop codes for <= sse (rather than <= mmx)
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>
Diffstat (limited to 'libavutil/x86')
-rw-r--r--libavutil/x86/x86inc.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
index a18c6f466e..bc8e4cb81e 100644
--- a/libavutil/x86/x86inc.asm
+++ b/libavutil/x86/x86inc.asm
@@ -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