summaryrefslogtreecommitdiff
path: root/gdb/gdbcore.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-04-05 08:17:06 +0930
committerAlan Modra <amodra@gmail.com>2021-04-08 08:28:11 +0930
commit97bf40d859ffe44892b3ad2c62f011fd26fca699 (patch)
tree683ce48a3eb768ba21d6ad1127f5c12d597aa400 /gdb/gdbcore.h
parente97007b64a388ece1789f6c2cd51d2768e3b4829 (diff)
downloadbinutils-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/gdbcore.h')
0 files changed, 0 insertions, 0 deletions