aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-06-16 16:35:53 +0930
committerAlan Modra <amodra@gmail.com>2021-06-17 15:38:09 +0930
commit7993124ee29271697870824c3a626babc7d5ab85 (patch)
tree8cc4d2848147b2b122b09a2339ba054bcacbaa69
parent209f108f73888741bf31d03d35722b6e0b521ec8 (diff)
downloadgdb-7993124ee29271697870824c3a626babc7d5ab85.zip
gdb-7993124ee29271697870824c3a626babc7d5ab85.tar.gz
gdb-7993124ee29271697870824c3a626babc7d5ab85.tar.bz2
powerpc: move cell "or rx,rx,rx" hints
* ppc-opc.c (powerpc_opcodes): Move cell db*cyc to proper location in table.
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/ppc-opc.c10
2 files changed, 10 insertions, 5 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 6419ee8..8f4b976 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-17 Alan Modra <amodra@gmail.com>
+
+ * ppc-opc.c (powerpc_opcodes): Move cell db*cyc to proper location
+ in table.
+
2021-06-03 Alan Modra <amodra@gmail.com>
PR 1202
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index e0593c8..13d8b6c 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -7254,10 +7254,15 @@ const struct powerpc_opcode powerpc_opcodes[] = {
{"yield", 0x7f7bdb78, 0xffffffff, POWER7, EXT, {0}},
/* or 28,28,28 */
{"mdors", 0x7f9ce378, 0xffffffff, E500MC, EXT, {0}},
+{"db8cyc", 0x7f9ce378, 0xffffffff, CELL, EXT, {0}},
/* or 29,29,29 */
{"mdoio", 0x7fbdeb78, 0xffffffff, POWER7, EXT, {0}},
+{"db10cyc", 0x7fbdeb78, 0xffffffff, CELL, EXT, {0}},
/* or 30,30,30 */
{"mdoom", 0x7fdef378, 0xffffffff, POWER7, EXT, {0}},
+{"db12cyc", 0x7fdef378, 0xffffffff, CELL, EXT, {0}},
+/* or 31,31,31 */
+{"db16cyc", 0x7ffffb78, 0xffffffff, CELL, EXT, {0}},
{"mr", XRC(31,444,0), X_MASK, COM, EXT, {RA, RSB}},
{"or", XRC(31,444,0), X_MASK, COM, 0, {RA, RS, RB}},
@@ -8155,11 +8160,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {
{"dcbzep", XRT(31,1023,0), XRT_MASK, E500MC|PPCA2, 0, {RA0, RB}},
-{"db8cyc", 0x7f9ce378, 0xffffffff, CELL, 0, {0}},
-{"db10cyc", 0x7fbdeb78, 0xffffffff, CELL, 0, {0}},
-{"db12cyc", 0x7fdef378, 0xffffffff, CELL, 0, {0}},
-{"db16cyc", 0x7ffffb78, 0xffffffff, CELL, 0, {0}},
-
{"lwz", OP(32), OP_MASK, PPCCOM, PPCVLE, {RT, D, RA0}},
{"l", OP(32), OP_MASK, PWRCOM, PPCVLE, {RT, D, RA0}},