aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-10-14 04:17:54 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-10-14 04:20:55 -0700
commit8b65b8953af2d49ae1d2d7fcc5b49c5308febbc1 (patch)
tree6787d9d057850f28f7fd940774843b80871ab90b /opcodes/ChangeLog
parent8c8bd0babc6039a4cef7d60d57b1b68e7a7f2e70 (diff)
downloadfsf-binutils-gdb-8b65b8953af2d49ae1d2d7fcc5b49c5308febbc1.zip
fsf-binutils-gdb-8b65b8953af2d49ae1d2d7fcc5b49c5308febbc1.tar.gz
fsf-binutils-gdb-8b65b8953af2d49ae1d2d7fcc5b49c5308febbc1.tar.bz2
x86: Remove the prefix byte from non-VEX/EVEX base_opcode
Replace the prefix byte in non-VEX/EVEX base_opcode with PREFIX_0X66, PREFIX_0XF2 or PREFIX_0XF3. gas/ * config/tc-i386.c (load_insn_p): Check opcodeprefix == 0 for base_opcode == 0xfc7. (match_template): Likewise. (process_suffix): Check opcodeprefix == PREFIX_0XF2 for CRC32. (check_byte_reg): Likewise. (output_insn): Don't add the 0xf3 prefix twice for PadLock instructions. Don't add prefix from non-VEX/EVEX base_opcode. opcodes/ * i386-gen.c (process_i386_opcode_modifier): Return 1 for non-VEX/EVEX/prefix encoding. (output_i386_opcode): Fail if non-VEX/EVEX/prefix base_opcode has a prefix byte. * i386-opc.tbl: Replace the prefix byte in non-VEX/EVEX base_opcode with PREFIX_0X66, PREFIX_0XF2 or PREFIX_0XF3. * i386-tbl.h: Regenerated.
Diffstat (limited to 'opcodes/ChangeLog')
-rw-r--r--opcodes/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index acfaf1b..b0cca07 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,13 @@
+2020-10-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-gen.c (process_i386_opcode_modifier): Return 1 for
+ non-VEX/EVEX/prefix encoding.
+ (output_i386_opcode): Fail if non-VEX/EVEX/prefix base_opcode
+ has a prefix byte.
+ * i386-opc.tbl: Replace the prefix byte in non-VEX/EVEX
+ base_opcode with PREFIX_0X66, PREFIX_0XF2 or PREFIX_0XF3.
+ * i386-tbl.h: Regenerated.
+
2020-10-13 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (opcode_modifiers): Replace VexOpcode with