nasm/x86
H. Peter Anvin e993b75aa6 XCHG: adjust lock prefix warning, add specific warning for LOCK XCHG
"LOCK XCHG reg,mem" would issue a warning for being unlockable, which
is incorrect. In this case the RM encoding is simply an alias for the
MR encoding. Add a "LOCK1" bit to deal with that.

However, XCHG is *always* locked, so create a new warning to
explicitly flag a user-specified LOCK XCHG; default off.

Consider optimizing that prefix away in the future, but for now, let's
stick to the user-requested code sequence.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2023-10-12 14:53:40 -07:00
..
disp8.c
iflags.ph XCHG: adjust lock prefix warning, add specific warning for LOCK XCHG 2023-10-12 14:53:40 -07:00
insns-iflags.ph insns: handle late-introduced VEX encoded instructions 2022-12-06 13:38:33 -08:00
insns.dat XCHG: adjust lock prefix warning, add specific warning for LOCK XCHG 2023-10-12 14:53:40 -07:00
insns.pl x86/insns.pl: sort conditional instructions alphabetically 2022-11-12 12:59:23 -08:00
regs.dat Add support for new instructions from ISE June 2020 2020-07-16 21:52:15 -07:00
regs.pl