From 152cbd37e208b683f424de5d56e35d840b4be31e Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin (Intel)" Date: Thu, 4 Jun 2020 20:22:34 -0700 Subject: BR 3392676: fix cmpxchg8b/16b with explicit size CMPXCHG8b/16b should be legitimate with an explicit operand size. Reported-by: Xusheng Li Signed-off-by: H. Peter Anvin (Intel) --- x86/insns.dat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x86') diff --git a/x86/insns.dat b/x86/insns.dat index e8117241..cec96788 100644 --- a/x86/insns.dat +++ b/x86/insns.dat @@ -344,8 +344,8 @@ CMPXCHG486 mem,reg16 [mr: o16 0f a7 /r] 486,SM,UNDOC,ND,LOCK,OBSOLETE CMPXCHG486 reg16,reg16 [mr: o16 0f a7 /r] 486,UNDOC,ND,OBSOLETE CMPXCHG486 mem,reg32 [mr: o32 0f a7 /r] 486,SM,UNDOC,ND,LOCK,OBSOLETE CMPXCHG486 reg32,reg32 [mr: o32 0f a7 /r] 486,UNDOC,ND,OBSOLETE -CMPXCHG8B mem [m: hle norexw 0f c7 /1] PENT,LOCK -CMPXCHG16B mem [m: o64 0f c7 /1] X64,LOCK +CMPXCHG8B mem64 [m: hle norexw 0f c7 /1] PENT,LOCK +CMPXCHG16B mem128 [m: o64 0f c7 /1] X64,LOCK CPUID void [ 0f a2] PENT CPU_READ void [ 0f 3d] PENT,CYRIX CPU_WRITE void [ 0f 3c] PENT,CYRIX -- cgit v1.2.1