aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-05-07 11:35:22 +0930
committerAlan Modra <amodra@gmail.com>2018-05-08 22:28:44 +0930
commitf413a91378902aadbe4e338a6dc8f33f5f7148a0 (patch)
tree07530badfb8696ab6121104e32e5b3e4f9683eae /binutils
parent7785df4880f3828db8cf1715038127e6b858a670 (diff)
downloadgdb-f413a91378902aadbe4e338a6dc8f33f5f7148a0.zip
gdb-f413a91378902aadbe4e338a6dc8f33f5f7148a0.tar.gz
gdb-f413a91378902aadbe4e338a6dc8f33f5f7148a0.tar.bz2
Correct powerpc spe opcode lookup
Defining SPE2_OPCD_SEGS as 13 discounts the possibility that we'd ever look up spe2_opcd_indices[14..16], which I think is possible. Extend that array to size 16+1, using the macros we use to index the array. Similarly use the index macros for PPC_OPCD_SEGS and VLE_OPCD_SEGS. * ppc-dis.c (PPC_OPCD_SEGS): Define using PPC_OP. (VLE_OPCD_SEGS, SPE2_OPCD_SEGS): Similarly, using macros used to partition opcode space for index lookup.
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions