diff options
author | Jan Beulich <jbeulich@suse.com> | 2019-07-16 09:30:29 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2019-07-16 09:30:29 +0200 |
commit | 21df382b918888de64749e977f185c4e10a5b838 (patch) | |
tree | 0304ccc5838584e7f3cadb92a206e4a2b616fed8 /gas/ChangeLog | |
parent | 206e6c58a769f9ec63827b8ca3952b0cd8c828ba (diff) | |
download | gdb-21df382b918888de64749e977f185c4e10a5b838.zip gdb-21df382b918888de64749e977f185c4e10a5b838.tar.gz gdb-21df382b918888de64749e977f185c4e10a5b838.tar.bz2 |
x86: fold SReg{2,3}
They're the only exception to there generally being no mix of register
kinds possible in an insn operand template, and there being two bits per
operand for their representation is also quite wasteful, considering the
low number of uses. Fold both bits and deal with the little bit of
fallout.
Also take the liberty and drop dead code trying to set REX_B: No segment
register has RegRex set on it.
Additionally I was quite surprised that PUSH/POP with the permitted
segment registers is not covered by the test cases. Add the missing
pieces.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 2d8a997..bdff6e4 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,17 @@ +2019-07-16 Jan Beulich <jbeulich@suse.com> + + * config/tc-i386.c (type_names): Replace SReg entries. + (pi, check_byte_reg, build_modrm_byte, i386_att_operand, + parse_real_register): Switch to using sreg field. + (process_operands): Likewise. Extend handling of PUSH/POP of + segment registers. Drop dead setting of REX_B. + * config/tc-i386-intel.c (i386_intel_simplify_register, + i386_intel_operand): Switch to using sreg field. + * testsuite/gas/i386/x86-64-opcode.s: Add PUSH/POP of %fs/%gs. + * testsuite/gas/i386/x86-64-opcode.d: Adjust expectations. + * testsuite/gas/i386/ilp32/x86-64-opcode.d: Use parent dir + expectations. + 2019-07-15 Jose E. Marchesi <jose.marchesi@oracle.com> * testsuite/gas/bpf/mem.s: ldabs instructions do not take a `src' |