aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ChangeLog
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-03-24 08:32:32 +0100
committerJan Beulich <jbeulich@suse.com>2021-03-24 08:32:32 +0100
commit3564871692e324301c2950679aa0fbb04c6d12dc (patch)
treedae616f226e7169fd83208a080480c97a04f01ac /opcodes/ChangeLog
parent311845694b1fd27ab869bbadd5d07969a62099f4 (diff)
downloadgdb-3564871692e324301c2950679aa0fbb04c6d12dc.zip
gdb-3564871692e324301c2950679aa0fbb04c6d12dc.tar.gz
gdb-3564871692e324301c2950679aa0fbb04c6d12dc.tar.bz2
x86: derive mandatory prefix attribute from base opcode
Just like is already done for legacy encoded insns, record the mandatory prefix information in the respective opcode modifier field. Do this without changing the source table, but rather by deriving the values from their existing source representation.
Diffstat (limited to 'opcodes/ChangeLog')
-rw-r--r--opcodes/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index cb7bdab..442124c 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,18 @@
2021-03-24 Jan Beulich <jbeulich@suse.com>
+ * i386-gen.c (process_i386_opcode_modifier): Return void. New
+ parameter "prefix". Drop local variable "regular_encoding".
+ Record prefix setting / check for consistency.
+ (output_i386_opcode): Parse opcode_length and base_opcode
+ earlier. Derive prefix encoding. Drop no longer applicable
+ consistency checking. Adjust process_i386_opcode_modifier()
+ invocation.
+ (process_i386_opcodes): Adjust process_i386_opcode_modifier()
+ invocation.
+ * i386-tbl.h: Re-generate.
+
+2021-03-24 Jan Beulich <jbeulich@suse.com>
+
* i386-gen.c (process_i386_opcode_modifier): Drop IsPrefix
check.
* i386-opc.h (Prefix_*): Move #define-s.