diff options
author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2019-01-06 00:06:49 +0900 |
---|---|---|
committer | Yoshinori Sato <ysato@users.sourceforge.jp> | 2019-01-13 01:30:34 +0900 |
commit | 4ce8c66d19abec8a768add7f6102e856157a3952 (patch) | |
tree | 7916922b4b643268e14c8d5536e0acfe826e4d41 /opcodes | |
parent | 60a90376792474224f3d22b1d9813844a3b3589a (diff) | |
download | gdb-4ce8c66d19abec8a768add7f6102e856157a3952.zip gdb-4ce8c66d19abec8a768add7f6102e856157a3952.tar.gz gdb-4ce8c66d19abec8a768add7f6102e856157a3952.tar.bz2 |
Add RXv3 instructions.
* rx-decode.opc (DSIZE): New. double size.
(_ld): New. dmov size attribute.
(PSCALE): Add double size.
(DCR, DDR, DDRH, DDRL, DCND): New. Double FPU registers.
(SCR, SDR, SDRH, SDRL): Likewise.
(S2DR, S2CR): Likewise.
(SDD): New. double displacement.
(DL): New. Set dmov size attribute.
(rx_decode_opcode): Add RXv3 instructions.
* rx-decode.c: Regenerate.
* rx-dis.c (size_names): Add double entry.
(opsize_names): Likewise.
(double_register_names): New. Double FPU registers.
(double_register_high_names): Likewise.
(double_register_low_names): Likewise.
(double_register_control_names): Likewise.
(double_condition_names): dcmp condition.
(print_insn_rx): Add bfmov / bfmovz output.
Add double FPU output.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/rx-decode.c | 6785 | ||||
-rw-r--r-- | opcodes/rx-decode.opc | 162 | ||||
-rw-r--r-- | opcodes/rx-dis.c | 64 |
3 files changed, 5442 insertions, 1569 deletions
diff --git a/opcodes/rx-decode.c b/opcodes/rx-decode.c index 3ffc69f..6c1e1bd 100644 --- a/opcodes/rx-decode.c +++ b/opcodes/rx-decode.c @@ -45,6 +45,7 @@ static int trace = 0; #define BSIZE 0 #define WSIZE 1 #define LSIZE 2 +#define DSIZE 3 /* These are for when the upper bits are "don't care" or "undefined". */ static int bwl[4] = @@ -79,6 +80,12 @@ static int memex[4] = RX_UWord }; +static int _ld[2] = +{ + RX_Long, + RX_Double +}; + #define ID(x) rx->id = RXO_##x #define OP(n,t,r,a) (rx->op[n].type = t, \ rx->op[n].reg = r, \ @@ -89,7 +96,7 @@ static int memex[4] = /* This is for the BWL and BW bitfields. */ static int SCALE[] = { 1, 2, 4, 0 }; /* This is for the prefix size enum. */ -static int PSCALE[] = { 4, 1, 1, 1, 2, 2, 2, 3, 4 }; +static int PSCALE[] = { 4, 1, 1, 1, 2, 2, 2, 3, 4, 8 }; #define GET_SCALE(_indx) ((unsigned)(_indx) < ARRAY_SIZE (SCALE) ? SCALE[(_indx)] : 0) #define GET_PSCALE(_indx) ((unsigned)(_indx) < ARRAY_SIZE (PSCALE) ? PSCALE[(_indx)] : 0) @@ -115,6 +122,11 @@ static int dsp3map[] = { 8, 9, 10, 3, 4, 5, 6, 7 }; #define DIs(r,a,s) OP (0, RX_Operand_Indirect, r, (a) * GET_SCALE (s)) #define DD(t,r,s) rx_disp (0, t, r, bwl[s], ld); #define DF(r) OP (0, RX_Operand_Flag, flagmap[r], 0) +#define DCR(r) OP (0, RX_Operand_DoubleCReg, r, 0) +#define DDR(r) OP (0, RX_Operand_DoubleReg, r, 0) +#define DDRH(r) OP (0, RX_Operand_DoubleRegH, r, 0) +#define DDRL(r) OP (0, RX_Operand_DoubleRegL, r, 0) +#define DCND(r) OP (0, RX_Operand_DoubleCond, r, 0) #define SC(i) OP (1, RX_Operand_Immediate, 0, i) #define SR(r) OP (1, RX_Operand_Register, r, 0) @@ -125,6 +137,10 @@ static int dsp3map[] = { 8, 9, 10, 3, 4, 5, 6, 7 }; #define SP(t,r) rx_disp (1, t, r, (t!=3) ? RX_UByte : RX_Long, ld); P(t, 1); #define SPm(t,r,m) rx_disp (1, t, r, memex[m], ld); rx->op[1].size = memex[m]; #define Scc(cc) OP (1, RX_Operand_Condition, cc, 0) +#define SCR(r) OP (1, RX_Operand_DoubleCReg, r, 0) +#define SDR(r) OP (1, RX_Operand_DoubleReg, r, 0) +#define SDRH(r) OP (1, RX_Operand_DoubleRegH, r, 0) +#define SDRL(r) OP (1, RX_Operand_DoubleRegL, r, 0) #define S2C(i) OP (2, RX_Operand_Immediate, 0, i) #define S2R(r) OP (2, RX_Operand_Register, r, 0) @@ -134,11 +150,16 @@ static int dsp3map[] = { 8, 9, 10, 3, 4, 5, 6, 7 }; #define S2P(t,r) rx_disp (2, t, r, (t!=3) ? RX_UByte : RX_Long, ld); P(t, 2); #define S2Pm(t,r,m) rx_disp (2, t, r, memex[m], ld); rx->op[2].size = memex[m]; #define S2cc(cc) OP (2, RX_Operand_Condition, cc, 0) +#define S2DR(r) OP (2, RX_Operand_DoubleReg, r, 0) +#define S2CR(r) OP (2, RX_Operand_DoubleCReg, r, 0) + +#define SDD(t,r,s) rx_disp (1, t, r, bwl, ld); #define BWL(sz) rx->op[0].size = rx->op[1].size = rx->op[2].size = rx->size = bwl[sz] #define sBWL(sz) rx->op[0].size = rx->op[1].size = rx->op[2].size = rx->size = sbwl[sz] #define uBW(sz) rx->op[0].size = rx->op[1].size = rx->op[2].size = rx->size = ubw[sz] #define P(t, n) rx->op[n].size = (t!=3) ? RX_UByte : RX_Long; +#define DL(sz) rx->op[0].size = rx->op[1].size = rx->op[2].size = rx->size = _ld[sz] #define F(f) store_flags(rx, f) @@ -299,7 +320,7 @@ rx_decode_opcode (unsigned long pc AU, op[0]); } SYNTAX("brk"); -#line 1029 "rx-decode.opc" +#line 1050 "rx-decode.opc" ID(brk); } @@ -314,7 +335,7 @@ rx_decode_opcode (unsigned long pc AU, op[0]); } SYNTAX("dbt"); -#line 1032 "rx-decode.opc" +#line 1053 "rx-decode.opc" ID(dbt); } @@ -329,7 +350,7 @@ rx_decode_opcode (unsigned long pc AU, op[0]); } SYNTAX("rts"); -#line 810 "rx-decode.opc" +#line 831 "rx-decode.opc" ID(rts); /*----------------------------------------------------------------------*/ @@ -347,7 +368,7 @@ rx_decode_opcode (unsigned long pc AU, op[0]); } SYNTAX("nop"); -#line 816 "rx-decode.opc" +#line 837 "rx-decode.opc" ID(nop); /*----------------------------------------------------------------------*/ @@ -365,7 +386,7 @@ rx_decode_opcode (unsigned long pc AU, op[0]); } SYNTAX("bra.a %a0"); -#line 788 "rx-decode.opc" +#line 809 "rx-decode.opc" ID(branch); DC(pc + IMMex(3)); } @@ -380,7 +401,7 @@ rx_decode_opcode (unsigned long pc AU, op[0]); } SYNTAX("bsr.a %a0"); -#line 804 "rx-decode.opc" +#line 825 "rx-decode.opc" ID(jsr); DC(pc + IMMex(3)); } @@ -397,13 +418,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_1: { /** 0000 0110 mx00 00ss rsrc rdst sub %2%S2, %1 */ -#line 546 "rx-decode.opc" +#line 567 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 546 "rx-decode.opc" +#line 567 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 546 "rx-decode.opc" +#line 567 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 546 "rx-decode.opc" +#line 567 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -416,7 +437,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("sub %2%S2, %1"); -#line 546 "rx-decode.opc" +#line 567 "rx-decode.opc" ID(sub); S2Pm(ss, rsrc, mx); SR(rdst); DR(rdst); F_OSZC; } @@ -458,13 +479,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_2: { /** 0000 0110 mx00 01ss rsrc rdst cmp %2%S2, %1 */ -#line 534 "rx-decode.opc" +#line 555 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 534 "rx-decode.opc" +#line 555 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 534 "rx-decode.opc" +#line 555 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 534 "rx-decode.opc" +#line 555 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -477,7 +498,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("cmp %2%S2, %1"); -#line 534 "rx-decode.opc" +#line 555 "rx-decode.opc" ID(sub); S2Pm(ss, rsrc, mx); SR(rdst); F_OSZC; /*----------------------------------------------------------------------*/ @@ -522,13 +543,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_3: { /** 0000 0110 mx00 10ss rsrc rdst add %1%S1, %0 */ -#line 510 "rx-decode.opc" +#line 531 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 510 "rx-decode.opc" +#line 531 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 510 "rx-decode.opc" +#line 531 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 510 "rx-decode.opc" +#line 531 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -541,7 +562,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("add %1%S1, %0"); -#line 510 "rx-decode.opc" +#line 531 "rx-decode.opc" ID(add); SPm(ss, rsrc, mx); DR(rdst); F_OSZC; } @@ -583,13 +604,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_4: { /** 0000 0110 mx00 11ss rsrc rdst mul %1%S1, %0 */ -#line 653 "rx-decode.opc" +#line 674 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 653 "rx-decode.opc" +#line 674 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 653 "rx-decode.opc" +#line 674 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 653 "rx-decode.opc" +#line 674 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -602,7 +623,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mul %1%S1, %0"); -#line 653 "rx-decode.opc" +#line 674 "rx-decode.opc" ID(mul); SPm(ss, rsrc, mx); DR(rdst); F_____; } @@ -644,13 +665,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_5: { /** 0000 0110 mx01 00ss rsrc rdst and %1%S1, %0 */ -#line 423 "rx-decode.opc" +#line 444 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 423 "rx-decode.opc" +#line 444 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 423 "rx-decode.opc" +#line 444 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 423 "rx-decode.opc" +#line 444 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -663,7 +684,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("and %1%S1, %0"); -#line 423 "rx-decode.opc" +#line 444 "rx-decode.opc" ID(and); SPm(ss, rsrc, mx); DR(rdst); F__SZ_; } @@ -705,13 +726,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_6: { /** 0000 0110 mx01 01ss rsrc rdst or %1%S1, %0 */ -#line 441 "rx-decode.opc" +#line 462 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 441 "rx-decode.opc" +#line 462 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 441 "rx-decode.opc" +#line 462 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 441 "rx-decode.opc" +#line 462 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -724,7 +745,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("or %1%S1, %0"); -#line 441 "rx-decode.opc" +#line 462 "rx-decode.opc" ID(or); SPm(ss, rsrc, mx); DR(rdst); F__SZ_; } @@ -770,13 +791,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_7: { /** 0000 0110 mx10 00sp 0000 0000 rsrc rdst sbb %1%S1, %0 */ -#line 559 "rx-decode.opc" +#line 580 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 559 "rx-decode.opc" +#line 580 "rx-decode.opc" int sp AU = op[1] & 0x03; -#line 559 "rx-decode.opc" +#line 580 "rx-decode.opc" int rsrc AU = (op[3] >> 4) & 0x0f; -#line 559 "rx-decode.opc" +#line 580 "rx-decode.opc" int rdst AU = op[3] & 0x0f; if (trace) { @@ -789,7 +810,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("sbb %1%S1, %0"); -#line 559 "rx-decode.opc" +#line 580 "rx-decode.opc" ID(sbb); SPm(sp, rsrc, mx); DR(rdst); F_OSZC; /*----------------------------------------------------------------------*/ @@ -807,13 +828,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_8: { /** 0000 0110 mx10 00ss 0000 0100 rsrc rdst max %1%S1, %0 */ -#line 598 "rx-decode.opc" +#line 619 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 598 "rx-decode.opc" +#line 619 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 598 "rx-decode.opc" +#line 619 "rx-decode.opc" int rsrc AU = (op[3] >> 4) & 0x0f; -#line 598 "rx-decode.opc" +#line 619 "rx-decode.opc" int rdst AU = op[3] & 0x0f; if (trace) { @@ -826,7 +847,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("max %1%S1, %0"); -#line 598 "rx-decode.opc" +#line 619 "rx-decode.opc" ID(max); SPm(ss, rsrc, mx); DR(rdst); /*----------------------------------------------------------------------*/ @@ -844,13 +865,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_9: { /** 0000 0110 mx10 00ss 0000 0101 rsrc rdst min %1%S1, %0 */ -#line 610 "rx-decode.opc" +#line 631 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 610 "rx-decode.opc" +#line 631 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 610 "rx-decode.opc" +#line 631 "rx-decode.opc" int rsrc AU = (op[3] >> 4) & 0x0f; -#line 610 "rx-decode.opc" +#line 631 "rx-decode.opc" int rdst AU = op[3] & 0x0f; if (trace) { @@ -863,7 +884,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("min %1%S1, %0"); -#line 610 "rx-decode.opc" +#line 631 "rx-decode.opc" ID(min); SPm(ss, rsrc, mx); DR(rdst); /*----------------------------------------------------------------------*/ @@ -881,13 +902,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_10: { /** 0000 0110 mx10 00ss 0000 0110 rsrc rdst emul %1%S1, %0 */ -#line 668 "rx-decode.opc" +#line 689 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 668 "rx-decode.opc" +#line 689 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 668 "rx-decode.opc" +#line 689 "rx-decode.opc" int rsrc AU = (op[3] >> 4) & 0x0f; -#line 668 "rx-decode.opc" +#line 689 "rx-decode.opc" int rdst AU = op[3] & 0x0f; if (trace) { @@ -900,7 +921,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("emul %1%S1, %0"); -#line 668 "rx-decode.opc" +#line 689 "rx-decode.opc" ID(emul); SPm(ss, rsrc, mx); DR(rdst); /*----------------------------------------------------------------------*/ @@ -918,13 +939,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_11: { /** 0000 0110 mx10 00ss 0000 0111 rsrc rdst emulu %1%S1, %0 */ -#line 680 "rx-decode.opc" +#line 701 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 680 "rx-decode.opc" +#line 701 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 680 "rx-decode.opc" +#line 701 "rx-decode.opc" int rsrc AU = (op[3] >> 4) & 0x0f; -#line 680 "rx-decode.opc" +#line 701 "rx-decode.opc" int rdst AU = op[3] & 0x0f; if (trace) { @@ -937,7 +958,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("emulu %1%S1, %0"); -#line 680 "rx-decode.opc" +#line 701 "rx-decode.opc" ID(emulu); SPm(ss, rsrc, mx); DR(rdst); /*----------------------------------------------------------------------*/ @@ -955,13 +976,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_12: { /** 0000 0110 mx10 00ss 0000 1000 rsrc rdst div %1%S1, %0 */ -#line 692 "rx-decode.opc" +#line 713 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 692 "rx-decode.opc" +#line 713 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 692 "rx-decode.opc" +#line 713 "rx-decode.opc" int rsrc AU = (op[3] >> 4) & 0x0f; -#line 692 "rx-decode.opc" +#line 713 "rx-decode.opc" int rdst AU = op[3] & 0x0f; if (trace) { @@ -974,7 +995,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("div %1%S1, %0"); -#line 692 "rx-decode.opc" +#line 713 "rx-decode.opc" ID(div); SPm(ss, rsrc, mx); DR(rdst); F_O___; /*----------------------------------------------------------------------*/ @@ -992,13 +1013,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_13: { /** 0000 0110 mx10 00ss 0000 1001 rsrc rdst divu %1%S1, %0 */ -#line 704 "rx-decode.opc" +#line 725 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 704 "rx-decode.opc" +#line 725 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 704 "rx-decode.opc" +#line 725 "rx-decode.opc" int rsrc AU = (op[3] >> 4) & 0x0f; -#line 704 "rx-decode.opc" +#line 725 "rx-decode.opc" int rdst AU = op[3] & 0x0f; if (trace) { @@ -1011,7 +1032,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("divu %1%S1, %0"); -#line 704 "rx-decode.opc" +#line 725 "rx-decode.opc" ID(divu); SPm(ss, rsrc, mx); DR(rdst); F_O___; /*----------------------------------------------------------------------*/ @@ -1029,13 +1050,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_14: { /** 0000 0110 mx10 00ss 0000 1100 rsrc rdst tst %1%S1, %2 */ -#line 477 "rx-decode.opc" +#line 498 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 477 "rx-decode.opc" +#line 498 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 477 "rx-decode.opc" +#line 498 "rx-decode.opc" int rsrc AU = (op[3] >> 4) & 0x0f; -#line 477 "rx-decode.opc" +#line 498 "rx-decode.opc" int rdst AU = op[3] & 0x0f; if (trace) { @@ -1048,7 +1069,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("tst %1%S1, %2"); -#line 477 "rx-decode.opc" +#line 498 "rx-decode.opc" ID(and); SPm(ss, rsrc, mx); S2R(rdst); F__SZ_; /*----------------------------------------------------------------------*/ @@ -1066,13 +1087,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_15: { /** 0000 0110 mx10 00ss 0000 1101 rsrc rdst xor %1%S1, %0 */ -#line 456 "rx-decode.opc" +#line 477 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 456 "rx-decode.opc" +#line 477 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 456 "rx-decode.opc" +#line 477 "rx-decode.opc" int rsrc AU = (op[3] >> 4) & 0x0f; -#line 456 "rx-decode.opc" +#line 477 "rx-decode.opc" int rdst AU = op[3] & 0x0f; if (trace) { @@ -1085,7 +1106,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("xor %1%S1, %0"); -#line 456 "rx-decode.opc" +#line 477 "rx-decode.opc" ID(xor); SPm(ss, rsrc, mx); DR(rdst); F__SZ_; /*----------------------------------------------------------------------*/ @@ -1103,13 +1124,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_16: { /** 0000 0110 mx10 00ss 0001 0000 rsrc rdst xchg %1%S1, %0 */ -#line 390 "rx-decode.opc" +#line 411 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 390 "rx-decode.opc" +#line 411 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 390 "rx-decode.opc" +#line 411 "rx-decode.opc" int rsrc AU = (op[3] >> 4) & 0x0f; -#line 390 "rx-decode.opc" +#line 411 "rx-decode.opc" int rdst AU = op[3] & 0x0f; if (trace) { @@ -1122,7 +1143,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("xchg %1%S1, %0"); -#line 390 "rx-decode.opc" +#line 411 "rx-decode.opc" ID(xchg); DR(rdst); SPm(ss, rsrc, mx); /*----------------------------------------------------------------------*/ @@ -1140,13 +1161,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_17: { /** 0000 0110 mx10 00sd 0001 0001 rsrc rdst itof %1%S1, %0 */ -#line 933 "rx-decode.opc" +#line 954 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 933 "rx-decode.opc" +#line 954 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 933 "rx-decode.opc" +#line 954 "rx-decode.opc" int rsrc AU = (op[3] >> 4) & 0x0f; -#line 933 "rx-decode.opc" +#line 954 "rx-decode.opc" int rdst AU = op[3] & 0x0f; if (trace) { @@ -1159,7 +1180,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("itof %1%S1, %0"); -#line 933 "rx-decode.opc" +#line 954 "rx-decode.opc" ID(itof); DR (rdst); SPm(sd, rsrc, mx); F__SZ_; /*----------------------------------------------------------------------*/ @@ -1177,13 +1198,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_18: { /** 0000 0110 mx10 00sd 0001 0101 rsrc rdst utof %1%S1, %0 */ -#line 1119 "rx-decode.opc" +#line 1140 "rx-decode.opc" int mx AU = (op[1] >> 6) & 0x03; -#line 1119 "rx-decode.opc" +#line 1140 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 1119 "rx-decode.opc" +#line 1140 "rx-decode.opc" int rsrc AU = (op[3] >> 4) & 0x0f; -#line 1119 "rx-decode.opc" +#line 1140 "rx-decode.opc" int rdst AU = op[3] & 0x0f; if (trace) { @@ -1196,9 +1217,12 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("utof %1%S1, %0"); -#line 1119 "rx-decode.opc" +#line 1140 "rx-decode.opc" ID(utof); DR (rdst); SPm(sd, rsrc, mx); F__SZ_; + /*----------------------------------------------------------------------*/ + /* RXv3 enhanced */ + } break; } @@ -2464,11 +2488,11 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_19: { /** 0000 0110 1010 00ss 0000 0010 rsrc rdst adc %1%S1, %0 */ -#line 498 "rx-decode.opc" +#line 519 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 498 "rx-decode.opc" +#line 519 "rx-decode.opc" int rsrc AU = (op[3] >> 4) & 0x0f; -#line 498 "rx-decode.opc" +#line 519 "rx-decode.opc" int rdst AU = op[3] & 0x0f; if (trace) { @@ -2480,7 +2504,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("adc %1%S1, %0"); -#line 498 "rx-decode.opc" +#line 519 "rx-decode.opc" ID(adc); SPm(ss, rsrc, 2); DR(rdst); F_OSZC; /*----------------------------------------------------------------------*/ @@ -3653,7 +3677,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x0f: { /** 0000 1dsp bra.s %a0 */ -#line 779 "rx-decode.opc" +#line 800 "rx-decode.opc" int dsp AU = op[0] & 0x07; if (trace) { @@ -3663,7 +3687,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" dsp = 0x%x\n", dsp); } SYNTAX("bra.s %a0"); -#line 779 "rx-decode.opc" +#line 800 "rx-decode.opc" ID(branch); DC(pc + dsp3map[dsp]); } @@ -3686,9 +3710,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x1f: { /** 0001 n dsp b%1.s %a0 */ -#line 769 "rx-decode.opc" +#line 790 "rx-decode.opc" int n AU = (op[0] >> 3) & 0x01; -#line 769 "rx-decode.opc" +#line 790 "rx-decode.opc" int dsp AU = op[0] & 0x07; if (trace) { @@ -3699,7 +3723,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" dsp = 0x%x\n", dsp); } SYNTAX("b%1.s %a0"); -#line 769 "rx-decode.opc" +#line 790 "rx-decode.opc" ID(branch); Scc(n); DC(pc + dsp3map[dsp]); } @@ -3721,7 +3745,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x2f: { /** 0010 cond b%1.b %a0 */ -#line 772 "rx-decode.opc" +#line 793 "rx-decode.opc" int cond AU = op[0] & 0x0f; if (trace) { @@ -3731,7 +3755,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" cond = 0x%x\n", cond); } SYNTAX("b%1.b %a0"); -#line 772 "rx-decode.opc" +#line 793 "rx-decode.opc" ID(branch); Scc(cond); DC(pc + IMMex (1)); } @@ -3746,7 +3770,7 @@ rx_decode_opcode (unsigned long pc AU, op[0]); } SYNTAX("bra.b %a0"); -#line 782 "rx-decode.opc" +#line 803 "rx-decode.opc" ID(branch); DC(pc + IMMex(1)); } @@ -3761,7 +3785,7 @@ rx_decode_opcode (unsigned long pc AU, op[0]); } SYNTAX("bra.w %a0"); -#line 785 "rx-decode.opc" +#line 806 "rx-decode.opc" ID(branch); DC(pc + IMMex(2)); } @@ -3776,7 +3800,7 @@ rx_decode_opcode (unsigned long pc AU, op[0]); } SYNTAX("bsr.w %a0"); -#line 801 "rx-decode.opc" +#line 822 "rx-decode.opc" ID(jsr); DC(pc + IMMex(2)); } @@ -3785,7 +3809,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x3b: { /** 0011 101c b%1.w %a0 */ -#line 775 "rx-decode.opc" +#line 796 "rx-decode.opc" int c AU = op[0] & 0x01; if (trace) { @@ -3795,7 +3819,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" c = 0x%x\n", c); } SYNTAX("b%1.w %a0"); -#line 775 "rx-decode.opc" +#line 796 "rx-decode.opc" ID(branch); Scc(c); DC(pc + IMMex (2)); @@ -3809,13 +3833,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_20: { /** 0011 11sz d dst sppp mov%s #%1, %0 */ -#line 311 "rx-decode.opc" +#line 332 "rx-decode.opc" int sz AU = op[0] & 0x03; -#line 311 "rx-decode.opc" +#line 332 "rx-decode.opc" int d AU = (op[1] >> 7) & 0x01; -#line 311 "rx-decode.opc" +#line 332 "rx-decode.opc" int dst AU = (op[1] >> 4) & 0x07; -#line 311 "rx-decode.opc" +#line 332 "rx-decode.opc" int sppp AU = op[1] & 0x0f; if (trace) { @@ -3828,7 +3852,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" sppp = 0x%x\n", sppp); } SYNTAX("mov%s #%1, %0"); -#line 311 "rx-decode.opc" +#line 332 "rx-decode.opc" ID(mov); sBWL (sz); DIs(dst, d*16+sppp, sz); SC(IMM(1)); F_____; } @@ -3860,9 +3884,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 0011 1111 rega regb rtsd #%1, %2-%0 */ -#line 408 "rx-decode.opc" +#line 429 "rx-decode.opc" int rega AU = (op[1] >> 4) & 0x0f; -#line 408 "rx-decode.opc" +#line 429 "rx-decode.opc" int regb AU = op[1] & 0x0f; if (trace) { @@ -3873,7 +3897,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" regb = 0x%x\n", regb); } SYNTAX("rtsd #%1, %2-%0"); -#line 408 "rx-decode.opc" +#line 429 "rx-decode.opc" ID(rtsd); SC(IMM(1) * 4); S2R(rega); DR(regb); /*----------------------------------------------------------------------*/ @@ -3891,11 +3915,11 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_21: { /** 0100 00ss rsrc rdst sub %2%S2, %1 */ -#line 543 "rx-decode.opc" +#line 564 "rx-decode.opc" int ss AU = op[0] & 0x03; -#line 543 "rx-decode.opc" +#line 564 "rx-decode.opc" int rsrc AU = (op[1] >> 4) & 0x0f; -#line 543 "rx-decode.opc" +#line 564 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -3907,7 +3931,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("sub %2%S2, %1"); -#line 543 "rx-decode.opc" +#line 564 "rx-decode.opc" ID(sub); S2P(ss, rsrc); SR(rdst); DR(rdst); F_OSZC; } @@ -3949,11 +3973,11 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_22: { /** 0100 01ss rsrc rdst cmp %2%S2, %1 */ -#line 531 "rx-decode.opc" +#line 552 "rx-decode.opc" int ss AU = op[0] & 0x03; -#line 531 "rx-decode.opc" +#line 552 "rx-decode.opc" int rsrc AU = (op[1] >> 4) & 0x0f; -#line 531 "rx-decode.opc" +#line 552 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -3965,7 +3989,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("cmp %2%S2, %1"); -#line 531 "rx-decode.opc" +#line 552 "rx-decode.opc" ID(sub); S2P(ss, rsrc); SR(rdst); F_OSZC; } @@ -4007,11 +4031,11 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_23: { /** 0100 10ss rsrc rdst add %1%S1, %0 */ -#line 507 "rx-decode.opc" +#line 528 "rx-decode.opc" int ss AU = op[0] & 0x03; -#line 507 "rx-decode.opc" +#line 528 "rx-decode.opc" int rsrc AU = (op[1] >> 4) & 0x0f; -#line 507 "rx-decode.opc" +#line 528 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4023,7 +4047,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("add %1%S1, %0"); -#line 507 "rx-decode.opc" +#line 528 "rx-decode.opc" ID(add); SP(ss, rsrc); DR(rdst); F_OSZC; } @@ -4065,11 +4089,11 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_24: { /** 0100 11ss rsrc rdst mul %1%S1, %0 */ -#line 650 "rx-decode.opc" +#line 671 "rx-decode.opc" int ss AU = op[0] & 0x03; -#line 650 "rx-decode.opc" +#line 671 "rx-decode.opc" int rsrc AU = (op[1] >> 4) & 0x0f; -#line 650 "rx-decode.opc" +#line 671 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4081,7 +4105,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mul %1%S1, %0"); -#line 650 "rx-decode.opc" +#line 671 "rx-decode.opc" ID(mul); SP(ss, rsrc); DR(rdst); F_____; } @@ -4123,11 +4147,11 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_25: { /** 0101 00ss rsrc rdst and %1%S1, %0 */ -#line 420 "rx-decode.opc" +#line 441 "rx-decode.opc" int ss AU = op[0] & 0x03; -#line 420 "rx-decode.opc" +#line 441 "rx-decode.opc" int rsrc AU = (op[1] >> 4) & 0x0f; -#line 420 "rx-decode.opc" +#line 441 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4139,7 +4163,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("and %1%S1, %0"); -#line 420 "rx-decode.opc" +#line 441 "rx-decode.opc" ID(and); SP(ss, rsrc); DR(rdst); F__SZ_; } @@ -4181,11 +4205,11 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_26: { /** 0101 01ss rsrc rdst or %1%S1, %0 */ -#line 438 "rx-decode.opc" +#line 459 "rx-decode.opc" int ss AU = op[0] & 0x03; -#line 438 "rx-decode.opc" +#line 459 "rx-decode.opc" int rsrc AU = (op[1] >> 4) & 0x0f; -#line 438 "rx-decode.opc" +#line 459 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4197,7 +4221,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("or %1%S1, %0"); -#line 438 "rx-decode.opc" +#line 459 "rx-decode.opc" ID(or); SP(ss, rsrc); DR(rdst); F__SZ_; } @@ -4239,13 +4263,13 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_27: { /** 0101 1 s ss rsrc rdst movu%s %1, %0 */ -#line 359 "rx-decode.opc" +#line 380 "rx-decode.opc" int s AU = (op[0] >> 2) & 0x01; -#line 359 "rx-decode.opc" +#line 380 "rx-decode.opc" int ss AU = op[0] & 0x03; -#line 359 "rx-decode.opc" +#line 380 "rx-decode.opc" int rsrc AU = (op[1] >> 4) & 0x0f; -#line 359 "rx-decode.opc" +#line 380 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4258,7 +4282,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("movu%s %1, %0"); -#line 359 "rx-decode.opc" +#line 380 "rx-decode.opc" ID(mov); uBW(s); SD(ss, rsrc, s); DR(rdst); F_____; } @@ -4335,9 +4359,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 0110 0000 immm rdst sub #%2, %0 */ -#line 540 "rx-decode.opc" +#line 561 "rx-decode.opc" int immm AU = (op[1] >> 4) & 0x0f; -#line 540 "rx-decode.opc" +#line 561 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4348,7 +4372,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("sub #%2, %0"); -#line 540 "rx-decode.opc" +#line 561 "rx-decode.opc" ID(sub); S2C(immm); SR(rdst); DR(rdst); F_OSZC; } @@ -4362,9 +4386,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 0110 0001 immm rdst cmp #%2, %1 */ -#line 522 "rx-decode.opc" +#line 543 "rx-decode.opc" int immm AU = (op[1] >> 4) & 0x0f; -#line 522 "rx-decode.opc" +#line 543 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4375,7 +4399,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("cmp #%2, %1"); -#line 522 "rx-decode.opc" +#line 543 "rx-decode.opc" ID(sub); S2C(immm); SR(rdst); F_OSZC; } @@ -4389,9 +4413,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 0110 0010 immm rdst add #%1, %0 */ -#line 504 "rx-decode.opc" +#line 525 "rx-decode.opc" int immm AU = (op[1] >> 4) & 0x0f; -#line 504 "rx-decode.opc" +#line 525 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4402,7 +4426,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("add #%1, %0"); -#line 504 "rx-decode.opc" +#line 525 "rx-decode.opc" ID(add); SC(immm); DR(rdst); F_OSZC; } @@ -4416,9 +4440,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 0110 0011 immm rdst mul #%1, %0 */ -#line 616 "rx-decode.opc" +#line 637 "rx-decode.opc" int immm AU = (op[1] >> 4) & 0x0f; -#line 616 "rx-decode.opc" +#line 637 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4429,7 +4453,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mul #%1, %0"); -#line 616 "rx-decode.opc" +#line 637 "rx-decode.opc" if (immm == 1 && rdst == 0) { ID(nop2); @@ -4452,9 +4476,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 0110 0100 immm rdst and #%1, %0 */ -#line 414 "rx-decode.opc" +#line 435 "rx-decode.opc" int immm AU = (op[1] >> 4) & 0x0f; -#line 414 "rx-decode.opc" +#line 435 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4465,7 +4489,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("and #%1, %0"); -#line 414 "rx-decode.opc" +#line 435 "rx-decode.opc" ID(and); SC(immm); DR(rdst); F__SZ_; } @@ -4479,9 +4503,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 0110 0101 immm rdst or #%1, %0 */ -#line 432 "rx-decode.opc" +#line 453 "rx-decode.opc" int immm AU = (op[1] >> 4) & 0x0f; -#line 432 "rx-decode.opc" +#line 453 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4492,7 +4516,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("or #%1, %0"); -#line 432 "rx-decode.opc" +#line 453 "rx-decode.opc" ID(or); SC(immm); DR(rdst); F__SZ_; } @@ -4506,9 +4530,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 0110 0110 immm rdst mov%s #%1, %0 */ -#line 308 "rx-decode.opc" +#line 329 "rx-decode.opc" int immm AU = (op[1] >> 4) & 0x0f; -#line 308 "rx-decode.opc" +#line 329 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4519,7 +4543,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mov%s #%1, %0"); -#line 308 "rx-decode.opc" +#line 329 "rx-decode.opc" ID(mov); DR(rdst); SC(immm); F_____; } @@ -4536,7 +4560,7 @@ rx_decode_opcode (unsigned long pc AU, op[0]); } SYNTAX("rtsd #%1"); -#line 405 "rx-decode.opc" +#line 426 "rx-decode.opc" ID(rtsd); SC(IMM(1) * 4); } @@ -4549,11 +4573,11 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_28: { /** 0110 100i mmmm rdst shlr #%2, %0 */ -#line 730 "rx-decode.opc" +#line 751 "rx-decode.opc" int i AU = op[0] & 0x01; -#line 730 "rx-decode.opc" +#line 751 "rx-decode.opc" int mmmm AU = (op[1] >> 4) & 0x0f; -#line 730 "rx-decode.opc" +#line 751 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4565,7 +4589,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("shlr #%2, %0"); -#line 730 "rx-decode.opc" +#line 751 "rx-decode.opc" ID(shlr); S2C(i*16+mmmm); SR(rdst); DR(rdst); F__SZC; } @@ -4589,11 +4613,11 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_29: { /** 0110 101i mmmm rdst shar #%2, %0 */ -#line 720 "rx-decode.opc" +#line 741 "rx-decode.opc" int i AU = op[0] & 0x01; -#line 720 "rx-decode.opc" +#line 741 "rx-decode.opc" int mmmm AU = (op[1] >> 4) & 0x0f; -#line 720 "rx-decode.opc" +#line 741 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4605,7 +4629,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("shar #%2, %0"); -#line 720 "rx-decode.opc" +#line 741 "rx-decode.opc" ID(shar); S2C(i*16+mmmm); SR(rdst); DR(rdst); F_0SZC; } @@ -4629,11 +4653,11 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_30: { /** 0110 110i mmmm rdst shll #%2, %0 */ -#line 710 "rx-decode.opc" +#line 731 "rx-decode.opc" int i AU = op[0] & 0x01; -#line 710 "rx-decode.opc" +#line 731 "rx-decode.opc" int mmmm AU = (op[1] >> 4) & 0x0f; -#line 710 "rx-decode.opc" +#line 731 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4645,7 +4669,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("shll #%2, %0"); -#line 710 "rx-decode.opc" +#line 731 "rx-decode.opc" ID(shll); S2C(i*16+mmmm); SR(rdst); DR(rdst); F_OSZC; } @@ -4668,9 +4692,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 0110 1110 dsta dstb pushm %1-%2 */ -#line 372 "rx-decode.opc" +#line 393 "rx-decode.opc" int dsta AU = (op[1] >> 4) & 0x0f; -#line 372 "rx-decode.opc" +#line 393 "rx-decode.opc" int dstb AU = op[1] & 0x0f; if (trace) { @@ -4681,7 +4705,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" dstb = 0x%x\n", dstb); } SYNTAX("pushm %1-%2"); -#line 372 "rx-decode.opc" +#line 393 "rx-decode.opc" ID(pushm); SR(dsta); S2R(dstb); F_____; } @@ -4695,9 +4719,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 0110 1111 dsta dstb popm %1-%2 */ -#line 369 "rx-decode.opc" +#line 390 "rx-decode.opc" int dsta AU = (op[1] >> 4) & 0x0f; -#line 369 "rx-decode.opc" +#line 390 "rx-decode.opc" int dstb AU = op[1] & 0x0f; if (trace) { @@ -4708,7 +4732,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" dstb = 0x%x\n", dstb); } SYNTAX("popm %1-%2"); -#line 369 "rx-decode.opc" +#line 390 "rx-decode.opc" ID(popm); SR(dsta); S2R(dstb); F_____; } @@ -4723,11 +4747,11 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_31: { /** 0111 00im rsrc rdst add #%1, %2, %0 */ -#line 513 "rx-decode.opc" +#line 534 "rx-decode.opc" int im AU = op[0] & 0x03; -#line 513 "rx-decode.opc" +#line 534 "rx-decode.opc" int rsrc AU = (op[1] >> 4) & 0x0f; -#line 513 "rx-decode.opc" +#line 534 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4739,7 +4763,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("add #%1, %2, %0"); -#line 513 "rx-decode.opc" +#line 534 "rx-decode.opc" ID(add); SC(IMMex(im)); S2R(rsrc); DR(rdst); F_OSZC; } @@ -4781,9 +4805,9 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_32: { /** 0111 01im 0000 rsrc cmp #%2, %1%S1 */ -#line 525 "rx-decode.opc" +#line 546 "rx-decode.opc" int im AU = op[0] & 0x03; -#line 525 "rx-decode.opc" +#line 546 "rx-decode.opc" int rsrc AU = op[1] & 0x0f; if (trace) { @@ -4794,7 +4818,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("cmp #%2, %1%S1"); -#line 525 "rx-decode.opc" +#line 546 "rx-decode.opc" ID(sub); SR(rsrc); S2C(IMMex(im)); F_OSZC; } @@ -4803,9 +4827,9 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_33: { /** 0111 01im 0001rdst mul #%1, %0 */ -#line 628 "rx-decode.opc" +#line 649 "rx-decode.opc" int im AU = op[0] & 0x03; -#line 628 "rx-decode.opc" +#line 649 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4816,7 +4840,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mul #%1, %0"); -#line 628 "rx-decode.opc" +#line 649 "rx-decode.opc" int val = IMMex(im); if (val == 1 && rdst == 0) { @@ -4844,9 +4868,9 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_34: { /** 0111 01im 0010 rdst and #%1, %0 */ -#line 417 "rx-decode.opc" +#line 438 "rx-decode.opc" int im AU = op[0] & 0x03; -#line 417 "rx-decode.opc" +#line 438 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4857,7 +4881,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("and #%1, %0"); -#line 417 "rx-decode.opc" +#line 438 "rx-decode.opc" ID(and); SC(IMMex(im)); DR(rdst); F__SZ_; } @@ -4866,9 +4890,9 @@ rx_decode_opcode (unsigned long pc AU, op_semantics_35: { /** 0111 01im 0011 rdst or #%1, %0 */ -#line 435 "rx-decode.opc" +#line 456 "rx-decode.opc" int im AU = op[0] & 0x03; -#line 435 "rx-decode.opc" +#line 456 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4879,7 +4903,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("or #%1, %0"); -#line 435 "rx-decode.opc" +#line 456 "rx-decode.opc" ID(or); SC(IMMex(im)); DR(rdst); F__SZ_; } @@ -4981,7 +5005,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x4f: { /** 0111 0101 0100 rdst mov%s #%1, %0 */ -#line 289 "rx-decode.opc" +#line 310 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -4991,7 +5015,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mov%s #%1, %0"); -#line 289 "rx-decode.opc" +#line 310 "rx-decode.opc" ID(mov); DR(rdst); SC(IMM (1)); F_____; } @@ -5014,7 +5038,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x5f: { /** 0111 0101 0101 rsrc cmp #%2, %1 */ -#line 528 "rx-decode.opc" +#line 549 "rx-decode.opc" int rsrc AU = op[1] & 0x0f; if (trace) { @@ -5024,7 +5048,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("cmp #%2, %1"); -#line 528 "rx-decode.opc" +#line 549 "rx-decode.opc" ID(sub); SR(rsrc); S2C(IMM(1)); F_OSZC; } @@ -5039,7 +5063,7 @@ rx_decode_opcode (unsigned long pc AU, op[0], op[1]); } SYNTAX("int #%1"); -#line 1035 "rx-decode.opc" +#line 1056 "rx-decode.opc" ID(int); SC(IMM(1)); } @@ -5051,7 +5075,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 0111 0101 0111 0000 0000 immm mvtipl #%1 */ -#line 1002 "rx-decode.opc" +#line 1023 "rx-decode.opc" int immm AU = op[2] & 0x0f; if (trace) { @@ -5061,7 +5085,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" immm = 0x%x\n", immm); } SYNTAX("mvtipl #%1"); -#line 1002 "rx-decode.opc" +#line 1023 "rx-decode.opc" ID(mvtipl); SC(immm); } @@ -5069,25 +5093,1812 @@ rx_decode_opcode (unsigned long pc AU, default: UNSUPPORTED(); break; } break; + case 0x90: + GETBYTE (); + switch (op[2] & 0xff) + { + case 0x1b: + { + /** 0111 0101 1001 0000 0001 1011 mvfdr */ + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 0111 0101 1001 0000 0001 1011 mvfdr */", + op[0], op[1], op[2]); + } + SYNTAX("mvfdr"); +#line 1229 "rx-decode.opc" + ID(mvfdr); F_____; + + } + break; + default: UNSUPPORTED(); break; + } + break; + case 0xa0: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + { + /** 0111 0101 1010 0000 rdst rnum dpushm.l %1-%2 */ +#line 1223 "rx-decode.opc" + int rdst AU = (op[2] >> 4) & 0x0f; +#line 1223 "rx-decode.opc" + int rnum AU = op[2] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 0111 0101 1010 0000 rdst rnum dpushm.l %1-%2 */", + op[0], op[1], op[2]); + printf (" rdst = 0x%x,", rdst); + printf (" rnum = 0x%x\n", rnum); + } + SYNTAX("dpushm.l %1-%2"); +#line 1223 "rx-decode.opc" + ID(dpushm); SCR(rdst); S2CR(rdst + rnum); F_____; + + } + break; + } + break; + case 0xa8: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + { + /** 0111 0101 1010 1000 rdst rnum dpopm.l %1-%2 */ +#line 1217 "rx-decode.opc" + int rdst AU = (op[2] >> 4) & 0x0f; +#line 1217 "rx-decode.opc" + int rnum AU = op[2] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 0111 0101 1010 1000 rdst rnum dpopm.l %1-%2 */", + op[0], op[1], op[2]); + printf (" rdst = 0x%x,", rdst); + printf (" rnum = 0x%x\n", rnum); + } + SYNTAX("dpopm.l %1-%2"); +#line 1217 "rx-decode.opc" + ID(dpopm); SCR(rdst); S2CR(rdst + rnum); F_____; + + } + break; + } + break; + case 0xb0: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + { + /** 0111 0101 1011 0000 rdst rnum dpushm.d %1-%2 */ +#line 1220 "rx-decode.opc" + int rdst AU = (op[2] >> 4) & 0x0f; +#line 1220 "rx-decode.opc" + int rnum AU = op[2] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 0111 0101 1011 0000 rdst rnum dpushm.d %1-%2 */", + op[0], op[1], op[2]); + printf (" rdst = 0x%x,", rdst); + printf (" rnum = 0x%x\n", rnum); + } + SYNTAX("dpushm.d %1-%2"); +#line 1220 "rx-decode.opc" + ID(dpushm); SDR(rdst); S2DR(rdst + rnum); F_____; + + } + break; + } + break; + case 0xb8: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + { + /** 0111 0101 1011 1000 rdst rnum dpopm.d %1-%2 */ +#line 1214 "rx-decode.opc" + int rdst AU = (op[2] >> 4) & 0x0f; +#line 1214 "rx-decode.opc" + int rnum AU = op[2] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 0111 0101 1011 1000 rdst rnum dpopm.d %1-%2 */", + op[0], op[1], op[2]); + printf (" rdst = 0x%x,", rdst); + printf (" rnum = 0x%x\n", rnum); + } + SYNTAX("dpopm.d %1-%2"); +#line 1214 "rx-decode.opc" + ID(dpopm); SDR(rdst); S2DR(rdst + rnum); F_____; + + } + break; + } + break; default: UNSUPPORTED(); break; } break; case 0x76: GETBYTE (); - switch (op[1] & 0xf0) + switch (op[1] & 0xff) { case 0x00: + case 0x01: + case 0x02: + case 0x03: + case 0x04: + case 0x05: + case 0x06: + case 0x07: + case 0x08: + case 0x09: + case 0x0a: + case 0x0b: + case 0x0c: + case 0x0d: + case 0x0e: + case 0x0f: goto op_semantics_32; break; case 0x10: + case 0x11: + case 0x12: + case 0x13: + case 0x14: + case 0x15: + case 0x16: + case 0x17: + case 0x18: + case 0x19: + case 0x1a: + case 0x1b: + case 0x1c: + case 0x1d: + case 0x1e: + case 0x1f: goto op_semantics_33; break; case 0x20: + case 0x21: + case 0x22: + case 0x23: + case 0x24: + case 0x25: + case 0x26: + case 0x27: + case 0x28: + case 0x29: + case 0x2a: + case 0x2b: + case 0x2c: + case 0x2d: + case 0x2e: + case 0x2f: goto op_semantics_34; break; case 0x30: + case 0x31: + case 0x32: + case 0x33: + case 0x34: + case 0x35: + case 0x36: + case 0x37: + case 0x38: + case 0x39: + case 0x3a: + case 0x3b: + case 0x3c: + case 0x3d: + case 0x3e: + case 0x3f: goto op_semantics_35; break; + case 0x90: + GETBYTE (); + switch (op[2] & 0xff) + { + case 0x00: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + op_semantics_36: + { + /** 0111 0110 1001 0000 srcb 0000 rdst srca dadd %1, %2, %0 */ +#line 1238 "rx-decode.opc" + int srcb AU = (op[2] >> 4) & 0x0f; +#line 1238 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; +#line 1238 "rx-decode.opc" + int srca AU = op[3] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 0111 0110 1001 0000 srcb 0000 rdst srca dadd %1, %2, %0 */", + op[0], op[1], op[2], op[3]); + printf (" srcb = 0x%x,", srcb); + printf (" rdst = 0x%x,", rdst); + printf (" srca = 0x%x\n", srca); + } + SYNTAX("dadd %1, %2, %0"); +#line 1238 "rx-decode.opc" + ID(dadd); DDR(rdst); SDR(srca); S2DR(srcb); F_____; + + } + break; + } + break; + case 0x01: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + op_semantics_37: + { + /** 0111 0110 1001 0000 srcb 0001 rdst srca dsub %1, %2, %0 */ +#line 1259 "rx-decode.opc" + int srcb AU = (op[2] >> 4) & 0x0f; +#line 1259 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; +#line 1259 "rx-decode.opc" + int srca AU = op[3] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 0111 0110 1001 0000 srcb 0001 rdst srca dsub %1, %2, %0 */", + op[0], op[1], op[2], op[3]); + printf (" srcb = 0x%x,", srcb); + printf (" rdst = 0x%x,", rdst); + printf (" srca = 0x%x\n", srca); + } + SYNTAX("dsub %1, %2, %0"); +#line 1259 "rx-decode.opc" + ID(dsub); DDR(rdst); SDR(srca); S2DR(srcb); F_____; + + } + break; + } + break; + case 0x02: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + op_semantics_38: + { + /** 0111 0110 1001 0000 srcb 0010 rdst srca dmul %1, %2, %0 */ +#line 1247 "rx-decode.opc" + int srcb AU = (op[2] >> 4) & 0x0f; +#line 1247 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; +#line 1247 "rx-decode.opc" + int srca AU = op[3] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 0111 0110 1001 0000 srcb 0010 rdst srca dmul %1, %2, %0 */", + op[0], op[1], op[2], op[3]); + printf (" srcb = 0x%x,", srcb); + printf (" rdst = 0x%x,", rdst); + printf (" srca = 0x%x\n", srca); + } + SYNTAX("dmul %1, %2, %0"); +#line 1247 "rx-decode.opc" + ID(dmul); DDR(rdst); SDR(srca); S2DR(srcb); F_____; + + } + break; + } + break; + case 0x05: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + op_semantics_39: + { + /** 0111 0110 1001 0000 srcb 0101 rdst srca ddiv %1, %2, %0 */ +#line 1244 "rx-decode.opc" + int srcb AU = (op[2] >> 4) & 0x0f; +#line 1244 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; +#line 1244 "rx-decode.opc" + int srca AU = op[3] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 0111 0110 1001 0000 srcb 0101 rdst srca ddiv %1, %2, %0 */", + op[0], op[1], op[2], op[3]); + printf (" srcb = 0x%x,", srcb); + printf (" rdst = 0x%x,", rdst); + printf (" srca = 0x%x\n", srca); + } + SYNTAX("ddiv %1, %2, %0"); +#line 1244 "rx-decode.opc" + ID(ddiv); DDR(rdst); SDR(srca); S2DR(srcb); F_____; + + } + break; + } + break; + case 0x08: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + op_semantics_40: + { + /** 0111 0110 1001 0000 srcb 1000 cond srca dcmp%0 %1, %2 */ +#line 1241 "rx-decode.opc" + int srcb AU = (op[2] >> 4) & 0x0f; +#line 1241 "rx-decode.opc" + int cond AU = (op[3] >> 4) & 0x0f; +#line 1241 "rx-decode.opc" + int srca AU = op[3] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 0111 0110 1001 0000 srcb 1000 cond srca dcmp%0 %1, %2 */", + op[0], op[1], op[2], op[3]); + printf (" srcb = 0x%x,", srcb); + printf (" cond = 0x%x,", cond); + printf (" srca = 0x%x\n", srca); + } + SYNTAX("dcmp%0 %1, %2"); +#line 1241 "rx-decode.opc" + ID(dcmp); DCND(cond); SDR(srca); S2DR(srcb); F_____; + + } + break; + } + break; + case 0x0c: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + op_semantics_41: + { + /** 0111 0110 1001 0000 rsrc 1100 rdst 0000 dmov.d %1, %0 */ +#line 1179 "rx-decode.opc" + int rsrc AU = (op[2] >> 4) & 0x0f; +#line 1179 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 0111 0110 1001 0000 rsrc 1100 rdst 0000 dmov.d %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("dmov.d %1, %0"); +#line 1179 "rx-decode.opc" + ID(dmov); DDR(rdst); SDR(rsrc); F_____; + + } + break; + case 0x01: + op_semantics_42: + { + /** 0111 0110 1001 0000 rsrc 1100 rdst 0001 dabs %1, %0 */ +#line 1235 "rx-decode.opc" + int rsrc AU = (op[2] >> 4) & 0x0f; +#line 1235 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 0111 0110 1001 0000 rsrc 1100 rdst 0001 dabs %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("dabs %1, %0"); +#line 1235 "rx-decode.opc" + ID(dabs); DDR(rdst); SDR(rsrc); F_____; + + } + break; + case 0x02: + op_semantics_43: + { + /** 0111 0110 1001 0000 rsrc 1100 rdst 0010 dneg %1, %0 */ +#line 1250 "rx-decode.opc" + int rsrc AU = (op[2] >> 4) & 0x0f; +#line 1250 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 0111 0110 1001 0000 rsrc 1100 rdst 0010 dneg %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("dneg %1, %0"); +#line 1250 "rx-decode.opc" + ID(dneg); DDR(rdst); SDR(rsrc); F_____; + + } + break; + default: UNSUPPORTED(); break; + } + break; + case 0x0d: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + op_semantics_44: + { + /** 0111 0110 1001 0000 rsrc 1101 rdst 0000 dsqrt %1, %0 */ +#line 1256 "rx-decode.opc" + int rsrc AU = (op[2] >> 4) & 0x0f; +#line 1256 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 0111 0110 1001 0000 rsrc 1101 rdst 0000 dsqrt %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("dsqrt %1, %0"); +#line 1256 "rx-decode.opc" + ID(dsqrt); DDR(rdst); SDR(rsrc); F_____; + + } + break; + case 0x08: + op_semantics_45: + { + /** 0111 0110 1001 0000 rsrc 1101 rdst 1000 dtoi %1, %0 */ +#line 1265 "rx-decode.opc" + int rsrc AU = (op[2] >> 4) & 0x0f; +#line 1265 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 0111 0110 1001 0000 rsrc 1101 rdst 1000 dtoi %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("dtoi %1, %0"); +#line 1265 "rx-decode.opc" + ID(dtoi); DDR(rdst); SDR(rsrc); F_____; + + } + break; + case 0x09: + op_semantics_46: + { + /** 0111 0110 1001 0000 rsrc 1101 rdst 1001 dtou %1, %0 */ +#line 1268 "rx-decode.opc" + int rsrc AU = (op[2] >> 4) & 0x0f; +#line 1268 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 0111 0110 1001 0000 rsrc 1101 rdst 1001 dtou %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("dtou %1, %0"); +#line 1268 "rx-decode.opc" + ID(dtou); DDR(rdst); SDR(rsrc); F_____; + + } + break; + case 0x0c: + op_semantics_47: + { + /** 0111 0110 1001 0000 rsrc 1101 rdst 1100 dtof %1, %0 */ +#line 1262 "rx-decode.opc" + int rsrc AU = (op[2] >> 4) & 0x0f; +#line 1262 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 0111 0110 1001 0000 rsrc 1101 rdst 1100 dtof %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("dtof %1, %0"); +#line 1262 "rx-decode.opc" + ID(dtof); DDR(rdst); SDR(rsrc); F_____; + + } + break; + case 0x0d: + op_semantics_48: + { + /** 0111 0110 1001 0000 rsrc 1101 rdst 1101 dround %1, %0 */ +#line 1253 "rx-decode.opc" + int rsrc AU = (op[2] >> 4) & 0x0f; +#line 1253 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 0111 0110 1001 0000 rsrc 1101 rdst 1101 dround %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("dround %1, %0"); +#line 1253 "rx-decode.opc" + ID(dround); DDR(rdst); SDR(rsrc); F_____; + + } + break; + default: UNSUPPORTED(); break; + } + break; + case 0x10: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0x11: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0x12: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0x15: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0x18: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0x1c: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x1d: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x20: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0x21: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0x22: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0x25: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0x28: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0x2c: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x2d: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x30: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0x31: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0x32: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0x35: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0x38: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0x3c: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x3d: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x40: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0x41: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0x42: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0x45: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0x48: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0x4c: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x4d: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x50: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0x51: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0x52: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0x55: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0x58: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0x5c: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x5d: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x60: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0x61: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0x62: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0x65: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0x68: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0x6c: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x6d: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x70: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0x71: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0x72: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0x75: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0x78: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0x7c: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x7d: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x80: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0x81: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0x82: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0x85: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0x88: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0x8c: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x8d: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x90: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0x91: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0x92: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0x95: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0x98: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0x9c: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x9d: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xa0: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0xa1: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0xa2: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0xa5: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0xa8: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0xac: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xad: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xb0: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0xb1: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0xb2: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0xb5: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0xb8: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0xbc: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xbd: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xc0: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0xc1: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0xc2: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0xc5: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0xc8: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0xcc: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xcd: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xd0: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0xd1: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0xd2: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0xd5: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0xd8: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0xdc: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xdd: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xe0: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0xe1: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0xe2: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0xe5: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0xe8: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0xec: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xed: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xf0: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_36; + break; + } + break; + case 0xf1: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_37; + break; + } + break; + case 0xf2: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_38; + break; + } + break; + case 0xf5: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_39; + break; + } + break; + case 0xf8: + GETBYTE (); + switch (op[3] & 0x00) + { + case 0x00: + goto op_semantics_40; + break; + } + break; + case 0xfc: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_41; + break; + case 0x01: + goto op_semantics_42; + break; + case 0x02: + goto op_semantics_43; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xfd: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_44; + break; + case 0x08: + goto op_semantics_45; + break; + case 0x09: + goto op_semantics_46; + break; + case 0x0c: + goto op_semantics_47; + break; + case 0x0d: + goto op_semantics_48; + break; + default: UNSUPPORTED(); break; + } + break; + default: UNSUPPORTED(); break; + } + break; default: UNSUPPORTED(); break; } break; @@ -5115,14 +6926,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - op_semantics_36: + op_semantics_49: { /** 0111 100b ittt rdst bset #%1, %0 */ -#line 947 "rx-decode.opc" +#line 968 "rx-decode.opc" int b AU = op[0] & 0x01; -#line 947 "rx-decode.opc" +#line 968 "rx-decode.opc" int ittt AU = (op[1] >> 4) & 0x0f; -#line 947 "rx-decode.opc" +#line 968 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -5134,7 +6945,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("bset #%1, %0"); -#line 947 "rx-decode.opc" +#line 968 "rx-decode.opc" ID(bset); BWL(LSIZE); SC(b*16+ittt); DR(rdst); F_____; @@ -5147,7 +6958,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_36; + goto op_semantics_49; break; } break; @@ -5156,14 +6967,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - op_semantics_37: + op_semantics_50: { /** 0111 101b ittt rdst bclr #%1, %0 */ -#line 959 "rx-decode.opc" +#line 980 "rx-decode.opc" int b AU = op[0] & 0x01; -#line 959 "rx-decode.opc" +#line 980 "rx-decode.opc" int ittt AU = (op[1] >> 4) & 0x0f; -#line 959 "rx-decode.opc" +#line 980 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -5175,7 +6986,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("bclr #%1, %0"); -#line 959 "rx-decode.opc" +#line 980 "rx-decode.opc" ID(bclr); BWL(LSIZE); SC(b*16+ittt); DR(rdst); F_____; @@ -5188,7 +6999,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_37; + goto op_semantics_50; break; } break; @@ -5197,14 +7008,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - op_semantics_38: + op_semantics_51: { /** 0111 110b ittt rdst btst #%2, %1 */ -#line 971 "rx-decode.opc" +#line 992 "rx-decode.opc" int b AU = op[0] & 0x01; -#line 971 "rx-decode.opc" +#line 992 "rx-decode.opc" int ittt AU = (op[1] >> 4) & 0x0f; -#line 971 "rx-decode.opc" +#line 992 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -5216,7 +7027,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("btst #%2, %1"); -#line 971 "rx-decode.opc" +#line 992 "rx-decode.opc" ID(btst); BWL(LSIZE); S2C(b*16+ittt); SR(rdst); F___ZC; @@ -5229,7 +7040,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_38; + goto op_semantics_51; break; } break; @@ -5240,7 +7051,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 0111 1110 0000 rdst not %0 */ -#line 462 "rx-decode.opc" +#line 483 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -5250,7 +7061,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("not %0"); -#line 462 "rx-decode.opc" +#line 483 "rx-decode.opc" ID(xor); DR(rdst); SR(rdst); S2C(~0); F__SZ_; } @@ -5258,7 +7069,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x10: { /** 0111 1110 0001 rdst neg %0 */ -#line 483 "rx-decode.opc" +#line 504 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -5268,7 +7079,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("neg %0"); -#line 483 "rx-decode.opc" +#line 504 "rx-decode.opc" ID(sub); DR(rdst); SC(0); S2R(rdst); F_OSZC; } @@ -5276,7 +7087,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x20: { /** 0111 1110 0010 rdst abs %0 */ -#line 565 "rx-decode.opc" +#line 586 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -5286,7 +7097,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("abs %0"); -#line 565 "rx-decode.opc" +#line 586 "rx-decode.opc" ID(abs); DR(rdst); SR(rdst); F_OSZ_; } @@ -5294,7 +7105,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x30: { /** 0111 1110 0011 rdst sat %0 */ -#line 885 "rx-decode.opc" +#line 906 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -5304,7 +7115,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("sat %0"); -#line 885 "rx-decode.opc" +#line 906 "rx-decode.opc" ID(sat); DR (rdst); } @@ -5312,7 +7123,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x40: { /** 0111 1110 0100 rdst rorc %0 */ -#line 745 "rx-decode.opc" +#line 766 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -5322,7 +7133,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("rorc %0"); -#line 745 "rx-decode.opc" +#line 766 "rx-decode.opc" ID(rorc); DR(rdst); F__SZC; } @@ -5330,7 +7141,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x50: { /** 0111 1110 0101 rdst rolc %0 */ -#line 742 "rx-decode.opc" +#line 763 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -5340,7 +7151,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("rolc %0"); -#line 742 "rx-decode.opc" +#line 763 "rx-decode.opc" ID(rolc); DR(rdst); F__SZC; } @@ -5350,9 +7161,9 @@ rx_decode_opcode (unsigned long pc AU, case 0xa0: { /** 0111 1110 10sz rsrc push%s %1 */ -#line 378 "rx-decode.opc" +#line 399 "rx-decode.opc" int sz AU = (op[1] >> 4) & 0x03; -#line 378 "rx-decode.opc" +#line 399 "rx-decode.opc" int rsrc AU = op[1] & 0x0f; if (trace) { @@ -5363,7 +7174,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("push%s %1"); -#line 378 "rx-decode.opc" +#line 399 "rx-decode.opc" ID(mov); BWL(sz); OP(0, RX_Operand_Predec, 0, 0); SR(rsrc); F_____; } @@ -5371,7 +7182,7 @@ rx_decode_opcode (unsigned long pc AU, case 0xb0: { /** 0111 1110 1011 rdst pop %0 */ -#line 375 "rx-decode.opc" +#line 396 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -5381,7 +7192,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("pop %0"); -#line 375 "rx-decode.opc" +#line 396 "rx-decode.opc" ID(mov); OP(1, RX_Operand_Postinc, 0, 0); DR(rdst); F_____; } @@ -5390,7 +7201,7 @@ rx_decode_opcode (unsigned long pc AU, case 0xd0: { /** 0111 1110 110 crsrc pushc %1 */ -#line 1008 "rx-decode.opc" +#line 1029 "rx-decode.opc" int crsrc AU = op[1] & 0x1f; if (trace) { @@ -5400,7 +7211,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" crsrc = 0x%x\n", crsrc); } SYNTAX("pushc %1"); -#line 1008 "rx-decode.opc" +#line 1029 "rx-decode.opc" ID(mov); OP(0, RX_Operand_Predec, 0, 0); SR(crsrc + 16); } @@ -5409,7 +7220,7 @@ rx_decode_opcode (unsigned long pc AU, case 0xf0: { /** 0111 1110 111 crdst popc %0 */ -#line 1005 "rx-decode.opc" +#line 1026 "rx-decode.opc" int crdst AU = op[1] & 0x1f; if (trace) { @@ -5419,7 +7230,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" crdst = 0x%x\n", crdst); } SYNTAX("popc %0"); -#line 1005 "rx-decode.opc" +#line 1026 "rx-decode.opc" ID(mov); OP(1, RX_Operand_Postinc, 0, 0); DR(crdst + 16); } @@ -5449,7 +7260,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x0f: { /** 0111 1111 0000 rsrc jmp %0 */ -#line 795 "rx-decode.opc" +#line 816 "rx-decode.opc" int rsrc AU = op[1] & 0x0f; if (trace) { @@ -5459,7 +7270,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("jmp %0"); -#line 795 "rx-decode.opc" +#line 816 "rx-decode.opc" ID(branch); DR(rsrc); } @@ -5482,7 +7293,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x1f: { /** 0111 1111 0001 rsrc jsr %0 */ -#line 798 "rx-decode.opc" +#line 819 "rx-decode.opc" int rsrc AU = op[1] & 0x0f; if (trace) { @@ -5492,7 +7303,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("jsr %0"); -#line 798 "rx-decode.opc" +#line 819 "rx-decode.opc" ID(jsr); DR(rsrc); } @@ -5515,7 +7326,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x4f: { /** 0111 1111 0100 rsrc bra.l %0 */ -#line 791 "rx-decode.opc" +#line 812 "rx-decode.opc" int rsrc AU = op[1] & 0x0f; if (trace) { @@ -5525,7 +7336,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("bra.l %0"); -#line 791 "rx-decode.opc" +#line 812 "rx-decode.opc" ID(branchrel); DR(rsrc); @@ -5549,7 +7360,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x5f: { /** 0111 1111 0101 rsrc bsr.l %0 */ -#line 807 "rx-decode.opc" +#line 828 "rx-decode.opc" int rsrc AU = op[1] & 0x0f; if (trace) { @@ -5559,7 +7370,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("bsr.l %0"); -#line 807 "rx-decode.opc" +#line 828 "rx-decode.opc" ID(jsrrel); DR(rsrc); } @@ -5569,7 +7380,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x82: { /** 0111 1111 1000 00sz suntil%s */ -#line 831 "rx-decode.opc" +#line 852 "rx-decode.opc" int sz AU = op[1] & 0x03; if (trace) { @@ -5579,7 +7390,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" sz = 0x%x\n", sz); } SYNTAX("suntil%s"); -#line 831 "rx-decode.opc" +#line 852 "rx-decode.opc" ID(suntil); BWL(sz); F___ZC; } @@ -5594,7 +7405,7 @@ rx_decode_opcode (unsigned long pc AU, op[0], op[1]); } SYNTAX("scmpu"); -#line 822 "rx-decode.opc" +#line 843 "rx-decode.opc" ID(scmpu); F___ZC; } @@ -5604,7 +7415,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x86: { /** 0111 1111 1000 01sz swhile%s */ -#line 834 "rx-decode.opc" +#line 855 "rx-decode.opc" int sz AU = op[1] & 0x03; if (trace) { @@ -5614,7 +7425,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" sz = 0x%x\n", sz); } SYNTAX("swhile%s"); -#line 834 "rx-decode.opc" +#line 855 "rx-decode.opc" ID(swhile); BWL(sz); F___ZC; } @@ -5629,7 +7440,7 @@ rx_decode_opcode (unsigned long pc AU, op[0], op[1]); } SYNTAX("smovu"); -#line 825 "rx-decode.opc" +#line 846 "rx-decode.opc" ID(smovu); } @@ -5639,7 +7450,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x8a: { /** 0111 1111 1000 10sz sstr%s */ -#line 840 "rx-decode.opc" +#line 861 "rx-decode.opc" int sz AU = op[1] & 0x03; if (trace) { @@ -5649,7 +7460,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" sz = 0x%x\n", sz); } SYNTAX("sstr%s"); -#line 840 "rx-decode.opc" +#line 861 "rx-decode.opc" ID(sstr); BWL(sz); /*----------------------------------------------------------------------*/ @@ -5667,7 +7478,7 @@ rx_decode_opcode (unsigned long pc AU, op[0], op[1]); } SYNTAX("smovb"); -#line 828 "rx-decode.opc" +#line 849 "rx-decode.opc" ID(smovb); } @@ -5677,7 +7488,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x8e: { /** 0111 1111 1000 11sz rmpa%s */ -#line 846 "rx-decode.opc" +#line 867 "rx-decode.opc" int sz AU = op[1] & 0x03; if (trace) { @@ -5687,7 +7498,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" sz = 0x%x\n", sz); } SYNTAX("rmpa%s"); -#line 846 "rx-decode.opc" +#line 867 "rx-decode.opc" ID(rmpa); BWL(sz); F_OS__; /*----------------------------------------------------------------------*/ @@ -5705,7 +7516,7 @@ rx_decode_opcode (unsigned long pc AU, op[0], op[1]); } SYNTAX("smovf"); -#line 837 "rx-decode.opc" +#line 858 "rx-decode.opc" ID(smovf); } @@ -5720,7 +7531,7 @@ rx_decode_opcode (unsigned long pc AU, op[0], op[1]); } SYNTAX("satr"); -#line 888 "rx-decode.opc" +#line 909 "rx-decode.opc" ID(satr); /*----------------------------------------------------------------------*/ @@ -5738,7 +7549,7 @@ rx_decode_opcode (unsigned long pc AU, op[0], op[1]); } SYNTAX("rtfi"); -#line 1023 "rx-decode.opc" +#line 1044 "rx-decode.opc" ID(rtfi); } @@ -5753,7 +7564,7 @@ rx_decode_opcode (unsigned long pc AU, op[0], op[1]); } SYNTAX("rte"); -#line 1026 "rx-decode.opc" +#line 1047 "rx-decode.opc" ID(rte); } @@ -5768,7 +7579,7 @@ rx_decode_opcode (unsigned long pc AU, op[0], op[1]); } SYNTAX("wait"); -#line 1038 "rx-decode.opc" +#line 1059 "rx-decode.opc" ID(wait); /*----------------------------------------------------------------------*/ @@ -5794,7 +7605,7 @@ rx_decode_opcode (unsigned long pc AU, case 0xaf: { /** 0111 1111 1010 rdst setpsw %0 */ -#line 999 "rx-decode.opc" +#line 1020 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -5804,7 +7615,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("setpsw %0"); -#line 999 "rx-decode.opc" +#line 1020 "rx-decode.opc" ID(setpsw); DF(rdst); } @@ -5827,7 +7638,7 @@ rx_decode_opcode (unsigned long pc AU, case 0xbf: { /** 0111 1111 1011 rdst clrpsw %0 */ -#line 996 "rx-decode.opc" +#line 1017 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -5837,7 +7648,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("clrpsw %0"); -#line 996 "rx-decode.opc" +#line 1017 "rx-decode.opc" ID(clrpsw); DF(rdst); } @@ -5850,20 +7661,20 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - op_semantics_39: + op_semantics_52: { /** 10sz 0dsp a dst b src mov%s %1, %0 */ -#line 336 "rx-decode.opc" +#line 357 "rx-decode.opc" int sz AU = (op[0] >> 4) & 0x03; -#line 336 "rx-decode.opc" +#line 357 "rx-decode.opc" int dsp AU = op[0] & 0x07; -#line 336 "rx-decode.opc" +#line 357 "rx-decode.opc" int a AU = (op[1] >> 7) & 0x01; -#line 336 "rx-decode.opc" +#line 357 "rx-decode.opc" int dst AU = (op[1] >> 4) & 0x07; -#line 336 "rx-decode.opc" +#line 357 "rx-decode.opc" int b AU = (op[1] >> 3) & 0x01; -#line 336 "rx-decode.opc" +#line 357 "rx-decode.opc" int src AU = op[1] & 0x07; if (trace) { @@ -5878,7 +7689,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" src = 0x%x\n", src); } SYNTAX("mov%s %1, %0"); -#line 336 "rx-decode.opc" +#line 357 "rx-decode.opc" ID(mov); sBWL(sz); DIs(dst, dsp*4+a*2+b, sz); SR(src); F_____; } @@ -5890,7 +7701,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -5899,7 +7710,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -5908,7 +7719,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -5917,7 +7728,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -5926,7 +7737,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -5935,7 +7746,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -5944,7 +7755,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -5953,20 +7764,20 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - op_semantics_40: + op_semantics_53: { /** 10sz 1dsp a src b dst mov%s %1, %0 */ -#line 333 "rx-decode.opc" +#line 354 "rx-decode.opc" int sz AU = (op[0] >> 4) & 0x03; -#line 333 "rx-decode.opc" +#line 354 "rx-decode.opc" int dsp AU = op[0] & 0x07; -#line 333 "rx-decode.opc" +#line 354 "rx-decode.opc" int a AU = (op[1] >> 7) & 0x01; -#line 333 "rx-decode.opc" +#line 354 "rx-decode.opc" int src AU = (op[1] >> 4) & 0x07; -#line 333 "rx-decode.opc" +#line 354 "rx-decode.opc" int b AU = (op[1] >> 3) & 0x01; -#line 333 "rx-decode.opc" +#line 354 "rx-decode.opc" int dst AU = op[1] & 0x07; if (trace) { @@ -5981,7 +7792,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" dst = 0x%x\n", dst); } SYNTAX("mov%s %1, %0"); -#line 333 "rx-decode.opc" +#line 354 "rx-decode.opc" ID(mov); sBWL(sz); DR(dst); SIs(src, dsp*4+a*2+b, sz); F_____; } @@ -5993,7 +7804,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6002,7 +7813,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6011,7 +7822,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6020,7 +7831,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6029,7 +7840,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6038,7 +7849,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6047,7 +7858,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6056,7 +7867,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6065,7 +7876,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6074,7 +7885,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6083,7 +7894,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6092,7 +7903,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6101,7 +7912,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6110,7 +7921,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6119,7 +7930,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6128,7 +7939,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6137,7 +7948,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6146,7 +7957,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6155,7 +7966,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6164,7 +7975,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6173,7 +7984,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6182,7 +7993,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6191,7 +8002,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6200,7 +8011,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6209,7 +8020,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6218,7 +8029,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6227,7 +8038,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6236,7 +8047,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6245,7 +8056,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6254,7 +8065,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6263,7 +8074,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_39; + goto op_semantics_52; break; } break; @@ -6272,7 +8083,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6281,7 +8092,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6290,7 +8101,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6299,7 +8110,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6308,7 +8119,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6317,7 +8128,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6326,7 +8137,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6335,7 +8146,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_40; + goto op_semantics_53; break; } break; @@ -6344,20 +8155,20 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - op_semantics_41: + op_semantics_54: { /** 1011 w dsp a src b dst movu%s %1, %0 */ -#line 356 "rx-decode.opc" +#line 377 "rx-decode.opc" int w AU = (op[0] >> 3) & 0x01; -#line 356 "rx-decode.opc" +#line 377 "rx-decode.opc" int dsp AU = op[0] & 0x07; -#line 356 "rx-decode.opc" +#line 377 "rx-decode.opc" int a AU = (op[1] >> 7) & 0x01; -#line 356 "rx-decode.opc" +#line 377 "rx-decode.opc" int src AU = (op[1] >> 4) & 0x07; -#line 356 "rx-decode.opc" +#line 377 "rx-decode.opc" int b AU = (op[1] >> 3) & 0x01; -#line 356 "rx-decode.opc" +#line 377 "rx-decode.opc" int dst AU = op[1] & 0x07; if (trace) { @@ -6372,7 +8183,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" dst = 0x%x\n", dst); } SYNTAX("movu%s %1, %0"); -#line 356 "rx-decode.opc" +#line 377 "rx-decode.opc" ID(mov); uBW(w); DR(dst); SIs(src, dsp*4+a*2+b, w); F_____; } @@ -6384,7 +8195,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6393,7 +8204,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6402,7 +8213,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6411,7 +8222,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6420,7 +8231,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6429,7 +8240,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6438,7 +8249,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6447,7 +8258,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6456,7 +8267,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6465,7 +8276,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6474,7 +8285,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6483,7 +8294,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6492,7 +8303,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6501,7 +8312,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6510,7 +8321,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_41; + goto op_semantics_54; break; } break; @@ -6519,18 +8330,18 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - op_semantics_42: + op_semantics_55: { /** 11sz sd ss rsrc rdst mov%s %1, %0 */ -#line 314 "rx-decode.opc" +#line 335 "rx-decode.opc" int sz AU = (op[0] >> 4) & 0x03; -#line 314 "rx-decode.opc" +#line 335 "rx-decode.opc" int sd AU = (op[0] >> 2) & 0x03; -#line 314 "rx-decode.opc" +#line 335 "rx-decode.opc" int ss AU = op[0] & 0x03; -#line 314 "rx-decode.opc" +#line 335 "rx-decode.opc" int rsrc AU = (op[1] >> 4) & 0x0f; -#line 314 "rx-decode.opc" +#line 335 "rx-decode.opc" int rdst AU = op[1] & 0x0f; if (trace) { @@ -6544,7 +8355,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mov%s %1, %0"); -#line 314 "rx-decode.opc" +#line 335 "rx-decode.opc" if (sd == 3 && ss == 3 && sz == 2 && rsrc == 0 && rdst == 0) { ID(nop2); @@ -6572,7 +8383,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6581,7 +8392,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6590,7 +8401,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6599,7 +8410,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6608,7 +8419,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6617,7 +8428,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6626,7 +8437,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6635,7 +8446,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6644,7 +8455,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6653,7 +8464,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6662,7 +8473,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6671,7 +8482,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6680,7 +8491,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6689,7 +8500,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6698,7 +8509,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6707,7 +8518,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6716,7 +8527,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6725,7 +8536,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6734,7 +8545,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6743,7 +8554,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6752,7 +8563,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6761,7 +8572,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6770,7 +8581,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6779,7 +8590,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6788,7 +8599,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6797,7 +8608,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6806,7 +8617,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6815,7 +8626,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6824,7 +8635,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6833,7 +8644,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6842,7 +8653,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6851,7 +8662,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6860,7 +8671,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6869,7 +8680,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6878,7 +8689,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6887,7 +8698,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6896,7 +8707,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6905,7 +8716,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6914,7 +8725,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6923,7 +8734,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6932,7 +8743,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6941,7 +8752,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6950,7 +8761,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6959,7 +8770,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6968,7 +8779,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6977,7 +8788,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6986,7 +8797,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_42; + goto op_semantics_55; break; } break; @@ -6995,14 +8806,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x08) { case 0x00: - op_semantics_43: + op_semantics_56: { /** 1111 00sd rdst 0bit bset #%1, %0%S0 */ -#line 939 "rx-decode.opc" +#line 960 "rx-decode.opc" int sd AU = op[0] & 0x03; -#line 939 "rx-decode.opc" +#line 960 "rx-decode.opc" int rdst AU = (op[1] >> 4) & 0x0f; -#line 939 "rx-decode.opc" +#line 960 "rx-decode.opc" int bit AU = op[1] & 0x07; if (trace) { @@ -7014,20 +8825,20 @@ rx_decode_opcode (unsigned long pc AU, printf (" bit = 0x%x\n", bit); } SYNTAX("bset #%1, %0%S0"); -#line 939 "rx-decode.opc" +#line 960 "rx-decode.opc" ID(bset); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE); F_____; } break; case 0x08: - op_semantics_44: + op_semantics_57: { /** 1111 00sd rdst 1bit bclr #%1, %0%S0 */ -#line 951 "rx-decode.opc" +#line 972 "rx-decode.opc" int sd AU = op[0] & 0x03; -#line 951 "rx-decode.opc" +#line 972 "rx-decode.opc" int rdst AU = (op[1] >> 4) & 0x0f; -#line 951 "rx-decode.opc" +#line 972 "rx-decode.opc" int bit AU = op[1] & 0x07; if (trace) { @@ -7039,7 +8850,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" bit = 0x%x\n", bit); } SYNTAX("bclr #%1, %0%S0"); -#line 951 "rx-decode.opc" +#line 972 "rx-decode.opc" ID(bclr); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE); F_____; } @@ -7051,10 +8862,10 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x08) { case 0x00: - goto op_semantics_43; + goto op_semantics_56; break; case 0x08: - goto op_semantics_44; + goto op_semantics_57; break; } break; @@ -7063,10 +8874,10 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x08) { case 0x00: - goto op_semantics_43; + goto op_semantics_56; break; case 0x08: - goto op_semantics_44; + goto op_semantics_57; break; } break; @@ -7075,10 +8886,10 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x08) { case 0x00: - goto op_semantics_43; + goto op_semantics_56; break; case 0x08: - goto op_semantics_44; + goto op_semantics_57; break; } break; @@ -7088,14 +8899,14 @@ rx_decode_opcode (unsigned long pc AU, { case 0x00: case 0x04: - op_semantics_45: + op_semantics_58: { /** 1111 01sd rdst 0bit btst #%2, %1%S1 */ -#line 963 "rx-decode.opc" +#line 984 "rx-decode.opc" int sd AU = op[0] & 0x03; -#line 963 "rx-decode.opc" +#line 984 "rx-decode.opc" int rdst AU = (op[1] >> 4) & 0x0f; -#line 963 "rx-decode.opc" +#line 984 "rx-decode.opc" int bit AU = op[1] & 0x07; if (trace) { @@ -7107,20 +8918,20 @@ rx_decode_opcode (unsigned long pc AU, printf (" bit = 0x%x\n", bit); } SYNTAX("btst #%2, %1%S1"); -#line 963 "rx-decode.opc" +#line 984 "rx-decode.opc" ID(btst); BWL(BSIZE); S2C(bit); SD(sd, rdst, BSIZE); F___ZC; } break; case 0x08: - op_semantics_46: + op_semantics_59: { /** 1111 01ss rsrc 10sz push%s %1 */ -#line 381 "rx-decode.opc" +#line 402 "rx-decode.opc" int ss AU = op[0] & 0x03; -#line 381 "rx-decode.opc" +#line 402 "rx-decode.opc" int rsrc AU = (op[1] >> 4) & 0x0f; -#line 381 "rx-decode.opc" +#line 402 "rx-decode.opc" int sz AU = op[1] & 0x03; if (trace) { @@ -7132,7 +8943,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" sz = 0x%x\n", sz); } SYNTAX("push%s %1"); -#line 381 "rx-decode.opc" +#line 402 "rx-decode.opc" ID(mov); BWL(sz); OP(0, RX_Operand_Predec, 0, 0); SD(ss, rsrc, sz); F_____; /*----------------------------------------------------------------------*/ @@ -7149,10 +8960,10 @@ rx_decode_opcode (unsigned long pc AU, { case 0x00: case 0x04: - goto op_semantics_45; + goto op_semantics_58; break; case 0x08: - goto op_semantics_46; + goto op_semantics_59; break; default: UNSUPPORTED(); break; } @@ -7163,10 +8974,10 @@ rx_decode_opcode (unsigned long pc AU, { case 0x00: case 0x04: - goto op_semantics_45; + goto op_semantics_58; break; case 0x08: - goto op_semantics_46; + goto op_semantics_59; break; default: UNSUPPORTED(); break; } @@ -7177,10 +8988,10 @@ rx_decode_opcode (unsigned long pc AU, { case 0x00: case 0x04: - goto op_semantics_45; + goto op_semantics_58; break; case 0x08: - goto op_semantics_46; + goto op_semantics_59; break; default: UNSUPPORTED(); break; } @@ -7190,16 +9001,16 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - op_semantics_47: + op_semantics_60: { /** 1111 10sd rdst im sz mov%s #%1, %0 */ -#line 292 "rx-decode.opc" +#line 313 "rx-decode.opc" int sd AU = op[0] & 0x03; -#line 292 "rx-decode.opc" +#line 313 "rx-decode.opc" int rdst AU = (op[1] >> 4) & 0x0f; -#line 292 "rx-decode.opc" +#line 313 "rx-decode.opc" int im AU = (op[1] >> 2) & 0x03; -#line 292 "rx-decode.opc" +#line 313 "rx-decode.opc" int sz AU = op[1] & 0x03; if (trace) { @@ -7212,7 +9023,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" sz = 0x%x\n", sz); } SYNTAX("mov%s #%1, %0"); -#line 292 "rx-decode.opc" +#line 313 "rx-decode.opc" ID(mov); DD(sd, rdst, sz); if ((im == 1 && sz == 0) || (im == 2 && sz == 1) @@ -7234,11 +9045,250 @@ rx_decode_opcode (unsigned long pc AU, break; case 0xf9: GETBYTE (); - switch (op[1] & 0x00) + switch (op[1] & 0xff) { case 0x00: - goto op_semantics_47; + case 0x01: + case 0x02: + case 0x04: + case 0x05: + case 0x06: + case 0x08: + case 0x09: + case 0x0a: + case 0x0c: + case 0x0d: + case 0x0e: + case 0x10: + case 0x11: + case 0x12: + case 0x14: + case 0x15: + case 0x16: + case 0x18: + case 0x19: + case 0x1a: + case 0x1c: + case 0x1d: + case 0x1e: + case 0x20: + case 0x21: + case 0x22: + case 0x24: + case 0x25: + case 0x26: + case 0x28: + case 0x29: + case 0x2a: + case 0x2c: + case 0x2d: + case 0x2e: + case 0x30: + case 0x31: + case 0x32: + case 0x34: + case 0x35: + case 0x36: + case 0x38: + case 0x39: + case 0x3a: + case 0x3c: + case 0x3d: + case 0x3e: + case 0x40: + case 0x41: + case 0x42: + case 0x44: + case 0x45: + case 0x46: + case 0x48: + case 0x49: + case 0x4a: + case 0x4c: + case 0x4d: + case 0x4e: + case 0x50: + case 0x51: + case 0x52: + case 0x54: + case 0x55: + case 0x56: + case 0x58: + case 0x59: + case 0x5a: + case 0x5c: + case 0x5d: + case 0x5e: + case 0x60: + case 0x61: + case 0x62: + case 0x64: + case 0x65: + case 0x66: + case 0x68: + case 0x69: + case 0x6a: + case 0x6c: + case 0x6d: + case 0x6e: + case 0x70: + case 0x71: + case 0x72: + case 0x74: + case 0x75: + case 0x76: + case 0x78: + case 0x79: + case 0x7a: + case 0x7c: + case 0x7d: + case 0x7e: + case 0x80: + case 0x81: + case 0x82: + case 0x84: + case 0x85: + case 0x86: + case 0x88: + case 0x89: + case 0x8a: + case 0x8c: + case 0x8d: + case 0x8e: + case 0x90: + case 0x91: + case 0x92: + case 0x94: + case 0x95: + case 0x96: + case 0x98: + case 0x99: + case 0x9a: + case 0x9c: + case 0x9d: + case 0x9e: + case 0xa0: + case 0xa1: + case 0xa2: + case 0xa4: + case 0xa5: + case 0xa6: + case 0xa8: + case 0xa9: + case 0xaa: + case 0xac: + case 0xad: + case 0xae: + case 0xb0: + case 0xb1: + case 0xb2: + case 0xb4: + case 0xb5: + case 0xb6: + case 0xb8: + case 0xb9: + case 0xba: + case 0xbc: + case 0xbd: + case 0xbe: + case 0xc0: + case 0xc1: + case 0xc2: + case 0xc4: + case 0xc5: + case 0xc6: + case 0xc8: + case 0xc9: + case 0xca: + case 0xcc: + case 0xcd: + case 0xce: + case 0xd0: + case 0xd1: + case 0xd2: + case 0xd4: + case 0xd5: + case 0xd6: + case 0xd8: + case 0xd9: + case 0xda: + case 0xdc: + case 0xdd: + case 0xde: + case 0xe0: + case 0xe1: + case 0xe2: + case 0xe4: + case 0xe5: + case 0xe6: + case 0xe8: + case 0xe9: + case 0xea: + case 0xec: + case 0xed: + case 0xee: + case 0xf0: + case 0xf1: + case 0xf2: + case 0xf4: + case 0xf5: + case 0xf6: + case 0xf8: + case 0xf9: + case 0xfa: + case 0xfc: + case 0xfd: + case 0xfe: + goto op_semantics_60; break; + case 0x03: + GETBYTE (); + switch (op[2] & 0x0f) + { + case 0x00: + { + /** 1111 1001 0000 0011 rdst 0000 dmov.l #%1, %0 */ +#line 1211 "rx-decode.opc" + int rdst AU = (op[2] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 1111 1001 0000 0011 rdst 0000 dmov.l #%1, %0 */", + op[0], op[1], op[2]); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("dmov.l #%1, %0"); +#line 1211 "rx-decode.opc" + ID(dmov); DDRL(rdst); SC(IMMex(0)); F_____; + + } + break; + case 0x02: + case 0x03: + { + /** 1111 1001 0000 0011 rdst 001s dmov%s #%1, %0 */ +#line 1208 "rx-decode.opc" + int rdst AU = (op[2] >> 4) & 0x0f; +#line 1208 "rx-decode.opc" + int s AU = op[2] & 0x01; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 1111 1001 0000 0011 rdst 001s dmov%s #%1, %0 */", + op[0], op[1], op[2]); + printf (" rdst = 0x%x,", rdst); + printf (" s = 0x%x\n", s); + } + SYNTAX("dmov%s #%1, %0"); +#line 1208 "rx-decode.opc" + ID(dmov); DDRH(rdst); DL(s); SC(IMMex(0)); F_____; + + } + break; + default: UNSUPPORTED(); break; + } + break; + default: UNSUPPORTED(); break; } break; case 0xfa: @@ -7246,7 +9296,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_47; + goto op_semantics_60; break; } break; @@ -7255,7 +9305,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[1] & 0x00) { case 0x00: - goto op_semantics_47; + goto op_semantics_60; break; } break; @@ -7270,9 +9320,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1100 0000 0011 rsrc rdst sbb %1, %0 */ -#line 555 "rx-decode.opc" +#line 576 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 555 "rx-decode.opc" +#line 576 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7283,7 +9333,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("sbb %1, %0"); -#line 555 "rx-decode.opc" +#line 576 "rx-decode.opc" ID(sbb); SR (rsrc); DR(rdst); F_OSZC; /* FIXME: only supports .L */ @@ -7298,9 +9348,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1100 0000 0111 rsrc rdst neg %2, %0 */ -#line 486 "rx-decode.opc" +#line 507 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 486 "rx-decode.opc" +#line 507 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7311,7 +9361,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("neg %2, %0"); -#line 486 "rx-decode.opc" +#line 507 "rx-decode.opc" ID(sub); DR(rdst); SC(0); S2R(rsrc); F_OSZC; /*----------------------------------------------------------------------*/ @@ -7328,9 +9378,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1100 0000 1011 rsrc rdst adc %1, %0 */ -#line 495 "rx-decode.opc" +#line 516 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 495 "rx-decode.opc" +#line 516 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7341,7 +9391,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("adc %1, %0"); -#line 495 "rx-decode.opc" +#line 516 "rx-decode.opc" ID(adc); SR(rsrc); DR(rdst); F_OSZC; } @@ -7355,9 +9405,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1100 0000 1111 rsrc rdst abs %1, %0 */ -#line 568 "rx-decode.opc" +#line 589 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 568 "rx-decode.opc" +#line 589 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7368,7 +9418,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("abs %1, %0"); -#line 568 "rx-decode.opc" +#line 589 "rx-decode.opc" ID(abs); DR(rdst); SR(rsrc); F_OSZ_; /*----------------------------------------------------------------------*/ @@ -7383,14 +9433,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_48: + op_semantics_61: { /** 1111 1100 0001 00ss rsrc rdst max %1%S1, %0 */ -#line 587 "rx-decode.opc" +#line 608 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 587 "rx-decode.opc" +#line 608 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 587 "rx-decode.opc" +#line 608 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7402,7 +9452,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("max %1%S1, %0"); -#line 587 "rx-decode.opc" +#line 608 "rx-decode.opc" if (ss == 3 && rsrc == 0 && rdst == 0) { ID(nop3); @@ -7422,7 +9472,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_48; + goto op_semantics_61; break; } break; @@ -7431,7 +9481,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_48; + goto op_semantics_61; break; } break; @@ -7440,7 +9490,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_48; + goto op_semantics_61; break; } break; @@ -7449,14 +9499,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_49: + op_semantics_62: { /** 1111 1100 0001 01ss rsrc rdst min %1%S1, %0 */ -#line 607 "rx-decode.opc" +#line 628 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 607 "rx-decode.opc" +#line 628 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 607 "rx-decode.opc" +#line 628 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7468,7 +9518,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("min %1%S1, %0"); -#line 607 "rx-decode.opc" +#line 628 "rx-decode.opc" ID(min); SP(ss, rsrc); DR(rdst); } @@ -7480,7 +9530,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_49; + goto op_semantics_62; break; } break; @@ -7489,7 +9539,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_49; + goto op_semantics_62; break; } break; @@ -7498,7 +9548,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_49; + goto op_semantics_62; break; } break; @@ -7507,14 +9557,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_50: + op_semantics_63: { /** 1111 1100 0001 10ss rsrc rdst emul %1%S1, %0 */ -#line 665 "rx-decode.opc" +#line 686 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 665 "rx-decode.opc" +#line 686 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 665 "rx-decode.opc" +#line 686 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7526,7 +9576,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("emul %1%S1, %0"); -#line 665 "rx-decode.opc" +#line 686 "rx-decode.opc" ID(emul); SP(ss, rsrc); DR(rdst); } @@ -7538,7 +9588,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_50; + goto op_semantics_63; break; } break; @@ -7547,7 +9597,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_50; + goto op_semantics_63; break; } break; @@ -7556,7 +9606,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_50; + goto op_semantics_63; break; } break; @@ -7565,14 +9615,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_51: + op_semantics_64: { /** 1111 1100 0001 11ss rsrc rdst emulu %1%S1, %0 */ -#line 677 "rx-decode.opc" +#line 698 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 677 "rx-decode.opc" +#line 698 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 677 "rx-decode.opc" +#line 698 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7584,7 +9634,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("emulu %1%S1, %0"); -#line 677 "rx-decode.opc" +#line 698 "rx-decode.opc" ID(emulu); SP(ss, rsrc); DR(rdst); } @@ -7596,7 +9646,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_51; + goto op_semantics_64; break; } break; @@ -7605,7 +9655,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_51; + goto op_semantics_64; break; } break; @@ -7614,7 +9664,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_51; + goto op_semantics_64; break; } break; @@ -7623,14 +9673,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_52: + op_semantics_65: { /** 1111 1100 0010 00ss rsrc rdst div %1%S1, %0 */ -#line 689 "rx-decode.opc" +#line 710 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 689 "rx-decode.opc" +#line 710 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 689 "rx-decode.opc" +#line 710 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7642,7 +9692,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("div %1%S1, %0"); -#line 689 "rx-decode.opc" +#line 710 "rx-decode.opc" ID(div); SP(ss, rsrc); DR(rdst); F_O___; } @@ -7654,7 +9704,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_52; + goto op_semantics_65; break; } break; @@ -7663,7 +9713,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_52; + goto op_semantics_65; break; } break; @@ -7672,7 +9722,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_52; + goto op_semantics_65; break; } break; @@ -7681,14 +9731,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_53: + op_semantics_66: { /** 1111 1100 0010 01ss rsrc rdst divu %1%S1, %0 */ -#line 701 "rx-decode.opc" +#line 722 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 701 "rx-decode.opc" +#line 722 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 701 "rx-decode.opc" +#line 722 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7700,7 +9750,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("divu %1%S1, %0"); -#line 701 "rx-decode.opc" +#line 722 "rx-decode.opc" ID(divu); SP(ss, rsrc); DR(rdst); F_O___; } @@ -7712,7 +9762,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_53; + goto op_semantics_66; break; } break; @@ -7721,7 +9771,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_53; + goto op_semantics_66; break; } break; @@ -7730,7 +9780,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_53; + goto op_semantics_66; break; } break; @@ -7739,14 +9789,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_54: + op_semantics_67: { /** 1111 1100 0011 00ss rsrc rdst tst %1%S1, %2 */ -#line 474 "rx-decode.opc" +#line 495 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 474 "rx-decode.opc" +#line 495 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 474 "rx-decode.opc" +#line 495 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7758,7 +9808,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("tst %1%S1, %2"); -#line 474 "rx-decode.opc" +#line 495 "rx-decode.opc" ID(and); SP(ss, rsrc); S2R(rdst); F__SZ_; } @@ -7770,7 +9820,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_54; + goto op_semantics_67; break; } break; @@ -7779,7 +9829,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_54; + goto op_semantics_67; break; } break; @@ -7788,7 +9838,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_54; + goto op_semantics_67; break; } break; @@ -7797,14 +9847,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_55: + op_semantics_68: { /** 1111 1100 0011 01ss rsrc rdst xor %1%S1, %0 */ -#line 453 "rx-decode.opc" +#line 474 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 453 "rx-decode.opc" +#line 474 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 453 "rx-decode.opc" +#line 474 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7816,7 +9866,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("xor %1%S1, %0"); -#line 453 "rx-decode.opc" +#line 474 "rx-decode.opc" ID(xor); SP(ss, rsrc); DR(rdst); F__SZ_; } @@ -7828,7 +9878,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_55; + goto op_semantics_68; break; } break; @@ -7837,7 +9887,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_55; + goto op_semantics_68; break; } break; @@ -7846,7 +9896,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_55; + goto op_semantics_68; break; } break; @@ -7857,9 +9907,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1100 0011 1011 rsrc rdst not %1, %0 */ -#line 465 "rx-decode.opc" +#line 486 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 465 "rx-decode.opc" +#line 486 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7870,7 +9920,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("not %1, %0"); -#line 465 "rx-decode.opc" +#line 486 "rx-decode.opc" ID(xor); DR(rdst); SR(rsrc); S2C(~0); F__SZ_; /*----------------------------------------------------------------------*/ @@ -7885,14 +9935,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_56: + op_semantics_69: { /** 1111 1100 0100 00ss rsrc rdst xchg %1%S1, %0 */ -#line 387 "rx-decode.opc" +#line 408 "rx-decode.opc" int ss AU = op[1] & 0x03; -#line 387 "rx-decode.opc" +#line 408 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 387 "rx-decode.opc" +#line 408 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7904,7 +9954,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("xchg %1%S1, %0"); -#line 387 "rx-decode.opc" +#line 408 "rx-decode.opc" ID(xchg); DR(rdst); SP(ss, rsrc); } @@ -7916,7 +9966,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_56; + goto op_semantics_69; break; } break; @@ -7925,7 +9975,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_56; + goto op_semantics_69; break; } break; @@ -7934,7 +9984,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_56; + goto op_semantics_69; break; } break; @@ -7943,14 +9993,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_57: + op_semantics_70: { /** 1111 1100 0100 01sd rsrc rdst itof %1%S1, %0 */ -#line 930 "rx-decode.opc" +#line 951 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 930 "rx-decode.opc" +#line 951 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 930 "rx-decode.opc" +#line 951 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -7962,7 +10012,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("itof %1%S1, %0"); -#line 930 "rx-decode.opc" +#line 951 "rx-decode.opc" ID(itof); DR (rdst); SP(sd, rsrc); F__SZ_; } @@ -7974,7 +10024,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_57; + goto op_semantics_70; break; } break; @@ -7983,7 +10033,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_57; + goto op_semantics_70; break; } break; @@ -7992,7 +10042,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_57; + goto op_semantics_70; break; } break; @@ -8003,9 +10053,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1100 0100 1011 rsrc rdst stz %1, %0 */ -#line 1056 "rx-decode.opc" +#line 1077 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 1056 "rx-decode.opc" +#line 1077 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -8016,7 +10066,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("stz %1, %0"); -#line 1056 "rx-decode.opc" +#line 1077 "rx-decode.opc" ID(stcc); SR(rsrc); DR(rdst); S2cc(RXC_z); } @@ -8030,9 +10080,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1100 0100 1111 rsrc rdst stnz %1, %0 */ -#line 1059 "rx-decode.opc" +#line 1080 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 1059 "rx-decode.opc" +#line 1080 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -8043,7 +10093,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("stnz %1, %0"); -#line 1059 "rx-decode.opc" +#line 1080 "rx-decode.opc" ID(stcc); SR(rsrc); DR(rdst); S2cc(RXC_nz); } @@ -8055,14 +10105,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_58: + op_semantics_71: { /** 1111 1100 0101 01sd rsrc rdst utof %1%S1, %0 */ -#line 1116 "rx-decode.opc" +#line 1137 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 1116 "rx-decode.opc" +#line 1137 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 1116 "rx-decode.opc" +#line 1137 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -8074,7 +10124,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("utof %1%S1, %0"); -#line 1116 "rx-decode.opc" +#line 1137 "rx-decode.opc" ID(utof); DR (rdst); SP(sd, rsrc); F__SZ_; } @@ -8086,7 +10136,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_58; + goto op_semantics_71; break; } break; @@ -8095,7 +10145,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_58; + goto op_semantics_71; break; } break; @@ -8104,7 +10154,61 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_58; + goto op_semantics_71; + break; + } + break; + case 0x5a: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + { + /** 1111 1100 0101 1010 rsrc rdst bfmovz %bf */ +#line 1152 "rx-decode.opc" + int rsrc AU = (op[2] >> 4) & 0x0f; +#line 1152 "rx-decode.opc" + int rdst AU = op[2] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 1111 1100 0101 1010 rsrc rdst bfmovz %bf */", + op[0], op[1], op[2]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("bfmovz %bf"); +#line 1152 "rx-decode.opc" + ID(bfmovz); DR(rdst); SR(rsrc); S2C(IMM(2)); F_____; + + } + break; + } + break; + case 0x5e: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + { + /** 1111 1100 0101 1110 rsrc rdst bfmov %bf */ +#line 1149 "rx-decode.opc" + int rsrc AU = (op[2] >> 4) & 0x0f; +#line 1149 "rx-decode.opc" + int rdst AU = op[2] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 1111 1100 0101 1110 rsrc rdst bfmov %bf */", + op[0], op[1], op[2]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("bfmov %bf"); +#line 1149 "rx-decode.opc" + ID(bfmov); DR(rdst); SR(rsrc); S2C(IMM(2)); F_____; + + } break; } break; @@ -8113,14 +10217,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_59: + op_semantics_72: { /** 1111 1100 0110 00sd rdst rsrc bset %1, %0%S0 */ -#line 942 "rx-decode.opc" +#line 963 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 942 "rx-decode.opc" +#line 963 "rx-decode.opc" int rdst AU = (op[2] >> 4) & 0x0f; -#line 942 "rx-decode.opc" +#line 963 "rx-decode.opc" int rsrc AU = op[2] & 0x0f; if (trace) { @@ -8132,7 +10236,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("bset %1, %0%S0"); -#line 942 "rx-decode.opc" +#line 963 "rx-decode.opc" ID(bset); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE); F_____; if (sd == 3) /* bset reg,reg */ BWL(LSIZE); @@ -8146,7 +10250,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_59; + goto op_semantics_72; break; } break; @@ -8155,7 +10259,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_59; + goto op_semantics_72; break; } break; @@ -8164,7 +10268,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_59; + goto op_semantics_72; break; } break; @@ -8173,14 +10277,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_60: + op_semantics_73: { /** 1111 1100 0110 01sd rdst rsrc bclr %1, %0%S0 */ -#line 954 "rx-decode.opc" +#line 975 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 954 "rx-decode.opc" +#line 975 "rx-decode.opc" int rdst AU = (op[2] >> 4) & 0x0f; -#line 954 "rx-decode.opc" +#line 975 "rx-decode.opc" int rsrc AU = op[2] & 0x0f; if (trace) { @@ -8192,7 +10296,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("bclr %1, %0%S0"); -#line 954 "rx-decode.opc" +#line 975 "rx-decode.opc" ID(bclr); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE); F_____; if (sd == 3) /* bset reg,reg */ BWL(LSIZE); @@ -8206,7 +10310,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_60; + goto op_semantics_73; break; } break; @@ -8215,7 +10319,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_60; + goto op_semantics_73; break; } break; @@ -8224,7 +10328,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_60; + goto op_semantics_73; break; } break; @@ -8233,14 +10337,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_61: + op_semantics_74: { /** 1111 1100 0110 10sd rdst rsrc btst %2, %1%S1 */ -#line 966 "rx-decode.opc" +#line 987 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 966 "rx-decode.opc" +#line 987 "rx-decode.opc" int rdst AU = (op[2] >> 4) & 0x0f; -#line 966 "rx-decode.opc" +#line 987 "rx-decode.opc" int rsrc AU = op[2] & 0x0f; if (trace) { @@ -8252,7 +10356,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("btst %2, %1%S1"); -#line 966 "rx-decode.opc" +#line 987 "rx-decode.opc" ID(btst); BWL(BSIZE); S2R(rsrc); SD(sd, rdst, BSIZE); F___ZC; if (sd == 3) /* bset reg,reg */ BWL(LSIZE); @@ -8266,7 +10370,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_61; + goto op_semantics_74; break; } break; @@ -8275,7 +10379,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_61; + goto op_semantics_74; break; } break; @@ -8284,7 +10388,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_61; + goto op_semantics_74; break; } break; @@ -8293,14 +10397,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_62: + op_semantics_75: { /** 1111 1100 0110 11sd rdst rsrc bnot %1, %0%S0 */ -#line 978 "rx-decode.opc" +#line 999 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 978 "rx-decode.opc" +#line 999 "rx-decode.opc" int rdst AU = (op[2] >> 4) & 0x0f; -#line 978 "rx-decode.opc" +#line 999 "rx-decode.opc" int rsrc AU = op[2] & 0x0f; if (trace) { @@ -8312,7 +10416,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("bnot %1, %0%S0"); -#line 978 "rx-decode.opc" +#line 999 "rx-decode.opc" ID(bnot); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE); if (sd == 3) /* bset reg,reg */ BWL(LSIZE); @@ -8326,7 +10430,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_62; + goto op_semantics_75; break; } break; @@ -8335,7 +10439,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_62; + goto op_semantics_75; break; } break; @@ -8344,8 +10448,64 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_62; + goto op_semantics_75; + break; + } + break; + case 0x78: + GETBYTE (); + switch (op[2] & 0x0f) + { + case 0x08: + op_semantics_76: + { + /** 1111 1100 0111 10sz rdst 1000 dmov.d %1, %0 */ +#line 1185 "rx-decode.opc" + int sz AU = op[1] & 0x03; +#line 1185 "rx-decode.opc" + int rdst AU = (op[2] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 1111 1100 0111 10sz rdst 1000 dmov.d %1, %0 */", + op[0], op[1], op[2]); + printf (" sz = 0x%x,", sz); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("dmov.d %1, %0"); +#line 1185 "rx-decode.opc" + int rsrc; + rx_disp(0, sz, rdst, RX_Double, ld); + rsrc = GETBYTE(); + if (rsrc & 0x0f) + UNSUPPORTED(); + else { + ID(dmov); SDR(rsrc >> 4); F_____; + } + + } break; + default: UNSUPPORTED(); break; + } + break; + case 0x79: + GETBYTE (); + switch (op[2] & 0x0f) + { + case 0x08: + goto op_semantics_76; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x7a: + GETBYTE (); + switch (op[2] & 0x0f) + { + case 0x08: + goto op_semantics_76; + break; + default: UNSUPPORTED(); break; } break; case 0x80: @@ -8353,14 +10513,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_63: + op_semantics_77: { /** 1111 1100 1000 00sd rsrc rdst fsub %1%S1, %0 */ -#line 909 "rx-decode.opc" +#line 930 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 909 "rx-decode.opc" +#line 930 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 909 "rx-decode.opc" +#line 930 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -8372,7 +10532,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("fsub %1%S1, %0"); -#line 909 "rx-decode.opc" +#line 930 "rx-decode.opc" ID(fsub); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_; } @@ -8384,7 +10544,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_63; + goto op_semantics_77; break; } break; @@ -8393,7 +10553,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_63; + goto op_semantics_77; break; } break; @@ -8402,7 +10562,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_63; + goto op_semantics_77; break; } break; @@ -8411,14 +10571,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_64: + op_semantics_78: { /** 1111 1100 1000 01sd rsrc rdst fcmp %1%S1, %0 */ -#line 903 "rx-decode.opc" +#line 924 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 903 "rx-decode.opc" +#line 924 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 903 "rx-decode.opc" +#line 924 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -8430,7 +10590,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("fcmp %1%S1, %0"); -#line 903 "rx-decode.opc" +#line 924 "rx-decode.opc" ID(fcmp); DR(rdst); SD(sd, rsrc, LSIZE); F_OSZ_; } @@ -8442,7 +10602,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_64; + goto op_semantics_78; break; } break; @@ -8451,7 +10611,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_64; + goto op_semantics_78; break; } break; @@ -8460,7 +10620,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_64; + goto op_semantics_78; break; } break; @@ -8469,14 +10629,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_65: + op_semantics_79: { /** 1111 1100 1000 10sd rsrc rdst fadd %1%S1, %0 */ -#line 897 "rx-decode.opc" +#line 918 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 897 "rx-decode.opc" +#line 918 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 897 "rx-decode.opc" +#line 918 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -8488,7 +10648,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("fadd %1%S1, %0"); -#line 897 "rx-decode.opc" +#line 918 "rx-decode.opc" ID(fadd); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_; } @@ -8500,7 +10660,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_65; + goto op_semantics_79; break; } break; @@ -8509,7 +10669,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_65; + goto op_semantics_79; break; } break; @@ -8518,7 +10678,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_65; + goto op_semantics_79; break; } break; @@ -8527,14 +10687,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_66: + op_semantics_80: { /** 1111 1100 1000 11sd rsrc rdst fmul %1%S1, %0 */ -#line 918 "rx-decode.opc" +#line 939 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 918 "rx-decode.opc" +#line 939 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 918 "rx-decode.opc" +#line 939 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -8546,7 +10706,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("fmul %1%S1, %0"); -#line 918 "rx-decode.opc" +#line 939 "rx-decode.opc" ID(fmul); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_; } @@ -8558,7 +10718,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_66; + goto op_semantics_80; break; } break; @@ -8567,7 +10727,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_66; + goto op_semantics_80; break; } break; @@ -8576,7 +10736,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_66; + goto op_semantics_80; break; } break; @@ -8585,14 +10745,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_67: + op_semantics_81: { /** 1111 1100 1001 00sd rsrc rdst fdiv %1%S1, %0 */ -#line 924 "rx-decode.opc" +#line 945 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 924 "rx-decode.opc" +#line 945 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 924 "rx-decode.opc" +#line 945 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -8604,7 +10764,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("fdiv %1%S1, %0"); -#line 924 "rx-decode.opc" +#line 945 "rx-decode.opc" ID(fdiv); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_; } @@ -8616,7 +10776,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_67; + goto op_semantics_81; break; } break; @@ -8625,7 +10785,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_67; + goto op_semantics_81; break; } break; @@ -8634,7 +10794,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_67; + goto op_semantics_81; break; } break; @@ -8643,14 +10803,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_68: + op_semantics_82: { /** 1111 1100 1001 01sd rsrc rdst ftoi %1%S1, %0 */ -#line 912 "rx-decode.opc" +#line 933 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 912 "rx-decode.opc" +#line 933 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 912 "rx-decode.opc" +#line 933 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -8662,7 +10822,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("ftoi %1%S1, %0"); -#line 912 "rx-decode.opc" +#line 933 "rx-decode.opc" ID(ftoi); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_; } @@ -8674,7 +10834,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_68; + goto op_semantics_82; break; } break; @@ -8683,7 +10843,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_68; + goto op_semantics_82; break; } break; @@ -8692,7 +10852,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_68; + goto op_semantics_82; break; } break; @@ -8701,14 +10861,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_69: + op_semantics_83: { /** 1111 1100 1001 10sd rsrc rdst round %1%S1, %0 */ -#line 927 "rx-decode.opc" +#line 948 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 927 "rx-decode.opc" +#line 948 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 927 "rx-decode.opc" +#line 948 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -8720,7 +10880,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("round %1%S1, %0"); -#line 927 "rx-decode.opc" +#line 948 "rx-decode.opc" ID(round); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_; } @@ -8732,7 +10892,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_69; + goto op_semantics_83; break; } break; @@ -8741,7 +10901,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_69; + goto op_semantics_83; break; } break; @@ -8750,7 +10910,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_69; + goto op_semantics_83; break; } break; @@ -8759,14 +10919,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_70: + op_semantics_84: { /** 1111 1100 1010 00sd rsrc rdst fsqrt %1%S1, %0 */ -#line 1110 "rx-decode.opc" +#line 1131 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 1110 "rx-decode.opc" +#line 1131 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 1110 "rx-decode.opc" +#line 1131 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -8778,7 +10938,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("fsqrt %1%S1, %0"); -#line 1110 "rx-decode.opc" +#line 1131 "rx-decode.opc" ID(fsqrt); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_; } @@ -8790,7 +10950,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_70; + goto op_semantics_84; break; } break; @@ -8799,7 +10959,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_70; + goto op_semantics_84; break; } break; @@ -8808,7 +10968,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_70; + goto op_semantics_84; break; } break; @@ -8817,14 +10977,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_71: + op_semantics_85: { /** 1111 1100 1010 01sd rsrc rdst ftou %1%S1, %0 */ -#line 1113 "rx-decode.opc" +#line 1134 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 1113 "rx-decode.opc" +#line 1134 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 1113 "rx-decode.opc" +#line 1134 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -8836,7 +10996,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("ftou %1%S1, %0"); -#line 1113 "rx-decode.opc" +#line 1134 "rx-decode.opc" ID(ftou); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_; } @@ -8848,7 +11008,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_71; + goto op_semantics_85; break; } break; @@ -8857,7 +11017,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_71; + goto op_semantics_85; break; } break; @@ -8866,8 +11026,64 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_71; + goto op_semantics_85; + break; + } + break; + case 0xc8: + GETBYTE (); + switch (op[2] & 0x0f) + { + case 0x08: + op_semantics_86: + { + /** 1111 1100 1100 10sz rsrc 1000 dmov.d %1, %0 */ +#line 1198 "rx-decode.opc" + int sz AU = op[1] & 0x03; +#line 1198 "rx-decode.opc" + int rsrc AU = (op[2] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 1111 1100 1100 10sz rsrc 1000 dmov.d %1, %0 */", + op[0], op[1], op[2]); + printf (" sz = 0x%x,", sz); + printf (" rsrc = 0x%x\n", rsrc); + } + SYNTAX("dmov.d %1, %0"); +#line 1198 "rx-decode.opc" + int rdst; + rx_disp(1, sz, rsrc, RX_Double, ld); + rdst = GETBYTE(); + if (rdst & 0x0f) + UNSUPPORTED(); + else { + ID(dmov); DDR(rdst >> 4); F_____; + } + + } + break; + default: UNSUPPORTED(); break; + } + break; + case 0xc9: + GETBYTE (); + switch (op[2] & 0x0f) + { + case 0x08: + goto op_semantics_86; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xca: + GETBYTE (); + switch (op[2] & 0x0f) + { + case 0x08: + goto op_semantics_86; break; + default: UNSUPPORTED(); break; } break; case 0xd0: @@ -8875,16 +11091,16 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_72: + op_semantics_87: { /** 1111 1100 1101 sz sd rdst cond sc%1%s %0 */ -#line 1044 "rx-decode.opc" +#line 1065 "rx-decode.opc" int sz AU = (op[1] >> 2) & 0x03; -#line 1044 "rx-decode.opc" +#line 1065 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 1044 "rx-decode.opc" +#line 1065 "rx-decode.opc" int rdst AU = (op[2] >> 4) & 0x0f; -#line 1044 "rx-decode.opc" +#line 1065 "rx-decode.opc" int cond AU = op[2] & 0x0f; if (trace) { @@ -8897,11 +11113,11 @@ rx_decode_opcode (unsigned long pc AU, printf (" cond = 0x%x\n", cond); } SYNTAX("sc%1%s %0"); -#line 1044 "rx-decode.opc" +#line 1065 "rx-decode.opc" ID(sccnd); BWL(sz); DD (sd, rdst, sz); Scc(cond); /*----------------------------------------------------------------------*/ - /* RXv2 enhanced */ + /* RXv2 enhanced */ } break; @@ -8912,7 +11128,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_72; + goto op_semantics_87; break; } break; @@ -8921,7 +11137,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_72; + goto op_semantics_87; break; } break; @@ -8930,7 +11146,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_72; + goto op_semantics_87; break; } break; @@ -8939,7 +11155,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_72; + goto op_semantics_87; break; } break; @@ -8948,7 +11164,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_72; + goto op_semantics_87; break; } break; @@ -8957,7 +11173,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_72; + goto op_semantics_87; break; } break; @@ -8966,7 +11182,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_72; + goto op_semantics_87; break; } break; @@ -8975,7 +11191,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_72; + goto op_semantics_87; break; } break; @@ -8984,7 +11200,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_72; + goto op_semantics_87; break; } break; @@ -8993,7 +11209,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_72; + goto op_semantics_87; break; } break; @@ -9002,7 +11218,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_72; + goto op_semantics_87; break; } break; @@ -9025,16 +11241,16 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - op_semantics_73: + op_semantics_88: { /** 1111 1100 111bit sd rdst cond bm%2 #%1, %0%S0 */ -#line 987 "rx-decode.opc" +#line 1008 "rx-decode.opc" int bit AU = (op[1] >> 2) & 0x07; -#line 987 "rx-decode.opc" +#line 1008 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 987 "rx-decode.opc" +#line 1008 "rx-decode.opc" int rdst AU = (op[2] >> 4) & 0x0f; -#line 987 "rx-decode.opc" +#line 1008 "rx-decode.opc" int cond AU = op[2] & 0x0f; if (trace) { @@ -9047,20 +11263,20 @@ rx_decode_opcode (unsigned long pc AU, printf (" cond = 0x%x\n", cond); } SYNTAX("bm%2 #%1, %0%S0"); -#line 987 "rx-decode.opc" +#line 1008 "rx-decode.opc" ID(bmcc); BWL(BSIZE); S2cc(cond); SC(bit); DD(sd, rdst, BSIZE); } break; case 0x0f: - op_semantics_74: + op_semantics_89: { /** 1111 1100 111bit sd rdst 1111 bnot #%1, %0%S0 */ -#line 975 "rx-decode.opc" +#line 996 "rx-decode.opc" int bit AU = (op[1] >> 2) & 0x07; -#line 975 "rx-decode.opc" +#line 996 "rx-decode.opc" int sd AU = op[1] & 0x03; -#line 975 "rx-decode.opc" +#line 996 "rx-decode.opc" int rdst AU = (op[2] >> 4) & 0x0f; if (trace) { @@ -9072,7 +11288,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("bnot #%1, %0%S0"); -#line 975 "rx-decode.opc" +#line 996 "rx-decode.opc" ID(bnot); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE); } @@ -9098,10 +11314,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9124,10 +11340,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9150,10 +11366,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9176,10 +11392,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9202,10 +11418,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9228,10 +11444,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9254,10 +11470,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9280,10 +11496,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9306,10 +11522,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9332,10 +11548,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9358,10 +11574,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9384,10 +11600,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9410,10 +11626,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9436,10 +11652,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9462,10 +11678,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9488,10 +11704,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9514,10 +11730,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9540,10 +11756,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9566,10 +11782,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9592,10 +11808,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9618,10 +11834,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9644,10 +11860,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9670,10 +11886,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9696,10 +11912,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9722,10 +11938,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9748,10 +11964,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9774,10 +11990,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9800,10 +12016,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9826,10 +12042,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9852,10 +12068,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9878,10 +12094,10 @@ rx_decode_opcode (unsigned long pc AU, case 0x0c: case 0x0d: case 0x0e: - goto op_semantics_73; + goto op_semantics_88; break; case 0x0f: - goto op_semantics_74; + goto op_semantics_89; break; } break; @@ -9897,14 +12113,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_75: + op_semantics_90: { /** 1111 1101 0000 a000 srca srcb mulhi %1, %2, %0 */ -#line 852 "rx-decode.opc" +#line 873 "rx-decode.opc" int a AU = (op[1] >> 3) & 0x01; -#line 852 "rx-decode.opc" +#line 873 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 852 "rx-decode.opc" +#line 873 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -9916,7 +12132,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("mulhi %1, %2, %0"); -#line 852 "rx-decode.opc" +#line 873 "rx-decode.opc" ID(mulhi); DR(a+32); SR(srca); S2R(srcb); F_____; } @@ -9928,14 +12144,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_76: + op_semantics_91: { /** 1111 1101 0000 a001 srca srcb mullo %1, %2, %0 */ -#line 855 "rx-decode.opc" +#line 876 "rx-decode.opc" int a AU = (op[1] >> 3) & 0x01; -#line 855 "rx-decode.opc" +#line 876 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 855 "rx-decode.opc" +#line 876 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -9947,7 +12163,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("mullo %1, %2, %0"); -#line 855 "rx-decode.opc" +#line 876 "rx-decode.opc" ID(mullo); DR(a+32); SR(srca); S2R(srcb); F_____; } @@ -9959,14 +12175,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_77: + op_semantics_92: { /** 1111 1101 0000 a010 srca srcb mullh %1, %2, %0 */ -#line 1083 "rx-decode.opc" +#line 1104 "rx-decode.opc" int a AU = (op[1] >> 3) & 0x01; -#line 1083 "rx-decode.opc" +#line 1104 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 1083 "rx-decode.opc" +#line 1104 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -9978,7 +12194,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("mullh %1, %2, %0"); -#line 1083 "rx-decode.opc" +#line 1104 "rx-decode.opc" ID(mullh); DR(a+32); SR(srca); S2R(srcb); F_____; } @@ -9990,14 +12206,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_78: + op_semantics_93: { /** 1111 1101 0000 a011 srca srcb emula %1, %2, %0 */ -#line 1068 "rx-decode.opc" +#line 1089 "rx-decode.opc" int a AU = (op[1] >> 3) & 0x01; -#line 1068 "rx-decode.opc" +#line 1089 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 1068 "rx-decode.opc" +#line 1089 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -10009,7 +12225,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("emula %1, %2, %0"); -#line 1068 "rx-decode.opc" +#line 1089 "rx-decode.opc" ID(emula); DR(a+32); SR(srca); S2R(srcb); F_____; } @@ -10021,14 +12237,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_79: + op_semantics_94: { /** 1111 1101 0000 a100 srca srcb machi %1, %2, %0 */ -#line 858 "rx-decode.opc" +#line 879 "rx-decode.opc" int a AU = (op[1] >> 3) & 0x01; -#line 858 "rx-decode.opc" +#line 879 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 858 "rx-decode.opc" +#line 879 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -10040,7 +12256,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("machi %1, %2, %0"); -#line 858 "rx-decode.opc" +#line 879 "rx-decode.opc" ID(machi); DR(a+32); SR(srca); S2R(srcb); F_____; } @@ -10052,14 +12268,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_80: + op_semantics_95: { /** 1111 1101 0000 a101 srca srcb maclo %1, %2, %0 */ -#line 861 "rx-decode.opc" +#line 882 "rx-decode.opc" int a AU = (op[1] >> 3) & 0x01; -#line 861 "rx-decode.opc" +#line 882 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 861 "rx-decode.opc" +#line 882 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -10071,7 +12287,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("maclo %1, %2, %0"); -#line 861 "rx-decode.opc" +#line 882 "rx-decode.opc" ID(maclo); DR(a+32); SR(srca); S2R(srcb); F_____; } @@ -10083,14 +12299,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_81: + op_semantics_96: { /** 1111 1101 0000 a110 srca srcb maclh %1, %2, %0 */ -#line 1071 "rx-decode.opc" +#line 1092 "rx-decode.opc" int a AU = (op[1] >> 3) & 0x01; -#line 1071 "rx-decode.opc" +#line 1092 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 1071 "rx-decode.opc" +#line 1092 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -10102,7 +12318,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("maclh %1, %2, %0"); -#line 1071 "rx-decode.opc" +#line 1092 "rx-decode.opc" ID(maclh); DR(a+32); SR(srca); S2R(srcb); F_____; } @@ -10114,14 +12330,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_82: + op_semantics_97: { /** 1111 1101 0000 a111 srca srcb emaca %1, %2, %0 */ -#line 1062 "rx-decode.opc" +#line 1083 "rx-decode.opc" int a AU = (op[1] >> 3) & 0x01; -#line 1062 "rx-decode.opc" +#line 1083 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 1062 "rx-decode.opc" +#line 1083 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -10133,7 +12349,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("emaca %1, %2, %0"); -#line 1062 "rx-decode.opc" +#line 1083 "rx-decode.opc" ID(emaca); DR(a+32); SR(srca); S2R(srcb); F_____; } @@ -10145,7 +12361,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_75; + goto op_semantics_90; break; } break; @@ -10154,7 +12370,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_76; + goto op_semantics_91; break; } break; @@ -10163,7 +12379,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_77; + goto op_semantics_92; break; } break; @@ -10172,7 +12388,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_78; + goto op_semantics_93; break; } break; @@ -10181,7 +12397,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_79; + goto op_semantics_94; break; } break; @@ -10190,7 +12406,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_80; + goto op_semantics_95; break; } break; @@ -10199,7 +12415,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_81; + goto op_semantics_96; break; } break; @@ -10208,7 +12424,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_82; + goto op_semantics_97; break; } break; @@ -10219,9 +12435,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1101 0001 0111 a000 rsrc mvtachi %1, %0 */ -#line 864 "rx-decode.opc" +#line 885 "rx-decode.opc" int a AU = (op[2] >> 7) & 0x01; -#line 864 "rx-decode.opc" +#line 885 "rx-decode.opc" int rsrc AU = op[2] & 0x0f; if (trace) { @@ -10232,7 +12448,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("mvtachi %1, %0"); -#line 864 "rx-decode.opc" +#line 885 "rx-decode.opc" ID(mvtachi); DR(a+32); SR(rsrc); F_____; } @@ -10240,9 +12456,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x10: { /** 1111 1101 0001 0111 a001 rsrc mvtaclo %1, %0 */ -#line 867 "rx-decode.opc" +#line 888 "rx-decode.opc" int a AU = (op[2] >> 7) & 0x01; -#line 867 "rx-decode.opc" +#line 888 "rx-decode.opc" int rsrc AU = op[2] & 0x0f; if (trace) { @@ -10253,7 +12469,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("mvtaclo %1, %0"); -#line 867 "rx-decode.opc" +#line 888 "rx-decode.opc" ID(mvtaclo); DR(a+32); SR(rsrc); F_____; } @@ -10261,9 +12477,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x30: { /** 1111 1101 0001 0111 a011 rdst mvtacgu %0, %1 */ -#line 1089 "rx-decode.opc" +#line 1110 "rx-decode.opc" int a AU = (op[2] >> 7) & 0x01; -#line 1089 "rx-decode.opc" +#line 1110 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -10274,7 +12490,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mvtacgu %0, %1"); -#line 1089 "rx-decode.opc" +#line 1110 "rx-decode.opc" ID(mvtacgu); DR(a+32); SR(rdst); F_____; } @@ -10289,9 +12505,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1101 0001 1000 a00i 0000 racw #%1, %0 */ -#line 879 "rx-decode.opc" +#line 900 "rx-decode.opc" int a AU = (op[2] >> 7) & 0x01; -#line 879 "rx-decode.opc" +#line 900 "rx-decode.opc" int i AU = (op[2] >> 4) & 0x01; if (trace) { @@ -10302,7 +12518,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" i = 0x%x\n", i); } SYNTAX("racw #%1, %0"); -#line 879 "rx-decode.opc" +#line 900 "rx-decode.opc" ID(racw); SC(i+1); DR(a+32); F_____; /*----------------------------------------------------------------------*/ @@ -10313,9 +12529,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x40: { /** 1111 1101 0001 1000 a10i 0000 rdacw #%1, %0 */ -#line 1098 "rx-decode.opc" +#line 1119 "rx-decode.opc" int a AU = (op[2] >> 7) & 0x01; -#line 1098 "rx-decode.opc" +#line 1119 "rx-decode.opc" int i AU = (op[2] >> 4) & 0x01; if (trace) { @@ -10326,7 +12542,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" i = 0x%x\n", i); } SYNTAX("rdacw #%1, %0"); -#line 1098 "rx-decode.opc" +#line 1119 "rx-decode.opc" ID(rdacw); SC(i+1); DR(a+32); F_____; } @@ -10341,9 +12557,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1101 0001 1001 a00i 0000 racl #%1, %0 */ -#line 1092 "rx-decode.opc" +#line 1113 "rx-decode.opc" int a AU = (op[2] >> 7) & 0x01; -#line 1092 "rx-decode.opc" +#line 1113 "rx-decode.opc" int i AU = (op[2] >> 4) & 0x01; if (trace) { @@ -10354,7 +12570,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" i = 0x%x\n", i); } SYNTAX("racl #%1, %0"); -#line 1092 "rx-decode.opc" +#line 1113 "rx-decode.opc" ID(racl); SC(i+1); DR(a+32); F_____; } @@ -10362,9 +12578,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x40: { /** 1111 1101 0001 1001 a10i 0000 rdacl #%1, %0 */ -#line 1095 "rx-decode.opc" +#line 1116 "rx-decode.opc" int a AU = (op[2] >> 7) & 0x01; -#line 1095 "rx-decode.opc" +#line 1116 "rx-decode.opc" int i AU = (op[2] >> 4) & 0x01; if (trace) { @@ -10375,7 +12591,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" i = 0x%x\n", i); } SYNTAX("rdacl #%1, %0"); -#line 1095 "rx-decode.opc" +#line 1116 "rx-decode.opc" ID(rdacl); SC(i+1); DR(a+32); F_____; } @@ -10388,16 +12604,16 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x30) { case 0x00: - op_semantics_83: + op_semantics_98: { /** 1111 1101 0001 111i a m00 rdst mvfachi #%2, %1, %0 */ -#line 870 "rx-decode.opc" +#line 891 "rx-decode.opc" int i AU = op[1] & 0x01; -#line 870 "rx-decode.opc" +#line 891 "rx-decode.opc" int a AU = (op[2] >> 7) & 0x01; -#line 870 "rx-decode.opc" +#line 891 "rx-decode.opc" int m AU = (op[2] >> 6) & 0x01; -#line 870 "rx-decode.opc" +#line 891 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -10410,22 +12626,22 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mvfachi #%2, %1, %0"); -#line 870 "rx-decode.opc" +#line 891 "rx-decode.opc" ID(mvfachi); S2C(((i^1)<<1)|m); SR(a+32); DR(rdst); F_____; } break; case 0x10: - op_semantics_84: + op_semantics_99: { /** 1111 1101 0001 111i a m01 rdst mvfaclo #%2, %1, %0 */ -#line 876 "rx-decode.opc" +#line 897 "rx-decode.opc" int i AU = op[1] & 0x01; -#line 876 "rx-decode.opc" +#line 897 "rx-decode.opc" int a AU = (op[2] >> 7) & 0x01; -#line 876 "rx-decode.opc" +#line 897 "rx-decode.opc" int m AU = (op[2] >> 6) & 0x01; -#line 876 "rx-decode.opc" +#line 897 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -10438,22 +12654,22 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mvfaclo #%2, %1, %0"); -#line 876 "rx-decode.opc" +#line 897 "rx-decode.opc" ID(mvfaclo); S2C(((i^1)<<1)|m); SR(a+32); DR(rdst); F_____; } break; case 0x20: - op_semantics_85: + op_semantics_100: { /** 1111 1101 0001 111i a m10 rdst mvfacmi #%2, %1, %0 */ -#line 873 "rx-decode.opc" +#line 894 "rx-decode.opc" int i AU = op[1] & 0x01; -#line 873 "rx-decode.opc" +#line 894 "rx-decode.opc" int a AU = (op[2] >> 7) & 0x01; -#line 873 "rx-decode.opc" +#line 894 "rx-decode.opc" int m AU = (op[2] >> 6) & 0x01; -#line 873 "rx-decode.opc" +#line 894 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -10466,22 +12682,22 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mvfacmi #%2, %1, %0"); -#line 873 "rx-decode.opc" +#line 894 "rx-decode.opc" ID(mvfacmi); S2C(((i^1)<<1)|m); SR(a+32); DR(rdst); F_____; } break; case 0x30: - op_semantics_86: + op_semantics_101: { /** 1111 1101 0001 111i a m11 rdst mvfacgu #%2, %1, %0 */ -#line 1086 "rx-decode.opc" +#line 1107 "rx-decode.opc" int i AU = op[1] & 0x01; -#line 1086 "rx-decode.opc" +#line 1107 "rx-decode.opc" int a AU = (op[2] >> 7) & 0x01; -#line 1086 "rx-decode.opc" +#line 1107 "rx-decode.opc" int m AU = (op[2] >> 6) & 0x01; -#line 1086 "rx-decode.opc" +#line 1107 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -10494,7 +12710,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mvfacgu #%2, %1, %0"); -#line 1086 "rx-decode.opc" +#line 1107 "rx-decode.opc" ID(mvfacgu); S2C(((i^1)<<1)|m); SR(a+32); DR(rdst); F_____; } @@ -10506,16 +12722,16 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x30) { case 0x00: - goto op_semantics_83; + goto op_semantics_98; break; case 0x10: - goto op_semantics_84; + goto op_semantics_99; break; case 0x20: - goto op_semantics_85; + goto op_semantics_100; break; case 0x30: - goto op_semantics_86; + goto op_semantics_101; break; } break; @@ -10524,16 +12740,16 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_87: + op_semantics_102: { /** 1111 1101 0010 0p sz rdst rsrc mov%s %1, %0 */ -#line 348 "rx-decode.opc" +#line 369 "rx-decode.opc" int p AU = (op[1] >> 2) & 0x01; -#line 348 "rx-decode.opc" +#line 369 "rx-decode.opc" int sz AU = op[1] & 0x03; -#line 348 "rx-decode.opc" +#line 369 "rx-decode.opc" int rdst AU = (op[2] >> 4) & 0x0f; -#line 348 "rx-decode.opc" +#line 369 "rx-decode.opc" int rsrc AU = op[2] & 0x0f; if (trace) { @@ -10546,7 +12762,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("mov%s %1, %0"); -#line 348 "rx-decode.opc" +#line 369 "rx-decode.opc" ID(mov); sBWL (sz); SR(rsrc); F_____; OP(0, p ? RX_Operand_Predec : RX_Operand_Postinc, rdst, 0); @@ -10559,7 +12775,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_87; + goto op_semantics_102; break; } break; @@ -10568,7 +12784,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_87; + goto op_semantics_102; break; } break; @@ -10577,7 +12793,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_87; + goto op_semantics_102; break; } break; @@ -10586,7 +12802,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_87; + goto op_semantics_102; break; } break; @@ -10595,7 +12811,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_87; + goto op_semantics_102; break; } break; @@ -10606,9 +12822,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1101 0010 0111 rdst rsrc movco %1, [%0] */ -#line 1050 "rx-decode.opc" +#line 1071 "rx-decode.opc" int rdst AU = (op[2] >> 4) & 0x0f; -#line 1050 "rx-decode.opc" +#line 1071 "rx-decode.opc" int rsrc AU = op[2] & 0x0f; if (trace) { @@ -10619,7 +12835,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rsrc = 0x%x\n", rsrc); } SYNTAX("movco %1, [%0]"); -#line 1050 "rx-decode.opc" +#line 1071 "rx-decode.opc" ID(movco); SR(rsrc); DR(rdst); F_____; } @@ -10631,16 +12847,16 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_88: + op_semantics_103: { /** 1111 1101 0010 1p sz rsrc rdst mov%s %1, %0 */ -#line 352 "rx-decode.opc" +#line 373 "rx-decode.opc" int p AU = (op[1] >> 2) & 0x01; -#line 352 "rx-decode.opc" +#line 373 "rx-decode.opc" int sz AU = op[1] & 0x03; -#line 352 "rx-decode.opc" +#line 373 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 352 "rx-decode.opc" +#line 373 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -10653,7 +12869,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mov%s %1, %0"); -#line 352 "rx-decode.opc" +#line 373 "rx-decode.opc" ID(mov); sBWL (sz); DR(rdst); F_____; OP(1, p ? RX_Operand_Predec : RX_Operand_Postinc, rsrc, 0); @@ -10666,7 +12882,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_88; + goto op_semantics_103; break; } break; @@ -10675,7 +12891,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_88; + goto op_semantics_103; break; } break; @@ -10684,7 +12900,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_88; + goto op_semantics_103; break; } break; @@ -10693,7 +12909,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_88; + goto op_semantics_103; break; } break; @@ -10702,7 +12918,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_88; + goto op_semantics_103; break; } break; @@ -10713,9 +12929,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1101 0010 1111 rsrc rdst movli [%1], %0 */ -#line 1053 "rx-decode.opc" +#line 1074 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 1053 "rx-decode.opc" +#line 1074 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -10726,7 +12942,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("movli [%1], %0"); -#line 1053 "rx-decode.opc" +#line 1074 "rx-decode.opc" ID(movli); SR(rsrc); DR(rdst); F_____; } @@ -10738,16 +12954,16 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_89: + op_semantics_104: { /** 1111 1101 0011 1p sz rsrc rdst movu%s %1, %0 */ -#line 362 "rx-decode.opc" +#line 383 "rx-decode.opc" int p AU = (op[1] >> 2) & 0x01; -#line 362 "rx-decode.opc" +#line 383 "rx-decode.opc" int sz AU = op[1] & 0x03; -#line 362 "rx-decode.opc" +#line 383 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 362 "rx-decode.opc" +#line 383 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -10760,7 +12976,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("movu%s %1, %0"); -#line 362 "rx-decode.opc" +#line 383 "rx-decode.opc" ID(mov); uBW (sz); DR(rdst); F_____; OP(1, p ? RX_Operand_Predec : RX_Operand_Postinc, rsrc, 0); @@ -10776,7 +12992,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_89; + goto op_semantics_104; break; } break; @@ -10785,7 +13001,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_89; + goto op_semantics_104; break; } break; @@ -10794,7 +13010,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_89; + goto op_semantics_104; break; } break; @@ -10803,7 +13019,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_89; + goto op_semantics_104; break; } break; @@ -10812,7 +13028,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_89; + goto op_semantics_104; break; } break; @@ -10821,14 +13037,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_90: + op_semantics_105: { /** 1111 1101 0100 a100 srca srcb msbhi %1, %2, %0 */ -#line 1074 "rx-decode.opc" +#line 1095 "rx-decode.opc" int a AU = (op[1] >> 3) & 0x01; -#line 1074 "rx-decode.opc" +#line 1095 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 1074 "rx-decode.opc" +#line 1095 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -10840,7 +13056,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("msbhi %1, %2, %0"); -#line 1074 "rx-decode.opc" +#line 1095 "rx-decode.opc" ID(msbhi); DR(a+32); SR(srca); S2R(srcb); F_____; } @@ -10852,14 +13068,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_91: + op_semantics_106: { /** 1111 1101 0100 a101 srca srcb msblo %1, %2, %0 */ -#line 1080 "rx-decode.opc" +#line 1101 "rx-decode.opc" int a AU = (op[1] >> 3) & 0x01; -#line 1080 "rx-decode.opc" +#line 1101 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 1080 "rx-decode.opc" +#line 1101 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -10871,7 +13087,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("msblo %1, %2, %0"); -#line 1080 "rx-decode.opc" +#line 1101 "rx-decode.opc" ID(msblo); DR(a+32); SR(srca); S2R(srcb); F_____; } @@ -10883,14 +13099,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_92: + op_semantics_107: { /** 1111 1101 0100 a110 srca srcb msblh %1, %2, %0 */ -#line 1077 "rx-decode.opc" +#line 1098 "rx-decode.opc" int a AU = (op[1] >> 3) & 0x01; -#line 1077 "rx-decode.opc" +#line 1098 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 1077 "rx-decode.opc" +#line 1098 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -10902,7 +13118,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("msblh %1, %2, %0"); -#line 1077 "rx-decode.opc" +#line 1098 "rx-decode.opc" ID(msblh); DR(a+32); SR(srca); S2R(srcb); F_____; } @@ -10914,14 +13130,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_93: + op_semantics_108: { /** 1111 1101 0100 a111 srca srcb emsba %1, %2, %0 */ -#line 1065 "rx-decode.opc" +#line 1086 "rx-decode.opc" int a AU = (op[1] >> 3) & 0x01; -#line 1065 "rx-decode.opc" +#line 1086 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 1065 "rx-decode.opc" +#line 1086 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -10933,7 +13149,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("emsba %1, %2, %0"); -#line 1065 "rx-decode.opc" +#line 1086 "rx-decode.opc" ID(emsba); DR(a+32); SR(srca); S2R(srcb); F_____; } @@ -10945,7 +13161,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_90; + goto op_semantics_105; break; } break; @@ -10954,7 +13170,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_91; + goto op_semantics_106; break; } break; @@ -10963,7 +13179,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_92; + goto op_semantics_107; break; } break; @@ -10972,7 +13188,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_93; + goto op_semantics_108; break; } break; @@ -10983,9 +13199,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1101 0110 0000 rsrc rdst shlr %2, %0 */ -#line 733 "rx-decode.opc" +#line 754 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 733 "rx-decode.opc" +#line 754 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -10996,7 +13212,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("shlr %2, %0"); -#line 733 "rx-decode.opc" +#line 754 "rx-decode.opc" ID(shlr); S2R(rsrc); SR(rdst); DR(rdst); F__SZC; } @@ -11010,9 +13226,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1101 0110 0001 rsrc rdst shar %2, %0 */ -#line 723 "rx-decode.opc" +#line 744 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 723 "rx-decode.opc" +#line 744 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11023,7 +13239,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("shar %2, %0"); -#line 723 "rx-decode.opc" +#line 744 "rx-decode.opc" ID(shar); S2R(rsrc); SR(rdst); DR(rdst); F_0SZC; } @@ -11037,9 +13253,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1101 0110 0010 rsrc rdst shll %2, %0 */ -#line 713 "rx-decode.opc" +#line 734 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 713 "rx-decode.opc" +#line 734 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11050,7 +13266,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("shll %2, %0"); -#line 713 "rx-decode.opc" +#line 734 "rx-decode.opc" ID(shll); S2R(rsrc); SR(rdst); DR(rdst); F_OSZC; } @@ -11064,9 +13280,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1101 0110 0100 rsrc rdst rotr %1, %0 */ -#line 757 "rx-decode.opc" +#line 778 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 757 "rx-decode.opc" +#line 778 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11077,7 +13293,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("rotr %1, %0"); -#line 757 "rx-decode.opc" +#line 778 "rx-decode.opc" ID(rotr); SR(rsrc); DR(rdst); F__SZC; } @@ -11091,9 +13307,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1101 0110 0101 rsrc rdst revw %1, %0 */ -#line 760 "rx-decode.opc" +#line 781 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 760 "rx-decode.opc" +#line 781 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11104,7 +13320,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("revw %1, %0"); -#line 760 "rx-decode.opc" +#line 781 "rx-decode.opc" ID(revw); SR(rsrc); DR(rdst); } @@ -11118,9 +13334,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1101 0110 0110 rsrc rdst rotl %1, %0 */ -#line 751 "rx-decode.opc" +#line 772 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 751 "rx-decode.opc" +#line 772 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11131,7 +13347,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("rotl %1, %0"); -#line 751 "rx-decode.opc" +#line 772 "rx-decode.opc" ID(rotl); SR(rsrc); DR(rdst); F__SZC; } @@ -11145,9 +13361,9 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1101 0110 0111 rsrc rdst revl %1, %0 */ -#line 763 "rx-decode.opc" +#line 784 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 763 "rx-decode.opc" +#line 784 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11158,7 +13374,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("revl %1, %0"); -#line 763 "rx-decode.opc" +#line 784 "rx-decode.opc" ID(revl); SR(rsrc); DR(rdst); /*----------------------------------------------------------------------*/ @@ -11173,14 +13389,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_94: + op_semantics_109: { /** 1111 1101 0110 100c rsrc rdst mvtc %1, %0 */ -#line 1014 "rx-decode.opc" +#line 1035 "rx-decode.opc" int c AU = op[1] & 0x01; -#line 1014 "rx-decode.opc" +#line 1035 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 1014 "rx-decode.opc" +#line 1035 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11192,7 +13408,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mvtc %1, %0"); -#line 1014 "rx-decode.opc" +#line 1035 "rx-decode.opc" ID(mov); SR(rsrc); DR(c*16+rdst + 16); } @@ -11204,7 +13420,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_94; + goto op_semantics_109; break; } break; @@ -11213,14 +13429,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_95: + op_semantics_110: { /** 1111 1101 0110 101s rsrc rdst mvfc %1, %0 */ -#line 1017 "rx-decode.opc" +#line 1038 "rx-decode.opc" int s AU = op[1] & 0x01; -#line 1017 "rx-decode.opc" +#line 1038 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 1017 "rx-decode.opc" +#line 1038 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11232,7 +13448,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mvfc %1, %0"); -#line 1017 "rx-decode.opc" +#line 1038 "rx-decode.opc" ID(mov); SR((s*16+rsrc) + 16); DR(rdst); /*----------------------------------------------------------------------*/ @@ -11247,7 +13463,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_95; + goto op_semantics_110; break; } break; @@ -11256,14 +13472,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_96: + op_semantics_111: { /** 1111 1101 0110 110i mmmm rdst rotr #%1, %0 */ -#line 754 "rx-decode.opc" +#line 775 "rx-decode.opc" int i AU = op[1] & 0x01; -#line 754 "rx-decode.opc" +#line 775 "rx-decode.opc" int mmmm AU = (op[2] >> 4) & 0x0f; -#line 754 "rx-decode.opc" +#line 775 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11275,7 +13491,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("rotr #%1, %0"); -#line 754 "rx-decode.opc" +#line 775 "rx-decode.opc" ID(rotr); SC(i*16+mmmm); DR(rdst); F__SZC; } @@ -11287,7 +13503,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_96; + goto op_semantics_111; break; } break; @@ -11296,14 +13512,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_97: + op_semantics_112: { /** 1111 1101 0110 111i mmmm rdst rotl #%1, %0 */ -#line 748 "rx-decode.opc" +#line 769 "rx-decode.opc" int i AU = op[1] & 0x01; -#line 748 "rx-decode.opc" +#line 769 "rx-decode.opc" int mmmm AU = (op[2] >> 4) & 0x0f; -#line 748 "rx-decode.opc" +#line 769 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11315,7 +13531,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("rotl #%1, %0"); -#line 748 "rx-decode.opc" +#line 769 "rx-decode.opc" ID(rotl); SC(i*16+mmmm); DR(rdst); F__SZC; } @@ -11327,7 +13543,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_97; + goto op_semantics_112; break; } break; @@ -11336,12 +13552,12 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0xf0) { case 0x20: - op_semantics_98: + op_semantics_113: { /** 1111 1101 0111 im00 0010rdst adc #%1, %0 */ -#line 492 "rx-decode.opc" +#line 513 "rx-decode.opc" int im AU = (op[1] >> 2) & 0x03; -#line 492 "rx-decode.opc" +#line 513 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11352,18 +13568,18 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("adc #%1, %0"); -#line 492 "rx-decode.opc" +#line 513 "rx-decode.opc" ID(adc); SC(IMMex(im)); DR(rdst); F_OSZC; } break; case 0x40: - op_semantics_99: + op_semantics_114: { /** 1111 1101 0111 im00 0100rdst max #%1, %0 */ -#line 574 "rx-decode.opc" +#line 595 "rx-decode.opc" int im AU = (op[1] >> 2) & 0x03; -#line 574 "rx-decode.opc" +#line 595 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11374,7 +13590,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("max #%1, %0"); -#line 574 "rx-decode.opc" +#line 595 "rx-decode.opc" int val = IMMex (im); if (im == 0 && (unsigned) val == 0x80000000 && rdst == 0) { @@ -11390,12 +13606,12 @@ rx_decode_opcode (unsigned long pc AU, } break; case 0x50: - op_semantics_100: + op_semantics_115: { /** 1111 1101 0111 im00 0101rdst min #%1, %0 */ -#line 604 "rx-decode.opc" +#line 625 "rx-decode.opc" int im AU = (op[1] >> 2) & 0x03; -#line 604 "rx-decode.opc" +#line 625 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11406,18 +13622,18 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("min #%1, %0"); -#line 604 "rx-decode.opc" +#line 625 "rx-decode.opc" ID(min); DR(rdst); SC(IMMex(im)); } break; case 0x60: - op_semantics_101: + op_semantics_116: { /** 1111 1101 0111 im00 0110rdst emul #%1, %0 */ -#line 662 "rx-decode.opc" +#line 683 "rx-decode.opc" int im AU = (op[1] >> 2) & 0x03; -#line 662 "rx-decode.opc" +#line 683 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11428,18 +13644,18 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("emul #%1, %0"); -#line 662 "rx-decode.opc" +#line 683 "rx-decode.opc" ID(emul); DR(rdst); SC(IMMex(im)); } break; case 0x70: - op_semantics_102: + op_semantics_117: { /** 1111 1101 0111 im00 0111rdst emulu #%1, %0 */ -#line 674 "rx-decode.opc" +#line 695 "rx-decode.opc" int im AU = (op[1] >> 2) & 0x03; -#line 674 "rx-decode.opc" +#line 695 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11450,18 +13666,18 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("emulu #%1, %0"); -#line 674 "rx-decode.opc" +#line 695 "rx-decode.opc" ID(emulu); DR(rdst); SC(IMMex(im)); } break; case 0x80: - op_semantics_103: + op_semantics_118: { /** 1111 1101 0111 im00 1000rdst div #%1, %0 */ -#line 686 "rx-decode.opc" +#line 707 "rx-decode.opc" int im AU = (op[1] >> 2) & 0x03; -#line 686 "rx-decode.opc" +#line 707 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11472,18 +13688,18 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("div #%1, %0"); -#line 686 "rx-decode.opc" +#line 707 "rx-decode.opc" ID(div); DR(rdst); SC(IMMex(im)); F_O___; } break; case 0x90: - op_semantics_104: + op_semantics_119: { /** 1111 1101 0111 im00 1001rdst divu #%1, %0 */ -#line 698 "rx-decode.opc" +#line 719 "rx-decode.opc" int im AU = (op[1] >> 2) & 0x03; -#line 698 "rx-decode.opc" +#line 719 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11494,18 +13710,18 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("divu #%1, %0"); -#line 698 "rx-decode.opc" +#line 719 "rx-decode.opc" ID(divu); DR(rdst); SC(IMMex(im)); F_O___; } break; case 0xc0: - op_semantics_105: + op_semantics_120: { /** 1111 1101 0111 im00 1100rdst tst #%1, %2 */ -#line 471 "rx-decode.opc" +#line 492 "rx-decode.opc" int im AU = (op[1] >> 2) & 0x03; -#line 471 "rx-decode.opc" +#line 492 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11516,18 +13732,18 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("tst #%1, %2"); -#line 471 "rx-decode.opc" +#line 492 "rx-decode.opc" ID(and); SC(IMMex(im)); S2R(rdst); F__SZ_; } break; case 0xd0: - op_semantics_106: + op_semantics_121: { /** 1111 1101 0111 im00 1101rdst xor #%1, %0 */ -#line 450 "rx-decode.opc" +#line 471 "rx-decode.opc" int im AU = (op[1] >> 2) & 0x03; -#line 450 "rx-decode.opc" +#line 471 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11538,18 +13754,18 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("xor #%1, %0"); -#line 450 "rx-decode.opc" +#line 471 "rx-decode.opc" ID(xor); SC(IMMex(im)); DR(rdst); F__SZ_; } break; case 0xe0: - op_semantics_107: + op_semantics_122: { /** 1111 1101 0111 im00 1110rdst stz #%1, %0 */ -#line 396 "rx-decode.opc" +#line 417 "rx-decode.opc" int im AU = (op[1] >> 2) & 0x03; -#line 396 "rx-decode.opc" +#line 417 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11560,18 +13776,18 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("stz #%1, %0"); -#line 396 "rx-decode.opc" +#line 417 "rx-decode.opc" ID(stcc); SC(IMMex(im)); DR(rdst); S2cc(RXC_z); } break; case 0xf0: - op_semantics_108: + op_semantics_123: { /** 1111 1101 0111 im00 1111rdst stnz #%1, %0 */ -#line 399 "rx-decode.opc" +#line 420 "rx-decode.opc" int im AU = (op[1] >> 2) & 0x03; -#line 399 "rx-decode.opc" +#line 420 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11582,7 +13798,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("stnz #%1, %0"); -#line 399 "rx-decode.opc" +#line 420 "rx-decode.opc" ID(stcc); SC(IMMex(im)); DR(rdst); S2cc(RXC_nz); /*----------------------------------------------------------------------*/ @@ -11600,7 +13816,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x00: { /** 1111 1101 0111 0010 0000 rdst fsub #%1, %0 */ -#line 906 "rx-decode.opc" +#line 927 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11610,7 +13826,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("fsub #%1, %0"); -#line 906 "rx-decode.opc" +#line 927 "rx-decode.opc" ID(fsub); DR(rdst); SC(IMM(0)); F__SZ_; } @@ -11618,7 +13834,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x10: { /** 1111 1101 0111 0010 0001 rdst fcmp #%1, %0 */ -#line 900 "rx-decode.opc" +#line 921 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11628,7 +13844,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("fcmp #%1, %0"); -#line 900 "rx-decode.opc" +#line 921 "rx-decode.opc" ID(fcmp); DR(rdst); SC(IMM(0)); F_OSZ_; } @@ -11636,7 +13852,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x20: { /** 1111 1101 0111 0010 0010 rdst fadd #%1, %0 */ -#line 894 "rx-decode.opc" +#line 915 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11646,7 +13862,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("fadd #%1, %0"); -#line 894 "rx-decode.opc" +#line 915 "rx-decode.opc" ID(fadd); DR(rdst); SC(IMM(0)); F__SZ_; } @@ -11654,7 +13870,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x30: { /** 1111 1101 0111 0010 0011 rdst fmul #%1, %0 */ -#line 915 "rx-decode.opc" +#line 936 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11664,7 +13880,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("fmul #%1, %0"); -#line 915 "rx-decode.opc" +#line 936 "rx-decode.opc" ID(fmul); DR(rdst); SC(IMM(0)); F__SZ_; } @@ -11672,7 +13888,7 @@ rx_decode_opcode (unsigned long pc AU, case 0x40: { /** 1111 1101 0111 0010 0100 rdst fdiv #%1, %0 */ -#line 921 "rx-decode.opc" +#line 942 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11682,7 +13898,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("fdiv #%1, %0"); -#line 921 "rx-decode.opc" +#line 942 "rx-decode.opc" ID(fdiv); DR(rdst); SC(IMM(0)); F__SZ_; } @@ -11695,12 +13911,12 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0xe0) { case 0x00: - op_semantics_109: + op_semantics_124: { /** 1111 1101 0111 im11 000crdst mvtc #%1, %0 */ -#line 1011 "rx-decode.opc" +#line 1032 "rx-decode.opc" int im AU = (op[1] >> 2) & 0x03; -#line 1011 "rx-decode.opc" +#line 1032 "rx-decode.opc" int crdst AU = op[2] & 0x1f; if (trace) { @@ -11711,7 +13927,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" crdst = 0x%x\n", crdst); } SYNTAX("mvtc #%1, %0"); -#line 1011 "rx-decode.opc" +#line 1032 "rx-decode.opc" ID(mov); SC(IMMex(im)); DR(crdst + 16); } @@ -11724,47 +13940,1320 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0xf0) { case 0x20: - goto op_semantics_98; + goto op_semantics_113; break; case 0x40: - goto op_semantics_99; + goto op_semantics_114; break; case 0x50: - goto op_semantics_100; + goto op_semantics_115; break; case 0x60: - goto op_semantics_101; + goto op_semantics_116; break; case 0x70: - goto op_semantics_102; + goto op_semantics_117; break; case 0x80: - goto op_semantics_103; + goto op_semantics_118; break; case 0x90: - goto op_semantics_104; + goto op_semantics_119; break; case 0xc0: - goto op_semantics_105; + goto op_semantics_120; break; case 0xd0: - goto op_semantics_106; + goto op_semantics_121; break; case 0xe0: - goto op_semantics_107; + goto op_semantics_122; break; case 0xf0: - goto op_semantics_108; + goto op_semantics_123; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x75: + GETBYTE (); + switch (op[2] & 0xff) + { + case 0x80: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + op_semantics_125: + { + /** 1111 1101 0111 0101 1000 rdst rsrc 0000 dmov.l %1, %0 */ +#line 1176 "rx-decode.opc" + int rdst AU = op[2] & 0x0f; +#line 1176 "rx-decode.opc" + int rsrc AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 1111 1101 0111 0101 1000 rdst rsrc 0000 dmov.l %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rdst = 0x%x,", rdst); + printf (" rsrc = 0x%x\n", rsrc); + } + SYNTAX("dmov.l %1, %0"); +#line 1176 "rx-decode.opc" + ID(dmov); DR(rdst); SDRL(rsrc); F_____; + + } + break; + case 0x02: + op_semantics_126: + { + /** 1111 1101 0111 0101 1000 rdst rsrc 0010 dmov.l %1, %0 */ +#line 1173 "rx-decode.opc" + int rdst AU = op[2] & 0x0f; +#line 1173 "rx-decode.opc" + int rsrc AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 1111 1101 0111 0101 1000 rdst rsrc 0010 dmov.l %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rdst = 0x%x,", rdst); + printf (" rsrc = 0x%x\n", rsrc); + } + SYNTAX("dmov.l %1, %0"); +#line 1173 "rx-decode.opc" + ID(dmov); DR(rdst); SDRH(rsrc); F_____; + + } + break; + case 0x04: + op_semantics_127: + { + /** 1111 1101 0111 0101 1000 rdst rsrc 0100 mvfdc %1, %0 */ +#line 1226 "rx-decode.opc" + int rdst AU = op[2] & 0x0f; +#line 1226 "rx-decode.opc" + int rsrc AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 1111 1101 0111 0101 1000 rdst rsrc 0100 mvfdc %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rdst = 0x%x,", rdst); + printf (" rsrc = 0x%x\n", rsrc); + } + SYNTAX("mvfdc %1, %0"); +#line 1226 "rx-decode.opc" + ID(mvfdc); DR(rdst); SCR(rsrc); F_____; + + } + break; + default: UNSUPPORTED(); break; + } + break; + case 0x81: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x82: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x83: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x84: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x85: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x86: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x87: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x88: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x89: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x8a: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x8b: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x8c: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x8d: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x8e: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x8f: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_125; + break; + case 0x02: + goto op_semantics_126; + break; + case 0x04: + goto op_semantics_127; + break; + default: UNSUPPORTED(); break; + } + break; + default: UNSUPPORTED(); break; + } + break; + case 0x76: + GETBYTE (); + switch (op[2] & 0xff) + { + case 0xc0: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + op_semantics_128: + { + /** 1111 1101 0111 0110 1100 rsrc 0000 0000 save %1 */ +#line 1161 "rx-decode.opc" + int rsrc AU = op[2] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 1111 1101 0111 0110 1100 rsrc 0000 0000 save %1 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x\n", rsrc); + } + SYNTAX("save %1"); +#line 1161 "rx-decode.opc" + ID(save); SR(rsrc); F_____; + + } + break; + default: UNSUPPORTED(); break; + } + break; + case 0xc1: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xc2: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xc3: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xc4: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xc5: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xc6: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xc7: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xc8: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xc9: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xca: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xcb: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xcc: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xcd: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xce: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xcf: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_128; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xd0: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + op_semantics_129: + { + /** 1111 1101 0111 0110 1101 rsrc 0000 0000 rstr %1 */ +#line 1155 "rx-decode.opc" + int rsrc AU = op[2] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 1111 1101 0111 0110 1101 rsrc 0000 0000 rstr %1 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x\n", rsrc); + } + SYNTAX("rstr %1"); +#line 1155 "rx-decode.opc" + ID(rstr); SR(rsrc); F_____; + + } + break; + default: UNSUPPORTED(); break; + } + break; + case 0xd1: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xd2: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xd3: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xd4: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xd5: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xd6: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xd7: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xd8: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xd9: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xda: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xdb: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xdc: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xdd: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xde: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xdf: + GETBYTE (); + switch (op[3] & 0xff) + { + case 0x00: + goto op_semantics_129; + break; + default: UNSUPPORTED(); break; + } + break; + case 0xe0: + { + /** 1111 1101 0111 0110 1110 0000 save #%1 */ + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 1111 1101 0111 0110 1110 0000 save #%1 */", + op[0], op[1], op[2]); + } + SYNTAX("save #%1"); +#line 1164 "rx-decode.opc" + ID(save); SC(IMM(1)); F_____; + + } + break; + case 0xf0: + { + /** 1111 1101 0111 0110 1111 0000 rstr #%1 */ + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 1111 1101 0111 0110 1111 0000 rstr #%1 */", + op[0], op[1], op[2]); + } + SYNTAX("rstr #%1"); +#line 1158 "rx-decode.opc" + ID(rstr); SC(IMM(1)); F_____; + + } break; default: UNSUPPORTED(); break; } break; case 0x77: GETBYTE (); - switch (op[2] & 0xe0) + switch (op[2] & 0xff) { case 0x00: - goto op_semantics_109; + case 0x01: + case 0x02: + case 0x03: + case 0x04: + case 0x05: + case 0x06: + case 0x07: + case 0x08: + case 0x09: + case 0x0a: + case 0x0b: + case 0x0c: + case 0x0d: + case 0x0e: + case 0x0f: + case 0x10: + case 0x11: + case 0x12: + case 0x13: + case 0x14: + case 0x15: + case 0x16: + case 0x17: + case 0x18: + case 0x19: + case 0x1a: + case 0x1b: + case 0x1c: + case 0x1d: + case 0x1e: + case 0x1f: + goto op_semantics_124; + break; + case 0x80: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + op_semantics_130: + { + /** 1111 1101 0111 0111 1000 rsrc rdst 0000 dmov.l %1, %0 */ +#line 1170 "rx-decode.opc" + int rsrc AU = op[2] & 0x0f; +#line 1170 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 1111 1101 0111 0111 1000 rsrc rdst 0000 dmov.l %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("dmov.l %1, %0"); +#line 1170 "rx-decode.opc" + ID(dmov); DDRL(rdst); SR(rsrc); F_____; + + } + break; + case 0x02: + case 0x03: + op_semantics_131: + { + /** 1111 1101 0111 0111 1000 rsrc rdst 001s dmov%s %1, %0 */ +#line 1167 "rx-decode.opc" + int rsrc AU = op[2] & 0x0f; +#line 1167 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; +#line 1167 "rx-decode.opc" + int s AU = op[3] & 0x01; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 1111 1101 0111 0111 1000 rsrc rdst 001s dmov%s %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x,", rdst); + printf (" s = 0x%x\n", s); + } + SYNTAX("dmov%s %1, %0"); +#line 1167 "rx-decode.opc" + ID(dmov); DDRH(rdst); SR(rsrc); DL(s); F_____; + + } + break; + case 0x04: + op_semantics_132: + { + /** 1111 1101 0111 0111 1000 rdst rsrc 0100 mvtdc %1, %0 */ +#line 1232 "rx-decode.opc" + int rdst AU = op[2] & 0x0f; +#line 1232 "rx-decode.opc" + int rsrc AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 1111 1101 0111 0111 1000 rdst rsrc 0100 mvtdc %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rdst = 0x%x,", rdst); + printf (" rsrc = 0x%x\n", rsrc); + } + SYNTAX("mvtdc %1, %0"); +#line 1232 "rx-decode.opc" + ID(mvtdc); DCR(rdst); SR(rsrc); F_____; + + } + break; + case 0x09: + op_semantics_133: + { + /** 1111 1101 0111 0111 1000 rsrc rdst 1001 itod %1, %0 */ +#line 1274 "rx-decode.opc" + int rsrc AU = op[2] & 0x0f; +#line 1274 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 1111 1101 0111 0111 1000 rsrc rdst 1001 itod %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("itod %1, %0"); +#line 1274 "rx-decode.opc" + ID(itod); DDR(rdst); SR(rsrc); F_____; + + } + break; + case 0x0a: + op_semantics_134: + { + /** 1111 1101 0111 0111 1000 rsrc rdst 1010 ftod %1, %0 */ +#line 1271 "rx-decode.opc" + int rsrc AU = op[2] & 0x0f; +#line 1271 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 1111 1101 0111 0111 1000 rsrc rdst 1010 ftod %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("ftod %1, %0"); +#line 1271 "rx-decode.opc" + ID(ftod); DDR(rdst); SR(rsrc); F_____; + + } + break; + case 0x0d: + op_semantics_135: + { + /** 1111 1101 0111 0111 1000 rsrc rdst 1101 utod %1, %0 */ +#line 1277 "rx-decode.opc" + int rsrc AU = op[2] & 0x0f; +#line 1277 "rx-decode.opc" + int rdst AU = (op[3] >> 4) & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n", + "/** 1111 1101 0111 0111 1000 rsrc rdst 1101 utod %1, %0 */", + op[0], op[1], op[2], op[3]); + printf (" rsrc = 0x%x,", rsrc); + printf (" rdst = 0x%x\n", rdst); + } + SYNTAX("utod %1, %0"); +#line 1277 "rx-decode.opc" + ID(dsqrt); DDR(rdst); SR(rsrc); F_____; + + } + break; + default: UNSUPPORTED(); break; + } + break; + case 0x81: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x82: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x83: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x84: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x85: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x86: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x87: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x88: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x89: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x8a: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x8b: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x8c: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x8d: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x8e: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } + break; + case 0x8f: + GETBYTE (); + switch (op[3] & 0x0f) + { + case 0x00: + goto op_semantics_130; + break; + case 0x02: + case 0x03: + goto op_semantics_131; + break; + case 0x04: + goto op_semantics_132; + break; + case 0x09: + goto op_semantics_133; + break; + case 0x0a: + goto op_semantics_134; + break; + case 0x0d: + goto op_semantics_135; + break; + default: UNSUPPORTED(); break; + } break; default: UNSUPPORTED(); break; } @@ -11774,37 +15263,37 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0xf0) { case 0x20: - goto op_semantics_98; + goto op_semantics_113; break; case 0x40: - goto op_semantics_99; + goto op_semantics_114; break; case 0x50: - goto op_semantics_100; + goto op_semantics_115; break; case 0x60: - goto op_semantics_101; + goto op_semantics_116; break; case 0x70: - goto op_semantics_102; + goto op_semantics_117; break; case 0x80: - goto op_semantics_103; + goto op_semantics_118; break; case 0x90: - goto op_semantics_104; + goto op_semantics_119; break; case 0xc0: - goto op_semantics_105; + goto op_semantics_120; break; case 0xd0: - goto op_semantics_106; + goto op_semantics_121; break; case 0xe0: - goto op_semantics_107; + goto op_semantics_122; break; case 0xf0: - goto op_semantics_108; + goto op_semantics_123; break; default: UNSUPPORTED(); break; } @@ -11814,7 +15303,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0xe0) { case 0x00: - goto op_semantics_109; + goto op_semantics_124; break; default: UNSUPPORTED(); break; } @@ -11824,37 +15313,37 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0xf0) { case 0x20: - goto op_semantics_98; + goto op_semantics_113; break; case 0x40: - goto op_semantics_99; + goto op_semantics_114; break; case 0x50: - goto op_semantics_100; + goto op_semantics_115; break; case 0x60: - goto op_semantics_101; + goto op_semantics_116; break; case 0x70: - goto op_semantics_102; + goto op_semantics_117; break; case 0x80: - goto op_semantics_103; + goto op_semantics_118; break; case 0x90: - goto op_semantics_104; + goto op_semantics_119; break; case 0xc0: - goto op_semantics_105; + goto op_semantics_120; break; case 0xd0: - goto op_semantics_106; + goto op_semantics_121; break; case 0xe0: - goto op_semantics_107; + goto op_semantics_122; break; case 0xf0: - goto op_semantics_108; + goto op_semantics_123; break; default: UNSUPPORTED(); break; } @@ -11864,7 +15353,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0xe0) { case 0x00: - goto op_semantics_109; + goto op_semantics_124; break; default: UNSUPPORTED(); break; } @@ -11874,14 +15363,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_110: + op_semantics_136: { /** 1111 1101 100immmm rsrc rdst shlr #%2, %1, %0 */ -#line 736 "rx-decode.opc" +#line 757 "rx-decode.opc" int immmm AU = op[1] & 0x1f; -#line 736 "rx-decode.opc" +#line 757 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 736 "rx-decode.opc" +#line 757 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -11893,7 +15382,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("shlr #%2, %1, %0"); -#line 736 "rx-decode.opc" +#line 757 "rx-decode.opc" ID(shlr); S2C(immmm); SR(rsrc); DR(rdst); F__SZC; /*----------------------------------------------------------------------*/ @@ -11908,7 +15397,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -11917,7 +15406,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -11926,7 +15415,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -11935,7 +15424,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -11944,7 +15433,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -11953,7 +15442,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -11962,7 +15451,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -11971,7 +15460,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -11980,7 +15469,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -11989,7 +15478,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -11998,7 +15487,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12007,7 +15496,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12016,7 +15505,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12025,7 +15514,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12034,7 +15523,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12043,7 +15532,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12052,7 +15541,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12061,7 +15550,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12070,7 +15559,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12079,7 +15568,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12088,7 +15577,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12097,7 +15586,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12106,7 +15595,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12115,7 +15604,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12124,7 +15613,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12133,7 +15622,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12142,7 +15631,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12151,7 +15640,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12160,7 +15649,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12169,7 +15658,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12178,7 +15667,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_110; + goto op_semantics_136; break; } break; @@ -12187,14 +15676,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_111: + op_semantics_137: { /** 1111 1101 101immmm rsrc rdst shar #%2, %1, %0 */ -#line 726 "rx-decode.opc" +#line 747 "rx-decode.opc" int immmm AU = op[1] & 0x1f; -#line 726 "rx-decode.opc" +#line 747 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 726 "rx-decode.opc" +#line 747 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -12206,7 +15695,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("shar #%2, %1, %0"); -#line 726 "rx-decode.opc" +#line 747 "rx-decode.opc" ID(shar); S2C(immmm); SR(rsrc); DR(rdst); F_0SZC; @@ -12219,7 +15708,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12228,7 +15717,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12237,7 +15726,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12246,7 +15735,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12255,7 +15744,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12264,7 +15753,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12273,7 +15762,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12282,7 +15771,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12291,7 +15780,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12300,7 +15789,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12309,7 +15798,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12318,7 +15807,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12327,7 +15816,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12336,7 +15825,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12345,7 +15834,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12354,7 +15843,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12363,7 +15852,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12372,7 +15861,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12381,7 +15870,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12390,7 +15879,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12399,7 +15888,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12408,7 +15897,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12417,7 +15906,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12426,7 +15915,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12435,7 +15924,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12444,7 +15933,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12453,7 +15942,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12462,7 +15951,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12471,7 +15960,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12480,7 +15969,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12489,7 +15978,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_111; + goto op_semantics_137; break; } break; @@ -12498,14 +15987,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_112: + op_semantics_138: { /** 1111 1101 110immmm rsrc rdst shll #%2, %1, %0 */ -#line 716 "rx-decode.opc" +#line 737 "rx-decode.opc" int immmm AU = op[1] & 0x1f; -#line 716 "rx-decode.opc" +#line 737 "rx-decode.opc" int rsrc AU = (op[2] >> 4) & 0x0f; -#line 716 "rx-decode.opc" +#line 737 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -12517,7 +16006,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("shll #%2, %1, %0"); -#line 716 "rx-decode.opc" +#line 737 "rx-decode.opc" ID(shll); S2C(immmm); SR(rsrc); DR(rdst); F_OSZC; @@ -12530,7 +16019,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12539,7 +16028,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12548,7 +16037,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12557,7 +16046,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12566,7 +16055,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12575,7 +16064,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12584,7 +16073,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12593,7 +16082,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12602,7 +16091,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12611,7 +16100,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12620,7 +16109,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12629,7 +16118,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12638,7 +16127,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12647,7 +16136,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12656,7 +16145,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12665,7 +16154,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12674,7 +16163,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12683,7 +16172,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12692,7 +16181,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12701,7 +16190,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12710,7 +16199,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12719,7 +16208,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12728,7 +16217,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12737,7 +16226,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12746,7 +16235,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12755,7 +16244,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12764,7 +16253,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12773,7 +16262,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12782,7 +16271,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12791,7 +16280,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12800,7 +16289,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_112; + goto op_semantics_138; break; } break; @@ -12823,14 +16312,14 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - op_semantics_113: + op_semantics_139: { /** 1111 1101 111 bittt cond rdst bm%2 #%1, %0%S0 */ -#line 990 "rx-decode.opc" +#line 1011 "rx-decode.opc" int bittt AU = op[1] & 0x1f; -#line 990 "rx-decode.opc" +#line 1011 "rx-decode.opc" int cond AU = (op[2] >> 4) & 0x0f; -#line 990 "rx-decode.opc" +#line 1011 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -12842,7 +16331,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("bm%2 #%1, %0%S0"); -#line 990 "rx-decode.opc" +#line 1011 "rx-decode.opc" ID(bmcc); BWL(LSIZE); S2cc(cond); SC(bittt); DR(rdst); /*----------------------------------------------------------------------*/ @@ -12851,12 +16340,12 @@ rx_decode_opcode (unsigned long pc AU, } break; case 0xf0: - op_semantics_114: + op_semantics_140: { /** 1111 1101 111bittt 1111 rdst bnot #%1, %0 */ -#line 983 "rx-decode.opc" +#line 1004 "rx-decode.opc" int bittt AU = op[1] & 0x1f; -#line 983 "rx-decode.opc" +#line 1004 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -12867,7 +16356,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("bnot #%1, %0"); -#line 983 "rx-decode.opc" +#line 1004 "rx-decode.opc" ID(bnot); BWL(LSIZE); SC(bittt); DR(rdst); @@ -12894,10 +16383,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -12920,10 +16409,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -12946,10 +16435,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -12972,10 +16461,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -12998,10 +16487,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13024,10 +16513,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13050,10 +16539,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13076,10 +16565,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13102,10 +16591,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13128,10 +16617,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13154,10 +16643,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13180,10 +16669,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13206,10 +16695,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13232,10 +16721,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13258,10 +16747,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13284,10 +16773,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13310,10 +16799,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13336,10 +16825,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13362,10 +16851,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13388,10 +16877,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13414,10 +16903,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13440,10 +16929,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13466,10 +16955,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13492,10 +16981,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13518,10 +17007,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13544,10 +17033,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13570,10 +17059,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13596,10 +17085,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13622,10 +17111,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13648,10 +17137,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13674,10 +17163,10 @@ rx_decode_opcode (unsigned long pc AU, case 0xc0: case 0xd0: case 0xe0: - goto op_semantics_113; + goto op_semantics_139; break; case 0xf0: - goto op_semantics_114; + goto op_semantics_140; break; } break; @@ -13693,16 +17182,16 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_115: + op_semantics_141: { /** 1111 1110 00sz isrc bsrc rdst mov%s %0, [%1, %2] */ -#line 342 "rx-decode.opc" +#line 363 "rx-decode.opc" int sz AU = (op[1] >> 4) & 0x03; -#line 342 "rx-decode.opc" +#line 363 "rx-decode.opc" int isrc AU = op[1] & 0x0f; -#line 342 "rx-decode.opc" +#line 363 "rx-decode.opc" int bsrc AU = (op[2] >> 4) & 0x0f; -#line 342 "rx-decode.opc" +#line 363 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -13715,7 +17204,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mov%s %0, [%1, %2]"); -#line 342 "rx-decode.opc" +#line 363 "rx-decode.opc" ID(movbir); sBWL(sz); DR(rdst); SRR(isrc); S2R(bsrc); F_____; } @@ -13727,7 +17216,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13736,7 +17225,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13745,7 +17234,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13754,7 +17243,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13763,7 +17252,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13772,7 +17261,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13781,7 +17270,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13790,7 +17279,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13799,7 +17288,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13808,7 +17297,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13817,7 +17306,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13826,7 +17315,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13835,7 +17324,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13844,7 +17333,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13853,7 +17342,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13862,7 +17351,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13871,7 +17360,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13880,7 +17369,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13889,7 +17378,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13898,7 +17387,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13907,7 +17396,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13916,7 +17405,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13925,7 +17414,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13934,7 +17423,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13943,7 +17432,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13952,7 +17441,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13961,7 +17450,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13970,7 +17459,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13979,7 +17468,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13988,7 +17477,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -13997,7 +17486,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14006,7 +17495,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14015,7 +17504,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14024,7 +17513,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14033,7 +17522,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14042,7 +17531,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14051,7 +17540,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14060,7 +17549,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14069,7 +17558,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14078,7 +17567,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14087,7 +17576,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14096,7 +17585,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14105,7 +17594,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14114,7 +17603,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14123,7 +17612,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14132,7 +17621,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14141,7 +17630,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_115; + goto op_semantics_141; break; } break; @@ -14150,16 +17639,16 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_116: + op_semantics_142: { /** 1111 1110 01sz isrc bsrc rdst mov%s [%1, %2], %0 */ -#line 339 "rx-decode.opc" +#line 360 "rx-decode.opc" int sz AU = (op[1] >> 4) & 0x03; -#line 339 "rx-decode.opc" +#line 360 "rx-decode.opc" int isrc AU = op[1] & 0x0f; -#line 339 "rx-decode.opc" +#line 360 "rx-decode.opc" int bsrc AU = (op[2] >> 4) & 0x0f; -#line 339 "rx-decode.opc" +#line 360 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -14172,7 +17661,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("mov%s [%1, %2], %0"); -#line 339 "rx-decode.opc" +#line 360 "rx-decode.opc" ID(movbi); sBWL(sz); DR(rdst); SRR(isrc); S2R(bsrc); F_____; } @@ -14184,7 +17673,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14193,7 +17682,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14202,7 +17691,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14211,7 +17700,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14220,7 +17709,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14229,7 +17718,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14238,7 +17727,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14247,7 +17736,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14256,7 +17745,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14265,7 +17754,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14274,7 +17763,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14283,7 +17772,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14292,7 +17781,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14301,7 +17790,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14310,7 +17799,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14319,7 +17808,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14328,7 +17817,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14337,7 +17826,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14346,7 +17835,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14355,7 +17844,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14364,7 +17853,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14373,7 +17862,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14382,7 +17871,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14391,7 +17880,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14400,7 +17889,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14409,7 +17898,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14418,7 +17907,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14427,7 +17916,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14436,7 +17925,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14445,7 +17934,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14454,7 +17943,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14463,7 +17952,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14472,7 +17961,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14481,7 +17970,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14490,7 +17979,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14499,7 +17988,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14508,7 +17997,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14517,7 +18006,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14526,7 +18015,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14535,7 +18024,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14544,7 +18033,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14553,7 +18042,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14562,7 +18051,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14571,7 +18060,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14580,7 +18069,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14589,7 +18078,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14598,7 +18087,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_116; + goto op_semantics_142; break; } break; @@ -14607,16 +18096,16 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_117: + op_semantics_143: { /** 1111 1110 11sz isrc bsrc rdst movu%s [%1, %2], %0 */ -#line 345 "rx-decode.opc" +#line 366 "rx-decode.opc" int sz AU = (op[1] >> 4) & 0x03; -#line 345 "rx-decode.opc" +#line 366 "rx-decode.opc" int isrc AU = op[1] & 0x0f; -#line 345 "rx-decode.opc" +#line 366 "rx-decode.opc" int bsrc AU = (op[2] >> 4) & 0x0f; -#line 345 "rx-decode.opc" +#line 366 "rx-decode.opc" int rdst AU = op[2] & 0x0f; if (trace) { @@ -14629,7 +18118,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" rdst = 0x%x\n", rdst); } SYNTAX("movu%s [%1, %2], %0"); -#line 345 "rx-decode.opc" +#line 366 "rx-decode.opc" ID(movbi); uBW(sz); DR(rdst); SRR(isrc); S2R(bsrc); F_____; } @@ -14641,7 +18130,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14650,7 +18139,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14659,7 +18148,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14668,7 +18157,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14677,7 +18166,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14686,7 +18175,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14695,7 +18184,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14704,7 +18193,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14713,7 +18202,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14722,7 +18211,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14731,7 +18220,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14740,7 +18229,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14749,7 +18238,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14758,7 +18247,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14767,7 +18256,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14776,7 +18265,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14785,7 +18274,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14794,7 +18283,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14803,7 +18292,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14812,7 +18301,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14821,7 +18310,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14830,7 +18319,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14839,7 +18328,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14848,7 +18337,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14857,7 +18346,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14866,7 +18355,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14875,7 +18364,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14884,7 +18373,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14893,7 +18382,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14902,7 +18391,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14911,7 +18400,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14920,7 +18409,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14929,7 +18418,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14938,7 +18427,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14947,7 +18436,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14956,7 +18445,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14965,7 +18454,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14974,7 +18463,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14983,7 +18472,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -14992,7 +18481,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -15001,7 +18490,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -15010,7 +18499,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -15019,7 +18508,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -15028,7 +18517,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -15037,7 +18526,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -15046,7 +18535,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -15055,7 +18544,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_117; + goto op_semantics_143; break; } break; @@ -15071,14 +18560,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_118: + op_semantics_144: { /** 1111 1111 0000 rdst srca srcb sub %2, %1, %0 */ -#line 549 "rx-decode.opc" +#line 570 "rx-decode.opc" int rdst AU = op[1] & 0x0f; -#line 549 "rx-decode.opc" +#line 570 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 549 "rx-decode.opc" +#line 570 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -15090,7 +18579,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("sub %2, %1, %0"); -#line 549 "rx-decode.opc" +#line 570 "rx-decode.opc" ID(sub); DR(rdst); SR(srcb); S2R(srca); F_OSZC; /*----------------------------------------------------------------------*/ @@ -15105,7 +18594,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15114,7 +18603,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15123,7 +18612,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15132,7 +18621,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15141,7 +18630,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15150,7 +18639,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15159,7 +18648,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15168,7 +18657,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15177,7 +18666,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15186,7 +18675,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15195,7 +18684,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15204,7 +18693,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15213,7 +18702,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15222,7 +18711,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15231,7 +18720,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_118; + goto op_semantics_144; break; } break; @@ -15240,14 +18729,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_119: + op_semantics_145: { /** 1111 1111 0010 rdst srca srcb add %2, %1, %0 */ -#line 516 "rx-decode.opc" +#line 537 "rx-decode.opc" int rdst AU = op[1] & 0x0f; -#line 516 "rx-decode.opc" +#line 537 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 516 "rx-decode.opc" +#line 537 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -15259,7 +18748,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("add %2, %1, %0"); -#line 516 "rx-decode.opc" +#line 537 "rx-decode.opc" ID(add); DR(rdst); SR(srcb); S2R(srca); F_OSZC; /*----------------------------------------------------------------------*/ @@ -15274,7 +18763,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15283,7 +18772,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15292,7 +18781,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15301,7 +18790,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15310,7 +18799,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15319,7 +18808,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15328,7 +18817,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15337,7 +18826,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15346,7 +18835,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15355,7 +18844,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15364,7 +18853,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15373,7 +18862,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15382,7 +18871,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15391,7 +18880,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15400,7 +18889,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_119; + goto op_semantics_145; break; } break; @@ -15409,14 +18898,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_120: + op_semantics_146: { /** 1111 1111 0011 rdst srca srcb mul %2, %1, %0 */ -#line 656 "rx-decode.opc" +#line 677 "rx-decode.opc" int rdst AU = op[1] & 0x0f; -#line 656 "rx-decode.opc" +#line 677 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 656 "rx-decode.opc" +#line 677 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -15428,7 +18917,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("mul %2, %1, %0"); -#line 656 "rx-decode.opc" +#line 677 "rx-decode.opc" ID(mul); DR(rdst); SR(srcb); S2R(srca); F_____; /*----------------------------------------------------------------------*/ @@ -15443,7 +18932,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15452,7 +18941,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15461,7 +18950,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15470,7 +18959,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15479,7 +18968,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15488,7 +18977,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15497,7 +18986,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15506,7 +18995,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15515,7 +19004,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15524,7 +19013,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15533,7 +19022,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15542,7 +19031,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15551,7 +19040,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15560,7 +19049,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15569,7 +19058,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_120; + goto op_semantics_146; break; } break; @@ -15578,14 +19067,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_121: + op_semantics_147: { /** 1111 1111 0100 rdst srca srcb and %2, %1, %0 */ -#line 426 "rx-decode.opc" +#line 447 "rx-decode.opc" int rdst AU = op[1] & 0x0f; -#line 426 "rx-decode.opc" +#line 447 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 426 "rx-decode.opc" +#line 447 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -15597,7 +19086,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("and %2, %1, %0"); -#line 426 "rx-decode.opc" +#line 447 "rx-decode.opc" ID(and); DR(rdst); SR(srcb); S2R(srca); F__SZ_; /*----------------------------------------------------------------------*/ @@ -15612,7 +19101,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15621,7 +19110,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15630,7 +19119,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15639,7 +19128,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15648,7 +19137,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15657,7 +19146,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15666,7 +19155,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15675,7 +19164,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15684,7 +19173,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15693,7 +19182,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15702,7 +19191,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15711,7 +19200,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15720,7 +19209,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15729,7 +19218,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15738,7 +19227,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_121; + goto op_semantics_147; break; } break; @@ -15747,14 +19236,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_122: + op_semantics_148: { /** 1111 1111 0101 rdst srca srcb or %2, %1, %0 */ -#line 444 "rx-decode.opc" +#line 465 "rx-decode.opc" int rdst AU = op[1] & 0x0f; -#line 444 "rx-decode.opc" +#line 465 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 444 "rx-decode.opc" +#line 465 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -15766,7 +19255,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("or %2, %1, %0"); -#line 444 "rx-decode.opc" +#line 465 "rx-decode.opc" ID(or); DR(rdst); SR(srcb); S2R(srca); F__SZ_; /*----------------------------------------------------------------------*/ @@ -15781,7 +19270,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15790,7 +19279,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15799,7 +19288,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15808,7 +19297,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15817,7 +19306,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15826,7 +19315,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15835,7 +19324,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15844,7 +19333,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15853,7 +19342,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15862,7 +19351,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15871,7 +19360,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15880,7 +19369,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15889,7 +19378,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15898,7 +19387,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; break; } break; @@ -15907,7 +19396,173 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_122; + goto op_semantics_148; + break; + } + break; + case 0x60: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + op_semantics_149: + { + /** 1111 1111 0110 rdst srca srcb xor %2, %1, %0 */ +#line 1146 "rx-decode.opc" + int rdst AU = op[1] & 0x0f; +#line 1146 "rx-decode.opc" + int srca AU = (op[2] >> 4) & 0x0f; +#line 1146 "rx-decode.opc" + int srcb AU = op[2] & 0x0f; + if (trace) + { + printf ("\033[33m%s\033[0m %02x %02x %02x\n", + "/** 1111 1111 0110 rdst srca srcb xor %2, %1, %0 */", + op[0], op[1], op[2]); + printf (" rdst = 0x%x,", rdst); + printf (" srca = 0x%x,", srca); + printf (" srcb = 0x%x\n", srcb); + } + SYNTAX("xor %2, %1, %0"); +#line 1146 "rx-decode.opc" + ID(xor); DR(rdst); SR(srcb); S2R(srca); F__SZ_; + + } + break; + } + break; + case 0x61: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x62: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x63: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x64: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x65: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x66: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x67: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x68: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x69: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x6a: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x6b: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x6c: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x6d: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x6e: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; + break; + } + break; + case 0x6f: + GETBYTE (); + switch (op[2] & 0x00) + { + case 0x00: + goto op_semantics_149; break; } break; @@ -15916,14 +19571,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_123: + op_semantics_150: { /** 1111 1111 1000 rdst srca srcb fsub %2, %1, %0 */ -#line 1104 "rx-decode.opc" +#line 1125 "rx-decode.opc" int rdst AU = op[1] & 0x0f; -#line 1104 "rx-decode.opc" +#line 1125 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 1104 "rx-decode.opc" +#line 1125 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -15935,7 +19590,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("fsub %2, %1, %0"); -#line 1104 "rx-decode.opc" +#line 1125 "rx-decode.opc" ID(fsub); DR(rdst); SR(srcb); S2R(srca); F__SZ_; } @@ -15947,7 +19602,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -15956,7 +19611,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -15965,7 +19620,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -15974,7 +19629,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -15983,7 +19638,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -15992,7 +19647,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -16001,7 +19656,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -16010,7 +19665,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -16019,7 +19674,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -16028,7 +19683,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -16037,7 +19692,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -16046,7 +19701,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -16055,7 +19710,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -16064,7 +19719,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -16073,7 +19728,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_123; + goto op_semantics_150; break; } break; @@ -16082,14 +19737,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_124: + op_semantics_151: { /** 1111 1111 1010 rdst srca srcb fadd %2, %1, %0 */ -#line 1101 "rx-decode.opc" +#line 1122 "rx-decode.opc" int rdst AU = op[1] & 0x0f; -#line 1101 "rx-decode.opc" +#line 1122 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 1101 "rx-decode.opc" +#line 1122 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -16101,7 +19756,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("fadd %2, %1, %0"); -#line 1101 "rx-decode.opc" +#line 1122 "rx-decode.opc" ID(fadd); DR(rdst); SR(srcb); S2R(srca); F__SZ_; } @@ -16113,7 +19768,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16122,7 +19777,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16131,7 +19786,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16140,7 +19795,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16149,7 +19804,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16158,7 +19813,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16167,7 +19822,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16176,7 +19831,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16185,7 +19840,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16194,7 +19849,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16203,7 +19858,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16212,7 +19867,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16221,7 +19876,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16230,7 +19885,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16239,7 +19894,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_124; + goto op_semantics_151; break; } break; @@ -16248,14 +19903,14 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - op_semantics_125: + op_semantics_152: { /** 1111 1111 1011 rdst srca srcb fmul %2, %1, %0 */ -#line 1107 "rx-decode.opc" +#line 1128 "rx-decode.opc" int rdst AU = op[1] & 0x0f; -#line 1107 "rx-decode.opc" +#line 1128 "rx-decode.opc" int srca AU = (op[2] >> 4) & 0x0f; -#line 1107 "rx-decode.opc" +#line 1128 "rx-decode.opc" int srcb AU = op[2] & 0x0f; if (trace) { @@ -16267,7 +19922,7 @@ rx_decode_opcode (unsigned long pc AU, printf (" srcb = 0x%x\n", srcb); } SYNTAX("fmul %2, %1, %0"); -#line 1107 "rx-decode.opc" +#line 1128 "rx-decode.opc" ID(fmul); DR(rdst); SR(srcb); S2R(srca); F__SZ_; } @@ -16279,7 +19934,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16288,7 +19943,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16297,7 +19952,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16306,7 +19961,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16315,7 +19970,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16324,7 +19979,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16333,7 +19988,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16342,7 +19997,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16351,7 +20006,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16360,7 +20015,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16369,7 +20024,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16378,7 +20033,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16387,7 +20042,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16396,7 +20051,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16405,7 +20060,7 @@ rx_decode_opcode (unsigned long pc AU, switch (op[2] & 0x00) { case 0x00: - goto op_semantics_125; + goto op_semantics_152; break; } break; @@ -16414,7 +20069,7 @@ rx_decode_opcode (unsigned long pc AU, break; default: UNSUPPORTED(); break; } -#line 1122 "rx-decode.opc" +#line 1280 "rx-decode.opc" return rx->n_bytes; } diff --git a/opcodes/rx-decode.opc b/opcodes/rx-decode.opc index 91442f6..59d4338 100644 --- a/opcodes/rx-decode.opc +++ b/opcodes/rx-decode.opc @@ -43,6 +43,7 @@ static int trace = 0; #define BSIZE 0 #define WSIZE 1 #define LSIZE 2 +#define DSIZE 3 /* These are for when the upper bits are "don't care" or "undefined". */ static int bwl[4] = @@ -77,6 +78,12 @@ static int memex[4] = RX_UWord }; +static int _ld[2] = +{ + RX_Long, + RX_Double +}; + #define ID(x) rx->id = RXO_##x #define OP(n,t,r,a) (rx->op[n].type = t, \ rx->op[n].reg = r, \ @@ -87,7 +94,7 @@ static int memex[4] = /* This is for the BWL and BW bitfields. */ static int SCALE[] = { 1, 2, 4, 0 }; /* This is for the prefix size enum. */ -static int PSCALE[] = { 4, 1, 1, 1, 2, 2, 2, 3, 4 }; +static int PSCALE[] = { 4, 1, 1, 1, 2, 2, 2, 3, 4, 8 }; #define GET_SCALE(_indx) ((unsigned)(_indx) < ARRAY_SIZE (SCALE) ? SCALE[(_indx)] : 0) #define GET_PSCALE(_indx) ((unsigned)(_indx) < ARRAY_SIZE (PSCALE) ? PSCALE[(_indx)] : 0) @@ -113,6 +120,11 @@ static int dsp3map[] = { 8, 9, 10, 3, 4, 5, 6, 7 }; #define DIs(r,a,s) OP (0, RX_Operand_Indirect, r, (a) * GET_SCALE (s)) #define DD(t,r,s) rx_disp (0, t, r, bwl[s], ld); #define DF(r) OP (0, RX_Operand_Flag, flagmap[r], 0) +#define DCR(r) OP (0, RX_Operand_DoubleCReg, r, 0) +#define DDR(r) OP (0, RX_Operand_DoubleReg, r, 0) +#define DDRH(r) OP (0, RX_Operand_DoubleRegH, r, 0) +#define DDRL(r) OP (0, RX_Operand_DoubleRegL, r, 0) +#define DCND(r) OP (0, RX_Operand_DoubleCond, r, 0) #define SC(i) OP (1, RX_Operand_Immediate, 0, i) #define SR(r) OP (1, RX_Operand_Register, r, 0) @@ -123,6 +135,10 @@ static int dsp3map[] = { 8, 9, 10, 3, 4, 5, 6, 7 }; #define SP(t,r) rx_disp (1, t, r, (t!=3) ? RX_UByte : RX_Long, ld); P(t, 1); #define SPm(t,r,m) rx_disp (1, t, r, memex[m], ld); rx->op[1].size = memex[m]; #define Scc(cc) OP (1, RX_Operand_Condition, cc, 0) +#define SCR(r) OP (1, RX_Operand_DoubleCReg, r, 0) +#define SDR(r) OP (1, RX_Operand_DoubleReg, r, 0) +#define SDRH(r) OP (1, RX_Operand_DoubleRegH, r, 0) +#define SDRL(r) OP (1, RX_Operand_DoubleRegL, r, 0) #define S2C(i) OP (2, RX_Operand_Immediate, 0, i) #define S2R(r) OP (2, RX_Operand_Register, r, 0) @@ -132,11 +148,16 @@ static int dsp3map[] = { 8, 9, 10, 3, 4, 5, 6, 7 }; #define S2P(t,r) rx_disp (2, t, r, (t!=3) ? RX_UByte : RX_Long, ld); P(t, 2); #define S2Pm(t,r,m) rx_disp (2, t, r, memex[m], ld); rx->op[2].size = memex[m]; #define S2cc(cc) OP (2, RX_Operand_Condition, cc, 0) +#define S2DR(r) OP (2, RX_Operand_DoubleReg, r, 0) +#define S2CR(r) OP (2, RX_Operand_DoubleCReg, r, 0) + +#define SDD(t,r,s) rx_disp (1, t, r, bwl, ld); #define BWL(sz) rx->op[0].size = rx->op[1].size = rx->op[2].size = rx->size = bwl[sz] #define sBWL(sz) rx->op[0].size = rx->op[1].size = rx->op[2].size = rx->size = sbwl[sz] #define uBW(sz) rx->op[0].size = rx->op[1].size = rx->op[2].size = rx->size = ubw[sz] #define P(t, n) rx->op[n].size = (t!=3) ? RX_UByte : RX_Long; +#define DL(sz) rx->op[0].size = rx->op[1].size = rx->op[2].size = rx->size = _ld[sz] #define F(f) store_flags(rx, f) @@ -1044,7 +1065,7 @@ rx_decode_opcode (unsigned long pc AU, ID(sccnd); BWL(sz); DD (sd, rdst, sz); Scc(cond); /*----------------------------------------------------------------------*/ -/* RXv2 enhanced */ +/* RXv2 enhanced */ /** 1111 1101 0010 0111 rdst rsrc movco %1, [%0] */ ID(movco); SR(rsrc); DR(rdst); F_____; @@ -1118,6 +1139,143 @@ rx_decode_opcode (unsigned long pc AU, /** 0000 0110 mx10 00sd 0001 0101 rsrc rdst utof %1%S1, %0 */ ID(utof); DR (rdst); SPm(sd, rsrc, mx); F__SZ_; +/*----------------------------------------------------------------------*/ +/* RXv3 enhanced */ + +/** 1111 1111 0110 rdst srca srcb xor %2, %1, %0 */ + ID(xor); DR(rdst); SR(srcb); S2R(srca); F__SZ_; + +/** 1111 1100 0101 1110 rsrc rdst bfmov %bf */ + ID(bfmov); DR(rdst); SR(rsrc); S2C(IMM(2)); F_____; + +/** 1111 1100 0101 1010 rsrc rdst bfmovz %bf */ + ID(bfmovz); DR(rdst); SR(rsrc); S2C(IMM(2)); F_____; + +/** 1111 1101 0111 0110 1101 rsrc 0000 0000 rstr %1 */ + ID(rstr); SR(rsrc); F_____; + +/** 1111 1101 0111 0110 1111 0000 rstr #%1 */ + ID(rstr); SC(IMM(1)); F_____; + +/** 1111 1101 0111 0110 1100 rsrc 0000 0000 save %1 */ + ID(save); SR(rsrc); F_____; + +/** 1111 1101 0111 0110 1110 0000 save #%1 */ + ID(save); SC(IMM(1)); F_____; + +/** 1111 1101 0111 0111 1000 rsrc rdst 001s dmov%s %1, %0 */ + ID(dmov); DDRH(rdst); SR(rsrc); DL(s); F_____; + +/** 1111 1101 0111 0111 1000 rsrc rdst 0000 dmov.l %1, %0 */ + ID(dmov); DDRL(rdst); SR(rsrc); F_____; + +/** 1111 1101 0111 0101 1000 rdst rsrc 0010 dmov.l %1, %0 */ + ID(dmov); DR(rdst); SDRH(rsrc); F_____; + +/** 1111 1101 0111 0101 1000 rdst rsrc 0000 dmov.l %1, %0 */ + ID(dmov); DR(rdst); SDRL(rsrc); F_____; + +/** 0111 0110 1001 0000 rsrc 1100 rdst 0000 dmov.d %1, %0 */ + ID(dmov); DDR(rdst); SDR(rsrc); F_____; + +/** 1111 1100 0111 1000 rdst 1000 rsrc 0000 dmov.d %1, %0 */ + ID(dmov); DD(0, rdst, 0); SDR(rsrc); F_____; + +/** 1111 1100 0111 10sz rdst 1000 dmov.d %1, %0 */ + int rsrc; + rx_disp(0, sz, rdst, RX_Double, ld); + rsrc = GETBYTE(); + if (rsrc & 0x0f) + UNSUPPORTED(); + else { + ID(dmov); SDR(rsrc >> 4); F_____; + } + +/** 1111 1100 1100 1000 rsrc 1000 rdst 0000 dmov.d %1, %0 */ + ID(dmov); SD(sd, rsrc, 0) ; DDR(rdst); F_____; + +/** 1111 1100 1100 10sz rsrc 1000 dmov.d %1, %0 */ + int rdst; + rx_disp(1, sz, rsrc, RX_Double, ld); + rdst = GETBYTE(); + if (rdst & 0x0f) + UNSUPPORTED(); + else { + ID(dmov); DDR(rdst >> 4); F_____; + } + +/** 1111 1001 0000 0011 rdst 001s dmov%s #%1, %0 */ + ID(dmov); DDRH(rdst); DL(s); SC(IMMex(0)); F_____; + +/** 1111 1001 0000 0011 rdst 0000 dmov.l #%1, %0 */ + ID(dmov); DDRL(rdst); SC(IMMex(0)); F_____; + +/** 0111 0101 1011 1000 rdst rnum dpopm.d %1-%2 */ + ID(dpopm); SDR(rdst); S2DR(rdst + rnum); F_____; + +/** 0111 0101 1010 1000 rdst rnum dpopm.l %1-%2 */ + ID(dpopm); SCR(rdst); S2CR(rdst + rnum); F_____; + +/** 0111 0101 1011 0000 rdst rnum dpushm.d %1-%2 */ + ID(dpushm); SDR(rdst); S2DR(rdst + rnum); F_____; + +/** 0111 0101 1010 0000 rdst rnum dpushm.l %1-%2 */ + ID(dpushm); SCR(rdst); S2CR(rdst + rnum); F_____; + +/** 1111 1101 0111 0101 1000 rdst rsrc 0100 mvfdc %1, %0 */ + ID(mvfdc); DR(rdst); SCR(rsrc); F_____; + +/** 0111 0101 1001 0000 0001 1011 mvfdr */ + ID(mvfdr); F_____; + +/** 1111 1101 0111 0111 1000 rdst rsrc 0100 mvtdc %1, %0 */ + ID(mvtdc); DCR(rdst); SR(rsrc); F_____; + +/** 0111 0110 1001 0000 rsrc 1100 rdst 0001 dabs %1, %0 */ + ID(dabs); DDR(rdst); SDR(rsrc); F_____; + +/** 0111 0110 1001 0000 srcb 0000 rdst srca dadd %1, %2, %0 */ + ID(dadd); DDR(rdst); SDR(srca); S2DR(srcb); F_____; + +/** 0111 0110 1001 0000 srcb 1000 cond srca dcmp%0 %1, %2 */ + ID(dcmp); DCND(cond); SDR(srca); S2DR(srcb); F_____; + +/** 0111 0110 1001 0000 srcb 0101 rdst srca ddiv %1, %2, %0 */ + ID(ddiv); DDR(rdst); SDR(srca); S2DR(srcb); F_____; + +/** 0111 0110 1001 0000 srcb 0010 rdst srca dmul %1, %2, %0 */ + ID(dmul); DDR(rdst); SDR(srca); S2DR(srcb); F_____; + +/** 0111 0110 1001 0000 rsrc 1100 rdst 0010 dneg %1, %0 */ + ID(dneg); DDR(rdst); SDR(rsrc); F_____; + +/** 0111 0110 1001 0000 rsrc 1101 rdst 1101 dround %1, %0 */ + ID(dround); DDR(rdst); SDR(rsrc); F_____; + +/** 0111 0110 1001 0000 rsrc 1101 rdst 0000 dsqrt %1, %0 */ + ID(dsqrt); DDR(rdst); SDR(rsrc); F_____; + +/** 0111 0110 1001 0000 srcb 0001 rdst srca dsub %1, %2, %0 */ + ID(dsub); DDR(rdst); SDR(srca); S2DR(srcb); F_____; + +/** 0111 0110 1001 0000 rsrc 1101 rdst 1100 dtof %1, %0 */ + ID(dtof); DDR(rdst); SDR(rsrc); F_____; + +/** 0111 0110 1001 0000 rsrc 1101 rdst 1000 dtoi %1, %0 */ + ID(dtoi); DDR(rdst); SDR(rsrc); F_____; + +/** 0111 0110 1001 0000 rsrc 1101 rdst 1001 dtou %1, %0 */ + ID(dtou); DDR(rdst); SDR(rsrc); F_____; + +/** 1111 1101 0111 0111 1000 rsrc rdst 1010 ftod %1, %0 */ + ID(ftod); DDR(rdst); SR(rsrc); F_____; + +/** 1111 1101 0111 0111 1000 rsrc rdst 1001 itod %1, %0 */ + ID(itod); DDR(rdst); SR(rsrc); F_____; + +/** 1111 1101 0111 0111 1000 rsrc rdst 1101 utod %1, %0 */ + ID(dsqrt); DDR(rdst); SR(rsrc); F_____; + /** */ return rx->n_bytes; diff --git a/opcodes/rx-dis.c b/opcodes/rx-dis.c index a583ccb..1147d64 100644 --- a/opcodes/rx-dis.c +++ b/opcodes/rx-dis.c @@ -66,12 +66,12 @@ rx_get_byte (void * vdata) static char const * size_names[RX_MAX_SIZE] = { - "", ".b", ".ub", ".b", ".w", ".uw", ".w", ".a", ".l", "<error>" + "", ".b", ".ub", ".b", ".w", ".uw", ".w", ".a", ".l", "", "<error>" }; static char const * opsize_names[RX_MAX_SIZE] = { - "", ".b", ".b", ".b", ".w", ".w", ".w", ".a", ".l", "<error>" + "", ".b", ".b", ".b", ".w", ".w", ".w", ".a", ".l", ".d", "<error>" }; static char const * register_names[] = @@ -101,6 +101,34 @@ static const char * flag_names[] = "", "", "", "", "", "", "", "", }; +static const char * double_register_names[] = +{ + "dr0", "dr1", "dr2", "dr3", "dr4", "dr5", "dr6", "dr7", + "dr8", "dr9", "dr10", "dr11", "dr12", "dr13", "dr14", "dr15", +}; + +static const char * double_register_high_names[] = +{ + "drh0", "drh1", "drh2", "drh3", "drh4", "drh5", "drh6", "drh7", + "drh8", "drh9", "drh10", "drh11", "drh12", "drh13", "drh14", "drh15", +}; + +static const char * double_register_low_names[] = +{ + "drl0", "drl1", "drl2", "drl3", "drl4", "drl5", "drl6", "drl7", + "drl8", "drl9", "drl10", "drl11", "drl12", "drl13", "drl14", "drl15", +}; + +static const char * double_control_register_names[] = +{ + "dpsw", "dcmr", "decnt", "depc", +}; + +static const char * double_condition_names[] = +{ + "", "un", "eq", "", "lt", "", "le", +}; + int print_insn_rx (bfd_vma addr, disassemble_info * dis) { @@ -186,6 +214,23 @@ print_insn_rx (bfd_vma addr, disassemble_info * dis) PR (PS, "%s", opsize_names[opcode.size]); break; + case 'b': + s ++; + if (*s == 'f') { + int imm = opcode.op[2].addend; + int slsb, dlsb, width; + dlsb = (imm >> 5) & 0x1f; + slsb = (imm & 0x1f); + slsb = (slsb >= 0x10?(slsb ^ 0x1f) + 1:slsb); + slsb = dlsb - slsb; + slsb = (slsb < 0?-slsb:slsb); + width = ((imm >> 10) & 0x1f) - dlsb; + PR (PS, "#%d, #%d, #%d, %s, %s", + slsb, dlsb, width, + register_names[opcode.op[1].reg], + register_names[opcode.op[0].reg]); + } + break; case '0': case '1': case '2': @@ -230,6 +275,21 @@ print_insn_rx (bfd_vma addr, disassemble_info * dis) case RX_Operand_Flag: PR (PS, "%s", flag_names[oper->reg]); break; + case RX_Operand_DoubleReg: + PR (PS, "%s", double_register_names[oper->reg]); + break; + case RX_Operand_DoubleRegH: + PR (PS, "%s", double_register_high_names[oper->reg]); + break; + case RX_Operand_DoubleRegL: + PR (PS, "%s", double_register_low_names[oper->reg]); + break; + case RX_Operand_DoubleCReg: + PR (PS, "%s", double_control_register_names[oper->reg]); + break; + case RX_Operand_DoubleCond: + PR (PS, "%s", double_condition_names[oper->reg]); + break; default: PR (PS, "[???]"); break; |