diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-03-23 17:09:53 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2021-03-23 17:09:53 +0100 |
commit | b933fa4b5d1b94706da3e58e9ecf756fb5536a6e (patch) | |
tree | b62c3b79a1f5e80735a86ed82aa458eb0c85dafc /gas | |
parent | dac10fb0d10aca2b75512a5fd2880a83d4fc454d (diff) | |
download | gdb-b933fa4b5d1b94706da3e58e9ecf756fb5536a6e.zip gdb-b933fa4b5d1b94706da3e58e9ecf756fb5536a6e.tar.gz gdb-b933fa4b5d1b94706da3e58e9ecf756fb5536a6e.tar.bz2 |
x86: re-number PREFIX_0X<nn>
In preparation to use PREFIX_0X<nn> attributes also in VEX/XOP/EVEX
encoding templates, renumber the pseudo-enumerators such that their
values can then also be used directly in the respective prefix bit
fields.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 001d260..19c47b7 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,9 @@ 2021-03-23 Jan Beulich <jbeulich@suse.com> + * config/tc-i386.c (pte): Re-order opc_pfx[] entries. + +2021-03-23 Jan Beulich <jbeulich@suse.com> + * config/tc-i386.c (output_i386_opcode): Invoke process_i386_cpu_flag() slightly later. (process_i386_opcodes): Likewise. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 1aa815d..1f2e407 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -3239,7 +3239,7 @@ pi (const char *line, i386_insn *x) static void pte (insn_template *t) { - static const unsigned char opc_pfx[] = { 0, 0x66, 0xf2, 0xf3 }; + static const unsigned char opc_pfx[] = { 0, 0x66, 0xf3, 0xf2 }; static const char *const opc_spc[] = { NULL, "0f", "0f38", "0f3a", NULL, NULL, NULL, NULL, "XOP08", "XOP09", "XOP0A", |