powerpc: move cell "or rx,rx,rx" hints
authorAlan Modra <amodra@gmail.com>
Wed, 16 Jun 2021 07:05:53 +0000 (16:35 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 17 Jun 2021 06:08:09 +0000 (15:38 +0930)
* ppc-opc.c (powerpc_opcodes): Move cell db*cyc to proper location
in table.

opcodes/ChangeLog
opcodes/ppc-opc.c

index 6419ee83cc4f6ab24932e64c49988ac7d2df97f1..8f4b97683435d57ce134c18c3d6824cd9ad24e33 100644 (file)
@@ -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
index e0593c8e24e56041cdcd6aa872df77596cd826a7..13d8b6c3c07abd41391295b0244dbc56a9667972 100644 (file)
@@ -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}},