diff options
author | DJ Delorie <dj@redhat.com> | 2009-11-05 00:38:45 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2009-11-05 00:38:45 +0000 |
commit | 0d734b5d062af63d3043cabecaf28250db427cc9 (patch) | |
tree | f286cd066d773b34c5c9691590566c9803b2af1d | |
parent | f0b666055b4c91cf390cf35fe05d734da42d3684 (diff) | |
download | gdb-0d734b5d062af63d3043cabecaf28250db427cc9.zip gdb-0d734b5d062af63d3043cabecaf28250db427cc9.tar.gz gdb-0d734b5d062af63d3043cabecaf28250db427cc9.tar.bz2 |
[opcodes]
* rx-decode.opc (rx_decode_opcode) (mvtipl): Add.
(mvtcp, mvfcp, opecp): Remove.
* rx-decode.c: Regenerate.
* rx-dis.c (cpen): Remove.
[gas]
* config/rx-parse.y (MVTIPL): Update bit pattern.
(cpen): Remove.
[include/opcode]
* rx.h (rx_decode_opcode) (mvtipl): Add.
(mvtcp, mvfcp, opecp): Remove.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/rx-parse.y | 4 | ||||
-rw-r--r-- | include/opcode/ChangeLog | 5 | ||||
-rw-r--r-- | include/opcode/rx.h | 5 | ||||
-rw-r--r-- | opcodes/ChangeLog | 7 | ||||
-rw-r--r-- | opcodes/rx-decode.opc | 12 | ||||
-rw-r--r-- | opcodes/rx-dis.c | 2 |
7 files changed, 24 insertions, 16 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 6fd42b8..0efc8f2 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 0bcafc8..0e1093a 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 dacf3ee..8bf077d 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 7081ccc..a1e6c45 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 715cea5..2cfaf15 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 8cf2252..c5c34d6 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 3413b1d..8d5bb14 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", "", "", "", "", "", "" |