diff options
author | Jan Beulich <jbeulich@novell.com> | 2019-06-25 09:41:33 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2019-06-25 09:41:33 +0200 |
commit | 2c70385689542a4c4cbe160601e54f9f18a4c4c5 (patch) | |
tree | 4e3fac1720511587ea3672d30794c14116a770b2 /binutils | |
parent | 4970191fa557c4769697fb41db06f2dcb5f7de2e (diff) | |
download | gdb-2c70385689542a4c4cbe160601e54f9f18a4c4c5.zip gdb-2c70385689542a4c4cbe160601e54f9f18a4c4c5.tar.gz gdb-2c70385689542a4c4cbe160601e54f9f18a4c4c5.tar.bz2 |
x86: correct / adjust debug printing
For quite some time we've been using combinations of bits for
specifying various registers in operands and templates. I think it was
Alan who had indicated that likely the debug printing would need
adjustment as a result. Here we go.
Accumulator handling for GPRs gets changed to match that for FPU regs.
For this to work, OPERAND_TYPE_ACC{32,64} get repurposed, with their
original uses replaced by direct checks of the two bits of interest,
which is cheaper than operand_type_equal() invocations.
For SIMD registers nothing similar appears to be needed, as respective
operands get stripped from the (copy of the) template before pt() is
reached.
The type change on pi() is to silence a compiler diagnostic. Arguably
its other parameter could also be const-qualified.
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions