diff options
author | Alan Modra <amodra@gmail.com> | 2021-04-05 08:17:06 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-04-08 08:28:11 +0930 |
commit | 97bf40d859ffe44892b3ad2c62f011fd26fca699 (patch) | |
tree | 683ce48a3eb768ba21d6ad1127f5c12d597aa400 /gdb/typeprint.c | |
parent | e97007b64a388ece1789f6c2cd51d2768e3b4829 (diff) | |
download | binutils-gdb-97bf40d859ffe44892b3ad2c62f011fd26fca699.tar.gz |
PR27676, PowerPC missing extended dcbt, dcbtst mnemonics
Note that this doesn't implement the ISA to the letter regarding
dcbtds (and dcbtstds), which says that the TH field may be zero. That
doesn't make sense because allowing TH=0 would mean you no long have a
dcbtds but rather a dcbtct instruction. I'm interpreting the ISA
wording about allowing TH=0 to mean that the TH field of dcbtds is
optional (in which case the TH value is 0b1000).
opcodes/
PR 27676
* ppc-opc.c (DCBT_EO): Move earlier.
(insert_thct, extract_thct, insert_thds, extract_thds): New functions.
(powerpc_operands): Add THCT and THDS entries.
(powerpc_opcodes): Add dcbtstct, dcbtstds, dcbna, dcbtct, dcbtds.
gas/
* testsuite/gas/ppc/pr27676.d,
* testsuite/gas/ppc/pr27676.s: New test.
* testsuite/gas/ppc/ppc.exp: Run it.
* testsuite/gas/ppc/dcbt.d: Update.
* testsuite/gas/ppc/power4_32.d: Update.
Diffstat (limited to 'gdb/typeprint.c')
0 files changed, 0 insertions, 0 deletions