PowerPC D-form prefixed loads and stores
authorPeter Bergner <bergner@linux.ibm.com>
Sat, 28 Jul 2018 03:21:43 +0000 (22:21 -0500)
committerAlan Modra <amodra@gmail.com>
Fri, 24 May 2019 00:57:49 +0000 (10:27 +0930)
commit8acf14351c818d956babe50e61711740f378c941
treea1a179effef4632b4a356563805fb404466ecc58
parentdd7efa79151ed5a56caccfac870865764d922a2f
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.
gas/ChangeLog
gas/config/tc-ppc.c
gas/messages.c
gas/testsuite/gas/ppc/ppc.exp
gas/testsuite/gas/ppc/prefix-pcrel.d [new file with mode: 0644]
gas/testsuite/gas/ppc/prefix-pcrel.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/ppc-opc.c
This page took 0.027054 seconds and 4 git commands to generate.