]> git.videolan.org Git - x264.git/commitdiff
x86inc: switch to amdnops
authorJason Garrett-Glaser <jason@x264.com>
Wed, 22 Feb 2012 21:33:36 +0000 (13:33 -0800)
committerJason Garrett-Glaser <jason@x264.com>
Wed, 7 Mar 2012 01:13:23 +0000 (17:13 -0800)
Recent AMD CPUs' instruction decoders choke horribly on extremely long nops (i.e. with 4 prefixes).
Won't affect much, since we don't use ALIGN much.

common/x86/x86inc.asm

index 487e170eae9d7df97d7634a5eccbc413cda9f27c..582cc9c17960da259c6f0a2a837b3d65a9e2cfc4 100644 (file)
@@ -92,7 +92,7 @@
 %endif
 
 ; Always use long nops (reduces 0x90 spam in disassembly on x86_32)
-CPU intelnop
+CPU amdnop
 
 ; Macros to eliminate most code duplication between x86_32 and x86_64:
 ; Currently this works only for leaf functions which load all their arguments