diff options
author | Peter Bergner <bergner@linux.ibm.com> | 2018-07-27 22:21:43 -0500 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-05-24 10:27:49 +0930 |
commit | 8acf14351c818d956babe50e61711740f378c941 (patch) | |
tree | a1a179effef4632b4a356563805fb404466ecc58 /bfd | |
parent | dd7efa79151ed5a56caccfac870865764d922a2f (diff) | |
download | fsf-binutils-gdb-8acf14351c818d956babe50e61711740f378c941.zip fsf-binutils-gdb-8acf14351c818d956babe50e61711740f378c941.tar.gz fsf-binutils-gdb-8acf14351c818d956babe50e61711740f378c941.tar.bz2 |
PowerPC D-form prefixed loads and stores
opcodes/
* ppc-opc.c (insert_d34, extract_d34, insert_nsi34, extract_nsi34),
(insert_pcrel, extract_pcrel, extract_pcrel0): New functions.
(extract_esync, extract_raq, extract_tbr, extract_sxl): Comment.
(powerpc_operands <D34, SI34, NSI34, PRA0, PRAQ, PCREL, PCREL0,
XTOP>): Define and add entries.
(P8LS, PMLS, P_D_MASK, P_DRAPCREL_MASK): Define.
(prefix_opcodes): Add pli, paddi, pla, psubi, plwz, plbz, pstw,
pstb, plhz, plha, psth, plfs, plfd, pstfs, pstfd, plq, plxsd,
plxssp, pld, plwa, pstxsd, pstxssp, pstxv, pstd, and pstq.
gas/
* config/tc-ppc.c (ppc_insert_operand): Only sign extend fields that
are 32-bits or smaller.
* messages.c (as_internal_value_out_of_range): Do not truncate
variables and use BFD_VMA_FMT to print them.
* testsuite/gas/ppc/prefix-pcrel.s,
* testsuite/gas/ppc/prefix-pcrel.d: New test.
* testsuite/gas/ppc/ppc.exp: Run it.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions