Skip to content

Commit f84e1a0

Browse files
author
Peter Goodman
authored
Add two iforms to a table for looking up iforms that lock instructions (#550)
1 parent 7220001 commit f84e1a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Arch/X86/Arch.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ std::map<xed_iform_enum_t, xed_iform_enum_t> kUnlockedIform = {
319319
{XED_IFORM_CMPXCHG16B_LOCK_MEMdq, XED_IFORM_CMPXCHG16B_MEMdq},
320320
{XED_IFORM_NEG_LOCK_MEMb, XED_IFORM_NEG_MEMb},
321321
{XED_IFORM_NEG_LOCK_MEMv, XED_IFORM_NEG_MEMv},
322+
{XED_IFORM_XCHG_MEMv_GPRv, XED_IFORM_XCHG_MEMv_GPRv},
323+
{XED_IFORM_XCHG_MEMb_GPR8, XED_IFORM_XCHG_MEMb_GPR8},
322324
};
323325

324326
// Name of this instruction function.

0 commit comments

Comments
 (0)