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 /opcodes/ChangeLog | |
parent | e97007b64a388ece1789f6c2cd51d2768e3b4829 (diff) | |
download | gdb-97bf40d859ffe44892b3ad2c62f011fd26fca699.zip gdb-97bf40d859ffe44892b3ad2c62f011fd26fca699.tar.gz gdb-97bf40d859ffe44892b3ad2c62f011fd26fca699.tar.bz2 |
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 'opcodes/ChangeLog')
-rw-r--r-- | opcodes/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 7a380dc..6ed8178 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,11 @@ +2021-04-08 Alan Modra <amodra@gmail.com> + + 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. + 2021-04-06 Alan Modra <amodra@gmail.com> * dis-buf.c (generic_symbol_at_address): Return symbol* NULL. |