diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-01-24 00:55:13 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2016-01-24 01:01:15 +0000 |
commit | eb6b0cf45d7588eb147d90ce790254309a69613e (patch) | |
tree | 79defb43fd577f4641ccdb3011a8b54df3952f90 /gdb | |
parent | e67f83e590b8ce7a9912f665aa559cbc98c05de6 (diff) | |
download | binutils-eb6b0cf45d7588eb147d90ce790254309a69613e.zip binutils-eb6b0cf45d7588eb147d90ce790254309a69613e.tar.gz binutils-eb6b0cf45d7588eb147d90ce790254309a69613e.tar.bz2 |
MIPS/BFD: Simplify register index calculation in BZ16_REG_FIELD
Just mask higher bits off, which returns the same set of 3-bit register
encodings of { 0, 1, 2, 3, 4, 5, 6, 7 } for the allowed 5-bit encodings
of { 16, 17, 2, 3, 4, 5, 6, 7 }. Input has already been validated with
OP16_VALID_REG.
bfd/
* elfxx-mips.c (BZ16_REG_FIELD): Simplify calculation.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions