From 5b2c62aec269be7d0b1ff62df09660369f4e20e0 Mon Sep 17 00:00:00 2001 From: Fiona Glaser Date: Wed, 22 Feb 2012 13:33:36 -0800 Subject: [PATCH] x86inc: switch to amdnops 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/x86/x86inc.asm b/common/x86/x86inc.asm index def62fa2..648bb815 100644 --- a/common/x86/x86inc.asm +++ b/common/x86/x86inc.asm @@ -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 -- 2.40.0