summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/rx-parse.y4
-rw-r--r--include/opcode/ChangeLog5
-rw-r--r--include/opcode/rx.h5
-rw-r--r--opcodes/ChangeLog7
-rw-r--r--opcodes/rx-decode.opc12
-rw-r--r--opcodes/rx-dis.c2
7 files changed, 24 insertions, 16 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6fd42b8c77..0efc8f2847 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-04 DJ Delorie <dj@redhat.com>
+
+ * config/rx-parse.y (MVTIPL): Update bit pattern.
+ (cpen): Remove.
+
2009-11-04 Daniel Jacobowitz <dan@codesourcery.com>
Maxim Kuvyrkov <maxim@codesourcery.com>
diff --git a/gas/config/rx-parse.y b/gas/config/rx-parse.y
index 0bcafc81af..0e1093a9d1 100644
--- a/gas/config/rx-parse.y
+++ b/gas/config/rx-parse.y
@@ -532,7 +532,7 @@ statement :
/* ---------------------------------------------------------------------- */
| MVTIPL '#' EXPR
- { B2 (0x7f, 0x98); FE ($3, 13, 3); }
+ { B3 (0x75, 0x70, 0x00); FE ($3, 20, 4); }
/* ---------------------------------------------------------------------- */
@@ -939,7 +939,7 @@ token_table[] =
{ "pc", CREG, 1 },
{ "usp", CREG, 2 },
{ "fpsw", CREG, 3 },
- { "cpen", CREG, 4 },
+ /* reserved */
/* reserved */
/* reserved */
{ "wr", CREG, 7 },
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index dacf3ee1c7..8bf077d146 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-04 DJ Delorie <dj@redhat.com>
+
+ * rx.h (rx_decode_opcode) (mvtipl): Add.
+ (mvtcp, mvfcp, opecp): Remove.
+
2009-11-02 Paul Brook <paul@codesourcery.com>
* arm.h (FPU_VFP_EXT_V3xD, FPU_VFP_EXT_FP16, FPU_NEON_EXT_FMA,
diff --git a/include/opcode/rx.h b/include/opcode/rx.h
index 7081ccce53..a1e6c45c77 100644
--- a/include/opcode/rx.h
+++ b/include/opcode/rx.h
@@ -139,10 +139,7 @@ typedef enum
RXO_clrpsw, /* flag index in d */
RXO_setpsw, /* flag index in d */
-
- RXO_mvtcp, /* cop# in s2, cop[d] = s */
- RXO_mvfcp, /* cop# in s2, d = cop[s] */
- RXO_opecp, /* cop# in s2, do cop[s] */
+ RXO_mvtipl, /* new IPL in s */
RXO_rtfi,
RXO_rte,
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 715cea50c9..2cfaf15e23 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,10 @@
+2009-11-04 DJ Delorie <dj@redhat.com>
+
+ * rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
+ (mvtcp, mvfcp, opecp): Remove.
+ * rx-decode.c: Regenerate.
+ * rx-dis.c (cpen): Remove.
+
2009-11-03 Doug Evans <dje@sebabeach.org>
* m32c-desc.c: Regenerate.
diff --git a/opcodes/rx-decode.opc b/opcodes/rx-decode.opc
index 8cf225234b..c5c34d68e2 100644
--- a/opcodes/rx-decode.opc
+++ b/opcodes/rx-decode.opc
@@ -920,6 +920,9 @@ rx_decode_opcode (unsigned long pc AU,
/** 0111 1111 1010 rdst setpsw %0 */
ID(setpsw); DF(rdst);
+/** 0111 0101 0111 0000 0000 immm mvtipl #%1 */
+ ID(mvtipl); SC(immm);
+
/** 0111 1110 111 crdst popc %0 */
ID(mov); OP(1, RX_Operand_Postinc, 0, 0); DR(crdst + 16);
@@ -935,15 +938,6 @@ rx_decode_opcode (unsigned long pc AU,
/** 1111 1101 0110 101s rsrc rdst mvfc %1, %0 */
ID(mov); SR((s*16+rsrc) + 16); DR(rdst);
-/*?* 1111 1101 1111 1010 01cp rsrc mvtcp #%2, %1, #%0 */
- ID(mvtcp); S2C(cp); SR(rsrc); DC (IMM (WSIZE));
-
-/*?* 1111 1101 1111 1011 01cp rdst mvfcp #%2, %0, #%1 */
- ID(mvfcp); S2C(cp); DR(rdst); SC (IMM (WSIZE));
-
-/*?* 1111 1101 1111 1001 01cp 0000 opecp #%2, #%1 */
- ID(opecp); S2C(cp); SC (IMM (WSIZE));
-
/*----------------------------------------------------------------------*/
/* INTERRUPTS */
diff --git a/opcodes/rx-dis.c b/opcodes/rx-dis.c
index 3413b1d8ec..8d5bb144a5 100644
--- a/opcodes/rx-dis.c
+++ b/opcodes/rx-dis.c
@@ -63,7 +63,7 @@ static char const * register_names[] =
"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7",
"r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15",
/* control register */
- "psw", "pc", "usp", "fpsw", "cpen", "", "", "wr",
+ "psw", "pc", "usp", "fpsw", "", "", "", "wr",
"bpsw", "bpc", "isp", "fintv", "intb", "", "", "",
"pbp", "pben", "", "", "", "", "", "",
"bbpsw", "bbpc", "", "", "", "", "", ""
OpenPOWER on IntegriCloud