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>
This commit is contained in:
Ronald S. Bultje 2013-01-29 15:55:19 -08:00 committed by Martin Storsjö
parent f859678f3f
commit 0c0828ecc5

View 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