Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(452)

Unified Diff: opcodes/rx-decode.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « opcodes/rl78-dis.c ('k') | opcodes/rx-decode.opc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: opcodes/rx-decode.c
diff --git a/opcodes/rx-decode.c b/opcodes/rx-decode.c
index 8f047c92d1ecc2bda3334526c7da7533950efa7e..00d61e6ce13f19dfaa40e5c2a3a9ac657dc2367b 100644
--- a/opcodes/rx-decode.c
+++ b/opcodes/rx-decode.c
@@ -1,10 +1,9 @@
#line 1 "rx-decode.opc"
/* -*- c -*- */
+#include "sysdep.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-
-#include "config.h"
#include "ansidecl.h"
#include "opcode/rx.h"
@@ -271,7 +270,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("brk");
-#line 943 "rx-decode.opc"
+#line 955 "rx-decode.opc"
ID(brk);
}
@@ -286,7 +285,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("dbt");
-#line 946 "rx-decode.opc"
+#line 958 "rx-decode.opc"
ID(dbt);
}
@@ -301,7 +300,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("rts");
-#line 732 "rx-decode.opc"
+#line 744 "rx-decode.opc"
ID(rts);
/*----------------------------------------------------------------------*/
@@ -319,7 +318,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("nop");
-#line 738 "rx-decode.opc"
+#line 750 "rx-decode.opc"
ID(nop);
/*----------------------------------------------------------------------*/
@@ -337,7 +336,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bra.a %a0");
-#line 710 "rx-decode.opc"
+#line 722 "rx-decode.opc"
ID(branch); DC(pc + IMMex(3));
}
@@ -352,7 +351,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bsr.a %a0");
-#line 726 "rx-decode.opc"
+#line 738 "rx-decode.opc"
ID(jsr); DC(pc + IMMex(3));
}
@@ -369,13 +368,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_1:
{
/** 0000 0110 mx00 00ss rsrc rdst sub %2%S2, %1 */
-#line 506 "rx-decode.opc"
+#line 518 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 506 "rx-decode.opc"
+#line 518 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 506 "rx-decode.opc"
+#line 518 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 506 "rx-decode.opc"
+#line 518 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -388,7 +387,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sub %2%S2, %1");
-#line 506 "rx-decode.opc"
+#line 518 "rx-decode.opc"
ID(sub); S2Pm(ss, rsrc, mx); SR(rdst); DR(rdst); F_OSZC;
}
@@ -430,13 +429,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_2:
{
/** 0000 0110 mx00 01ss rsrc rdst cmp %2%S2, %1 */
-#line 494 "rx-decode.opc"
+#line 506 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 494 "rx-decode.opc"
+#line 506 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 494 "rx-decode.opc"
+#line 506 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 494 "rx-decode.opc"
+#line 506 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -449,7 +448,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("cmp %2%S2, %1");
-#line 494 "rx-decode.opc"
+#line 506 "rx-decode.opc"
ID(sub); S2Pm(ss, rsrc, mx); SR(rdst); F_OSZC;
/*----------------------------------------------------------------------*/
@@ -494,13 +493,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_3:
{
/** 0000 0110 mx00 10ss rsrc rdst add %1%S1, %0 */
-#line 470 "rx-decode.opc"
+#line 482 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 470 "rx-decode.opc"
+#line 482 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 470 "rx-decode.opc"
+#line 482 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 470 "rx-decode.opc"
+#line 482 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -513,7 +512,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("add %1%S1, %0");
-#line 470 "rx-decode.opc"
+#line 482 "rx-decode.opc"
ID(add); SPm(ss, rsrc, mx); DR(rdst); F_OSZC;
}
@@ -555,13 +554,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_4:
{
/** 0000 0110 mx00 11ss rsrc rdst mul %1%S1, %0 */
-#line 575 "rx-decode.opc"
+#line 587 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 575 "rx-decode.opc"
+#line 587 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 575 "rx-decode.opc"
+#line 587 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 575 "rx-decode.opc"
+#line 587 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -574,7 +573,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mul %1%S1, %0");
-#line 575 "rx-decode.opc"
+#line 587 "rx-decode.opc"
ID(mul); SPm(ss, rsrc, mx); DR(rdst); F_____;
}
@@ -616,13 +615,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_5:
{
/** 0000 0110 mx01 00ss rsrc rdst and %1%S1, %0 */
-#line 383 "rx-decode.opc"
+#line 395 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 383 "rx-decode.opc"
+#line 395 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 383 "rx-decode.opc"
+#line 395 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 383 "rx-decode.opc"
+#line 395 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -635,7 +634,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("and %1%S1, %0");
-#line 383 "rx-decode.opc"
+#line 395 "rx-decode.opc"
ID(and); SPm(ss, rsrc, mx); DR(rdst); F__SZ_;
}
@@ -677,13 +676,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_6:
{
/** 0000 0110 mx01 01ss rsrc rdst or %1%S1, %0 */
-#line 401 "rx-decode.opc"
+#line 413 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 401 "rx-decode.opc"
+#line 413 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 401 "rx-decode.opc"
+#line 413 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 401 "rx-decode.opc"
+#line 413 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -696,7 +695,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("or %1%S1, %0");
-#line 401 "rx-decode.opc"
+#line 413 "rx-decode.opc"
ID(or); SPm(ss, rsrc, mx); DR(rdst); F__SZ_;
}
@@ -742,13 +741,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_7:
{
/** 0000 0110 mx10 00sp 0000 0000 rsrc rdst sbb %1%S1, %0 */
-#line 519 "rx-decode.opc"
+#line 531 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 519 "rx-decode.opc"
+#line 531 "rx-decode.opc"
int sp AU = op[1] & 0x03;
-#line 519 "rx-decode.opc"
+#line 531 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 519 "rx-decode.opc"
+#line 531 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -761,7 +760,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sbb %1%S1, %0");
-#line 519 "rx-decode.opc"
+#line 531 "rx-decode.opc"
ID(sbb); SPm(sp, rsrc, mx); DR(rdst); F_OSZC;
/*----------------------------------------------------------------------*/
@@ -779,13 +778,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_8:
{
/** 0000 0110 mx10 00ss 0000 0100 rsrc rdst max %1%S1, %0 */
-#line 548 "rx-decode.opc"
+#line 560 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 548 "rx-decode.opc"
+#line 560 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 548 "rx-decode.opc"
+#line 560 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 548 "rx-decode.opc"
+#line 560 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -798,7 +797,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("max %1%S1, %0");
-#line 548 "rx-decode.opc"
+#line 560 "rx-decode.opc"
ID(max); SPm(ss, rsrc, mx); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -816,13 +815,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_9:
{
/** 0000 0110 mx10 00ss 0000 0101 rsrc rdst min %1%S1, %0 */
-#line 560 "rx-decode.opc"
+#line 572 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 560 "rx-decode.opc"
+#line 572 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 560 "rx-decode.opc"
+#line 572 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 560 "rx-decode.opc"
+#line 572 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -835,7 +834,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("min %1%S1, %0");
-#line 560 "rx-decode.opc"
+#line 572 "rx-decode.opc"
ID(min); SPm(ss, rsrc, mx); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -853,13 +852,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_10:
{
/** 0000 0110 mx10 00ss 0000 0110 rsrc rdst emul %1%S1, %0 */
-#line 590 "rx-decode.opc"
+#line 602 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 590 "rx-decode.opc"
+#line 602 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 590 "rx-decode.opc"
+#line 602 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 590 "rx-decode.opc"
+#line 602 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -872,7 +871,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emul %1%S1, %0");
-#line 590 "rx-decode.opc"
+#line 602 "rx-decode.opc"
ID(emul); SPm(ss, rsrc, mx); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -890,13 +889,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_11:
{
/** 0000 0110 mx10 00ss 0000 0111 rsrc rdst emulu %1%S1, %0 */
-#line 602 "rx-decode.opc"
+#line 614 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 602 "rx-decode.opc"
+#line 614 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 602 "rx-decode.opc"
+#line 614 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 602 "rx-decode.opc"
+#line 614 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -909,7 +908,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emulu %1%S1, %0");
-#line 602 "rx-decode.opc"
+#line 614 "rx-decode.opc"
ID(emulu); SPm(ss, rsrc, mx); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -927,13 +926,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_12:
{
/** 0000 0110 mx10 00ss 0000 1000 rsrc rdst div %1%S1, %0 */
-#line 614 "rx-decode.opc"
+#line 626 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 614 "rx-decode.opc"
+#line 626 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 614 "rx-decode.opc"
+#line 626 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 614 "rx-decode.opc"
+#line 626 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -946,7 +945,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("div %1%S1, %0");
-#line 614 "rx-decode.opc"
+#line 626 "rx-decode.opc"
ID(div); SPm(ss, rsrc, mx); DR(rdst); F_O___;
/*----------------------------------------------------------------------*/
@@ -964,13 +963,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_13:
{
/** 0000 0110 mx10 00ss 0000 1001 rsrc rdst divu %1%S1, %0 */
-#line 626 "rx-decode.opc"
+#line 638 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 626 "rx-decode.opc"
+#line 638 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 626 "rx-decode.opc"
+#line 638 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 626 "rx-decode.opc"
+#line 638 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -983,7 +982,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("divu %1%S1, %0");
-#line 626 "rx-decode.opc"
+#line 638 "rx-decode.opc"
ID(divu); SPm(ss, rsrc, mx); DR(rdst); F_O___;
/*----------------------------------------------------------------------*/
@@ -1001,13 +1000,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_14:
{
/** 0000 0110 mx10 00ss 0000 1100 rsrc rdst tst %1%S1, %2 */
-#line 437 "rx-decode.opc"
+#line 449 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 437 "rx-decode.opc"
+#line 449 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 437 "rx-decode.opc"
+#line 449 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 437 "rx-decode.opc"
+#line 449 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -1020,7 +1019,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("tst %1%S1, %2");
-#line 437 "rx-decode.opc"
+#line 449 "rx-decode.opc"
ID(and); SPm(ss, rsrc, mx); S2R(rdst); F__SZ_;
/*----------------------------------------------------------------------*/
@@ -1038,13 +1037,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_15:
{
/** 0000 0110 mx10 00ss 0000 1101 rsrc rdst xor %1%S1, %0 */
-#line 416 "rx-decode.opc"
+#line 428 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 416 "rx-decode.opc"
+#line 428 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 416 "rx-decode.opc"
+#line 428 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 416 "rx-decode.opc"
+#line 428 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -1057,7 +1056,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xor %1%S1, %0");
-#line 416 "rx-decode.opc"
+#line 428 "rx-decode.opc"
ID(xor); SPm(ss, rsrc, mx); DR(rdst); F__SZ_;
/*----------------------------------------------------------------------*/
@@ -1075,13 +1074,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_16:
{
/** 0000 0110 mx10 00ss 0001 0000 rsrc rdst xchg %1%S1, %0 */
-#line 350 "rx-decode.opc"
+#line 362 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 350 "rx-decode.opc"
+#line 362 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 350 "rx-decode.opc"
+#line 362 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 350 "rx-decode.opc"
+#line 362 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -1094,7 +1093,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xchg %1%S1, %0");
-#line 350 "rx-decode.opc"
+#line 362 "rx-decode.opc"
ID(xchg); DR(rdst); SPm(ss, rsrc, mx);
/*----------------------------------------------------------------------*/
@@ -1112,13 +1111,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_17:
{
/** 0000 0110 mx10 00sd 0001 0001 rsrc rdst itof %1%S1, %0 */
-#line 855 "rx-decode.opc"
+#line 867 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 855 "rx-decode.opc"
+#line 867 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 855 "rx-decode.opc"
+#line 867 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 855 "rx-decode.opc"
+#line 867 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -1131,7 +1130,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("itof %1%S1, %0");
-#line 855 "rx-decode.opc"
+#line 867 "rx-decode.opc"
ID(itof); DR (rdst); SPm(sd, rsrc, mx); F__SZ_;
/*----------------------------------------------------------------------*/
@@ -2339,11 +2338,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_18:
{
/** 0000 0110 1010 00ss 0000 0010 rsrc rdst adc %1%S1, %0 */
-#line 458 "rx-decode.opc"
+#line 470 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 458 "rx-decode.opc"
+#line 470 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 458 "rx-decode.opc"
+#line 470 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -2355,7 +2354,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("adc %1%S1, %0");
-#line 458 "rx-decode.opc"
+#line 470 "rx-decode.opc"
ID(adc); SPm(ss, rsrc, 2); DR(rdst); F_OSZC;
/*----------------------------------------------------------------------*/
@@ -3456,7 +3455,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x0f:
{
/** 0000 1dsp bra.s %a0 */
-#line 701 "rx-decode.opc"
+#line 713 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
if (trace)
{
@@ -3466,7 +3465,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" dsp = 0x%x\n", dsp);
}
SYNTAX("bra.s %a0");
-#line 701 "rx-decode.opc"
+#line 713 "rx-decode.opc"
ID(branch); DC(pc + dsp3map[dsp]);
}
@@ -3489,9 +3488,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x1f:
{
/** 0001 n dsp b%1.s %a0 */
-#line 691 "rx-decode.opc"
+#line 703 "rx-decode.opc"
int n AU = (op[0] >> 3) & 0x01;
-#line 691 "rx-decode.opc"
+#line 703 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
if (trace)
{
@@ -3502,7 +3501,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" dsp = 0x%x\n", dsp);
}
SYNTAX("b%1.s %a0");
-#line 691 "rx-decode.opc"
+#line 703 "rx-decode.opc"
ID(branch); Scc(n); DC(pc + dsp3map[dsp]);
}
@@ -3524,7 +3523,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x2f:
{
/** 0010 cond b%1.b %a0 */
-#line 694 "rx-decode.opc"
+#line 706 "rx-decode.opc"
int cond AU = op[0] & 0x0f;
if (trace)
{
@@ -3534,7 +3533,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" cond = 0x%x\n", cond);
}
SYNTAX("b%1.b %a0");
-#line 694 "rx-decode.opc"
+#line 706 "rx-decode.opc"
ID(branch); Scc(cond); DC(pc + IMMex (1));
}
@@ -3549,7 +3548,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bra.b %a0");
-#line 704 "rx-decode.opc"
+#line 716 "rx-decode.opc"
ID(branch); DC(pc + IMMex(1));
}
@@ -3564,7 +3563,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bra.w %a0");
-#line 707 "rx-decode.opc"
+#line 719 "rx-decode.opc"
ID(branch); DC(pc + IMMex(2));
}
@@ -3579,7 +3578,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bsr.w %a0");
-#line 723 "rx-decode.opc"
+#line 735 "rx-decode.opc"
ID(jsr); DC(pc + IMMex(2));
}
@@ -3588,7 +3587,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x3b:
{
/** 0011 101c b%1.w %a0 */
-#line 697 "rx-decode.opc"
+#line 709 "rx-decode.opc"
int c AU = op[0] & 0x01;
if (trace)
{
@@ -3598,7 +3597,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" c = 0x%x\n", c);
}
SYNTAX("b%1.w %a0");
-#line 697 "rx-decode.opc"
+#line 709 "rx-decode.opc"
ID(branch); Scc(c); DC(pc + IMMex (2));
@@ -3612,13 +3611,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_19:
{
/** 0011 11sz d dst sppp mov%s #%1, %0 */
-#line 271 "rx-decode.opc"
+#line 283 "rx-decode.opc"
int sz AU = op[0] & 0x03;
-#line 271 "rx-decode.opc"
+#line 283 "rx-decode.opc"
int d AU = (op[1] >> 7) & 0x01;
-#line 271 "rx-decode.opc"
+#line 283 "rx-decode.opc"
int dst AU = (op[1] >> 4) & 0x07;
-#line 271 "rx-decode.opc"
+#line 283 "rx-decode.opc"
int sppp AU = op[1] & 0x0f;
if (trace)
{
@@ -3631,7 +3630,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sppp = 0x%x\n", sppp);
}
SYNTAX("mov%s #%1, %0");
-#line 271 "rx-decode.opc"
+#line 283 "rx-decode.opc"
ID(mov); sBWL (sz); DIs(dst, d*16+sppp, sz); SC(IMM(1)); F_____;
}
@@ -3663,9 +3662,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0011 1111 rega regb rtsd #%1, %2-%0 */
-#line 368 "rx-decode.opc"
+#line 380 "rx-decode.opc"
int rega AU = (op[1] >> 4) & 0x0f;
-#line 368 "rx-decode.opc"
+#line 380 "rx-decode.opc"
int regb AU = op[1] & 0x0f;
if (trace)
{
@@ -3676,7 +3675,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" regb = 0x%x\n", regb);
}
SYNTAX("rtsd #%1, %2-%0");
-#line 368 "rx-decode.opc"
+#line 380 "rx-decode.opc"
ID(rtsd); SC(IMM(1) * 4); S2R(rega); DR(regb);
/*----------------------------------------------------------------------*/
@@ -3694,11 +3693,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_20:
{
/** 0100 00ss rsrc rdst sub %2%S2, %1 */
-#line 503 "rx-decode.opc"
+#line 515 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 503 "rx-decode.opc"
+#line 515 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 503 "rx-decode.opc"
+#line 515 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -3710,7 +3709,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sub %2%S2, %1");
-#line 503 "rx-decode.opc"
+#line 515 "rx-decode.opc"
ID(sub); S2P(ss, rsrc); SR(rdst); DR(rdst); F_OSZC;
}
@@ -3752,11 +3751,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_21:
{
/** 0100 01ss rsrc rdst cmp %2%S2, %1 */
-#line 491 "rx-decode.opc"
+#line 503 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 491 "rx-decode.opc"
+#line 503 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 491 "rx-decode.opc"
+#line 503 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -3768,7 +3767,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("cmp %2%S2, %1");
-#line 491 "rx-decode.opc"
+#line 503 "rx-decode.opc"
ID(sub); S2P(ss, rsrc); SR(rdst); F_OSZC;
}
@@ -3810,11 +3809,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_22:
{
/** 0100 10ss rsrc rdst add %1%S1, %0 */
-#line 467 "rx-decode.opc"
+#line 479 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 467 "rx-decode.opc"
+#line 479 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 467 "rx-decode.opc"
+#line 479 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -3826,7 +3825,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("add %1%S1, %0");
-#line 467 "rx-decode.opc"
+#line 479 "rx-decode.opc"
ID(add); SP(ss, rsrc); DR(rdst); F_OSZC;
}
@@ -3868,11 +3867,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_23:
{
/** 0100 11ss rsrc rdst mul %1%S1, %0 */
-#line 572 "rx-decode.opc"
+#line 584 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 572 "rx-decode.opc"
+#line 584 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 572 "rx-decode.opc"
+#line 584 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -3884,7 +3883,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mul %1%S1, %0");
-#line 572 "rx-decode.opc"
+#line 584 "rx-decode.opc"
ID(mul); SP(ss, rsrc); DR(rdst); F_____;
}
@@ -3926,11 +3925,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_24:
{
/** 0101 00ss rsrc rdst and %1%S1, %0 */
-#line 380 "rx-decode.opc"
+#line 392 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 380 "rx-decode.opc"
+#line 392 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 380 "rx-decode.opc"
+#line 392 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -3942,7 +3941,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("and %1%S1, %0");
-#line 380 "rx-decode.opc"
+#line 392 "rx-decode.opc"
ID(and); SP(ss, rsrc); DR(rdst); F__SZ_;
}
@@ -3984,11 +3983,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_25:
{
/** 0101 01ss rsrc rdst or %1%S1, %0 */
-#line 398 "rx-decode.opc"
+#line 410 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 398 "rx-decode.opc"
+#line 410 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 398 "rx-decode.opc"
+#line 410 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4000,7 +3999,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("or %1%S1, %0");
-#line 398 "rx-decode.opc"
+#line 410 "rx-decode.opc"
ID(or); SP(ss, rsrc); DR(rdst); F__SZ_;
}
@@ -4042,13 +4041,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_26:
{
/** 0101 1 s ss rsrc rdst movu%s %1, %0 */
-#line 319 "rx-decode.opc"
+#line 331 "rx-decode.opc"
int s AU = (op[0] >> 2) & 0x01;
-#line 319 "rx-decode.opc"
+#line 331 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 319 "rx-decode.opc"
+#line 331 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 319 "rx-decode.opc"
+#line 331 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4061,7 +4060,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("movu%s %1, %0");
-#line 319 "rx-decode.opc"
+#line 331 "rx-decode.opc"
ID(mov); uBWL(s); SD(ss, rsrc, s); DR(rdst); F_____;
}
@@ -4138,9 +4137,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0000 immm rdst sub #%2, %0 */
-#line 500 "rx-decode.opc"
+#line 512 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 500 "rx-decode.opc"
+#line 512 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4151,7 +4150,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sub #%2, %0");
-#line 500 "rx-decode.opc"
+#line 512 "rx-decode.opc"
ID(sub); S2C(immm); SR(rdst); DR(rdst); F_OSZC;
}
@@ -4165,9 +4164,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0001 immm rdst cmp #%2, %1 */
-#line 482 "rx-decode.opc"
+#line 494 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 482 "rx-decode.opc"
+#line 494 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4178,7 +4177,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("cmp #%2, %1");
-#line 482 "rx-decode.opc"
+#line 494 "rx-decode.opc"
ID(sub); S2C(immm); SR(rdst); F_OSZC;
}
@@ -4192,9 +4191,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0010 immm rdst add #%1, %0 */
-#line 464 "rx-decode.opc"
+#line 476 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 464 "rx-decode.opc"
+#line 476 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4205,7 +4204,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("add #%1, %0");
-#line 464 "rx-decode.opc"
+#line 476 "rx-decode.opc"
ID(add); SC(immm); DR(rdst); F_OSZC;
}
@@ -4219,9 +4218,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0011 immm rdst mul #%1, %0 */
-#line 566 "rx-decode.opc"
+#line 578 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 566 "rx-decode.opc"
+#line 578 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4232,7 +4231,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mul #%1, %0");
-#line 566 "rx-decode.opc"
+#line 578 "rx-decode.opc"
ID(mul); DR(rdst); SC(immm); F_____;
}
@@ -4246,9 +4245,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0100 immm rdst and #%1, %0 */
-#line 374 "rx-decode.opc"
+#line 386 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 374 "rx-decode.opc"
+#line 386 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4259,7 +4258,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("and #%1, %0");
-#line 374 "rx-decode.opc"
+#line 386 "rx-decode.opc"
ID(and); SC(immm); DR(rdst); F__SZ_;
}
@@ -4273,9 +4272,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0101 immm rdst or #%1, %0 */
-#line 392 "rx-decode.opc"
+#line 404 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 392 "rx-decode.opc"
+#line 404 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4286,7 +4285,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("or #%1, %0");
-#line 392 "rx-decode.opc"
+#line 404 "rx-decode.opc"
ID(or); SC(immm); DR(rdst); F__SZ_;
}
@@ -4300,9 +4299,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0110 immm rdst mov%s #%1, %0 */
-#line 268 "rx-decode.opc"
+#line 280 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 268 "rx-decode.opc"
+#line 280 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4313,7 +4312,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s #%1, %0");
-#line 268 "rx-decode.opc"
+#line 280 "rx-decode.opc"
ID(mov); DR(rdst); SC(immm); F_____;
}
@@ -4330,7 +4329,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("rtsd #%1");
-#line 365 "rx-decode.opc"
+#line 377 "rx-decode.opc"
ID(rtsd); SC(IMM(1) * 4);
}
@@ -4343,11 +4342,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_27:
{
/** 0110 100i mmmm rdst shlr #%2, %0 */
-#line 652 "rx-decode.opc"
+#line 664 "rx-decode.opc"
int i AU = op[0] & 0x01;
-#line 652 "rx-decode.opc"
+#line 664 "rx-decode.opc"
int mmmm AU = (op[1] >> 4) & 0x0f;
-#line 652 "rx-decode.opc"
+#line 664 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4359,7 +4358,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shlr #%2, %0");
-#line 652 "rx-decode.opc"
+#line 664 "rx-decode.opc"
ID(shlr); S2C(i*16+mmmm); SR(rdst); DR(rdst); F__SZC;
}
@@ -4383,11 +4382,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_28:
{
/** 0110 101i mmmm rdst shar #%2, %0 */
-#line 642 "rx-decode.opc"
+#line 654 "rx-decode.opc"
int i AU = op[0] & 0x01;
-#line 642 "rx-decode.opc"
+#line 654 "rx-decode.opc"
int mmmm AU = (op[1] >> 4) & 0x0f;
-#line 642 "rx-decode.opc"
+#line 654 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4399,7 +4398,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shar #%2, %0");
-#line 642 "rx-decode.opc"
+#line 654 "rx-decode.opc"
ID(shar); S2C(i*16+mmmm); SR(rdst); DR(rdst); F_0SZC;
}
@@ -4423,11 +4422,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_29:
{
/** 0110 110i mmmm rdst shll #%2, %0 */
-#line 632 "rx-decode.opc"
+#line 644 "rx-decode.opc"
int i AU = op[0] & 0x01;
-#line 632 "rx-decode.opc"
+#line 644 "rx-decode.opc"
int mmmm AU = (op[1] >> 4) & 0x0f;
-#line 632 "rx-decode.opc"
+#line 644 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4439,7 +4438,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shll #%2, %0");
-#line 632 "rx-decode.opc"
+#line 644 "rx-decode.opc"
ID(shll); S2C(i*16+mmmm); SR(rdst); DR(rdst); F_OSZC;
}
@@ -4462,9 +4461,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 1110 dsta dstb pushm %1-%2 */
-#line 332 "rx-decode.opc"
+#line 344 "rx-decode.opc"
int dsta AU = (op[1] >> 4) & 0x0f;
-#line 332 "rx-decode.opc"
+#line 344 "rx-decode.opc"
int dstb AU = op[1] & 0x0f;
if (trace)
{
@@ -4475,7 +4474,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" dstb = 0x%x\n", dstb);
}
SYNTAX("pushm %1-%2");
-#line 332 "rx-decode.opc"
+#line 344 "rx-decode.opc"
ID(pushm); SR(dsta); S2R(dstb); F_____;
}
@@ -4489,9 +4488,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 1111 dsta dstb popm %1-%2 */
-#line 329 "rx-decode.opc"
+#line 341 "rx-decode.opc"
int dsta AU = (op[1] >> 4) & 0x0f;
-#line 329 "rx-decode.opc"
+#line 341 "rx-decode.opc"
int dstb AU = op[1] & 0x0f;
if (trace)
{
@@ -4502,7 +4501,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" dstb = 0x%x\n", dstb);
}
SYNTAX("popm %1-%2");
-#line 329 "rx-decode.opc"
+#line 341 "rx-decode.opc"
ID(popm); SR(dsta); S2R(dstb); F_____;
}
@@ -4517,11 +4516,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_30:
{
/** 0111 00im rsrc rdst add #%1, %2, %0 */
-#line 473 "rx-decode.opc"
+#line 485 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 473 "rx-decode.opc"
+#line 485 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 473 "rx-decode.opc"
+#line 485 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4533,7 +4532,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("add #%1, %2, %0");
-#line 473 "rx-decode.opc"
+#line 485 "rx-decode.opc"
ID(add); SC(IMMex(im)); S2R(rsrc); DR(rdst); F_OSZC;
}
@@ -4575,9 +4574,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_31:
{
/** 0111 01im 0000 rsrc cmp #%2, %1%S1 */
-#line 485 "rx-decode.opc"
+#line 497 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 485 "rx-decode.opc"
+#line 497 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -4588,7 +4587,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("cmp #%2, %1%S1");
-#line 485 "rx-decode.opc"
+#line 497 "rx-decode.opc"
ID(sub); SR(rsrc); S2C(IMMex(im)); F_OSZC;
}
@@ -4597,9 +4596,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_32:
{
/** 0111 01im 0001rdst mul #%1, %0 */
-#line 569 "rx-decode.opc"
+#line 581 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 569 "rx-decode.opc"
+#line 581 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4610,7 +4609,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mul #%1, %0");
-#line 569 "rx-decode.opc"
+#line 581 "rx-decode.opc"
ID(mul); DR(rdst); SC(IMMex(im)); F_____;
}
@@ -4619,9 +4618,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_33:
{
/** 0111 01im 0010 rdst and #%1, %0 */
-#line 377 "rx-decode.opc"
+#line 389 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 377 "rx-decode.opc"
+#line 389 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4632,7 +4631,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("and #%1, %0");
-#line 377 "rx-decode.opc"
+#line 389 "rx-decode.opc"
ID(and); SC(IMMex(im)); DR(rdst); F__SZ_;
}
@@ -4641,9 +4640,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_34:
{
/** 0111 01im 0011 rdst or #%1, %0 */
-#line 395 "rx-decode.opc"
+#line 407 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 395 "rx-decode.opc"
+#line 407 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4654,7 +4653,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("or #%1, %0");
-#line 395 "rx-decode.opc"
+#line 407 "rx-decode.opc"
ID(or); SC(IMMex(im)); DR(rdst); F__SZ_;
}
@@ -4756,7 +4755,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x4f:
{
/** 0111 0101 0100 rdst mov%s #%1, %0 */
-#line 262 "rx-decode.opc"
+#line 261 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4766,7 +4765,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s #%1, %0");
-#line 262 "rx-decode.opc"
+#line 261 "rx-decode.opc"
ID(mov); DR(rdst); SC(IMM (1)); F_____;
}
@@ -4789,7 +4788,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x5f:
{
/** 0111 0101 0101 rsrc cmp #%2, %1 */
-#line 488 "rx-decode.opc"
+#line 500 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -4799,7 +4798,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("cmp #%2, %1");
-#line 488 "rx-decode.opc"
+#line 500 "rx-decode.opc"
ID(sub); SR(rsrc); S2C(IMM(1)); F_OSZC;
}
@@ -4814,7 +4813,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("int #%1");
-#line 949 "rx-decode.opc"
+#line 961 "rx-decode.opc"
ID(int); SC(IMM(1));
}
@@ -4826,7 +4825,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0111 0101 0111 0000 0000 immm mvtipl #%1 */
-#line 916 "rx-decode.opc"
+#line 928 "rx-decode.opc"
int immm AU = op[2] & 0x0f;
if (trace)
{
@@ -4836,7 +4835,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" immm = 0x%x\n", immm);
}
SYNTAX("mvtipl #%1");
-#line 916 "rx-decode.opc"
+#line 928 "rx-decode.opc"
ID(mvtipl); SC(immm);
}
@@ -4893,11 +4892,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_35:
{
/** 0111 100b ittt rdst bset #%1, %0 */
-#line 867 "rx-decode.opc"
+#line 879 "rx-decode.opc"
int b AU = op[0] & 0x01;
-#line 867 "rx-decode.opc"
+#line 879 "rx-decode.opc"
int ittt AU = (op[1] >> 4) & 0x0f;
-#line 867 "rx-decode.opc"
+#line 879 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4909,7 +4908,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bset #%1, %0");
-#line 867 "rx-decode.opc"
+#line 879 "rx-decode.opc"
ID(bset); BWL(LSIZE); SC(b*16+ittt); DR(rdst); F_____;
@@ -4934,11 +4933,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_36:
{
/** 0111 101b ittt rdst bclr #%1, %0 */
-#line 877 "rx-decode.opc"
+#line 889 "rx-decode.opc"
int b AU = op[0] & 0x01;
-#line 877 "rx-decode.opc"
+#line 889 "rx-decode.opc"
int ittt AU = (op[1] >> 4) & 0x0f;
-#line 877 "rx-decode.opc"
+#line 889 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4950,7 +4949,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bclr #%1, %0");
-#line 877 "rx-decode.opc"
+#line 889 "rx-decode.opc"
ID(bclr); BWL(LSIZE); SC(b*16+ittt); DR(rdst); F_____;
@@ -4975,11 +4974,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_37:
{
/** 0111 110b ittt rdst btst #%2, %1 */
-#line 887 "rx-decode.opc"
+#line 899 "rx-decode.opc"
int b AU = op[0] & 0x01;
-#line 887 "rx-decode.opc"
+#line 899 "rx-decode.opc"
int ittt AU = (op[1] >> 4) & 0x0f;
-#line 887 "rx-decode.opc"
+#line 899 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4991,7 +4990,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("btst #%2, %1");
-#line 887 "rx-decode.opc"
+#line 899 "rx-decode.opc"
ID(btst); BWL(LSIZE); S2C(b*16+ittt); SR(rdst); F___ZC;
@@ -5015,7 +5014,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0111 1110 0000 rdst not %0 */
-#line 422 "rx-decode.opc"
+#line 434 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5025,7 +5024,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("not %0");
-#line 422 "rx-decode.opc"
+#line 434 "rx-decode.opc"
ID(xor); DR(rdst); SR(rdst); S2C(~0); F__SZ_;
}
@@ -5033,7 +5032,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x10:
{
/** 0111 1110 0001 rdst neg %0 */
-#line 443 "rx-decode.opc"
+#line 455 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5043,7 +5042,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("neg %0");
-#line 443 "rx-decode.opc"
+#line 455 "rx-decode.opc"
ID(sub); DR(rdst); SC(0); S2R(rdst); F_OSZC;
}
@@ -5051,7 +5050,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x20:
{
/** 0111 1110 0010 rdst abs %0 */
-#line 525 "rx-decode.opc"
+#line 537 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5061,7 +5060,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("abs %0");
-#line 525 "rx-decode.opc"
+#line 537 "rx-decode.opc"
ID(abs); DR(rdst); SR(rdst); F_OSZ_;
}
@@ -5069,7 +5068,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x30:
{
/** 0111 1110 0011 rdst sat %0 */
-#line 807 "rx-decode.opc"
+#line 819 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5079,7 +5078,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sat %0");
-#line 807 "rx-decode.opc"
+#line 819 "rx-decode.opc"
ID(sat); DR (rdst);
}
@@ -5087,7 +5086,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x40:
{
/** 0111 1110 0100 rdst rorc %0 */
-#line 667 "rx-decode.opc"
+#line 679 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5097,7 +5096,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rorc %0");
-#line 667 "rx-decode.opc"
+#line 679 "rx-decode.opc"
ID(rorc); DR(rdst); F__SZC;
}
@@ -5105,7 +5104,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x50:
{
/** 0111 1110 0101 rdst rolc %0 */
-#line 664 "rx-decode.opc"
+#line 676 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5115,7 +5114,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rolc %0");
-#line 664 "rx-decode.opc"
+#line 676 "rx-decode.opc"
ID(rolc); DR(rdst); F__SZC;
}
@@ -5125,9 +5124,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0xa0:
{
/** 0111 1110 10sz rsrc push%s %1 */
-#line 338 "rx-decode.opc"
+#line 350 "rx-decode.opc"
int sz AU = (op[1] >> 4) & 0x03;
-#line 338 "rx-decode.opc"
+#line 350 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -5138,7 +5137,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("push%s %1");
-#line 338 "rx-decode.opc"
+#line 350 "rx-decode.opc"
ID(mov); BWL(sz); OP(0, RX_Operand_Predec, 0, 0); SR(rsrc); F_____;
}
@@ -5146,7 +5145,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0xb0:
{
/** 0111 1110 1011 rdst pop %0 */
-#line 335 "rx-decode.opc"
+#line 347 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5156,7 +5155,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("pop %0");
-#line 335 "rx-decode.opc"
+#line 347 "rx-decode.opc"
ID(mov); OP(1, RX_Operand_Postinc, 0, 0); DR(rdst); F_____;
}
@@ -5165,7 +5164,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0xd0:
{
/** 0111 1110 110 crsrc pushc %1 */
-#line 922 "rx-decode.opc"
+#line 934 "rx-decode.opc"
int crsrc AU = op[1] & 0x1f;
if (trace)
{
@@ -5175,7 +5174,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" crsrc = 0x%x\n", crsrc);
}
SYNTAX("pushc %1");
-#line 922 "rx-decode.opc"
+#line 934 "rx-decode.opc"
ID(mov); OP(0, RX_Operand_Predec, 0, 0); SR(crsrc + 16);
}
@@ -5184,7 +5183,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0xf0:
{
/** 0111 1110 111 crdst popc %0 */
-#line 919 "rx-decode.opc"
+#line 931 "rx-decode.opc"
int crdst AU = op[1] & 0x1f;
if (trace)
{
@@ -5194,7 +5193,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" crdst = 0x%x\n", crdst);
}
SYNTAX("popc %0");
-#line 919 "rx-decode.opc"
+#line 931 "rx-decode.opc"
ID(mov); OP(1, RX_Operand_Postinc, 0, 0); DR(crdst + 16);
}
@@ -5224,7 +5223,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x0f:
{
/** 0111 1111 0000 rsrc jmp %0 */
-#line 717 "rx-decode.opc"
+#line 729 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -5234,7 +5233,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("jmp %0");
-#line 717 "rx-decode.opc"
+#line 729 "rx-decode.opc"
ID(branch); DR(rsrc);
}
@@ -5257,7 +5256,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x1f:
{
/** 0111 1111 0001 rsrc jsr %0 */
-#line 720 "rx-decode.opc"
+#line 732 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -5267,7 +5266,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("jsr %0");
-#line 720 "rx-decode.opc"
+#line 732 "rx-decode.opc"
ID(jsr); DR(rsrc);
}
@@ -5290,7 +5289,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x4f:
{
/** 0111 1111 0100 rsrc bra.l %0 */
-#line 713 "rx-decode.opc"
+#line 725 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -5300,7 +5299,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bra.l %0");
-#line 713 "rx-decode.opc"
+#line 725 "rx-decode.opc"
ID(branchrel); DR(rsrc);
@@ -5324,7 +5323,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x5f:
{
/** 0111 1111 0101 rsrc bsr.l %0 */
-#line 729 "rx-decode.opc"
+#line 741 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -5334,7 +5333,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bsr.l %0");
-#line 729 "rx-decode.opc"
+#line 741 "rx-decode.opc"
ID(jsrrel); DR(rsrc);
}
@@ -5344,7 +5343,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x82:
{
/** 0111 1111 1000 00sz suntil%s */
-#line 753 "rx-decode.opc"
+#line 765 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
@@ -5354,7 +5353,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sz = 0x%x\n", sz);
}
SYNTAX("suntil%s");
-#line 753 "rx-decode.opc"
+#line 765 "rx-decode.opc"
ID(suntil); BWL(sz); F___ZC;
}
@@ -5369,7 +5368,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("scmpu");
-#line 744 "rx-decode.opc"
+#line 756 "rx-decode.opc"
ID(scmpu); F___ZC;
}
@@ -5379,7 +5378,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x86:
{
/** 0111 1111 1000 01sz swhile%s */
-#line 756 "rx-decode.opc"
+#line 768 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
@@ -5389,7 +5388,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sz = 0x%x\n", sz);
}
SYNTAX("swhile%s");
-#line 756 "rx-decode.opc"
+#line 768 "rx-decode.opc"
ID(swhile); BWL(sz); F___ZC;
}
@@ -5404,7 +5403,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("smovu");
-#line 747 "rx-decode.opc"
+#line 759 "rx-decode.opc"
ID(smovu);
}
@@ -5414,7 +5413,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x8a:
{
/** 0111 1111 1000 10sz sstr%s */
-#line 762 "rx-decode.opc"
+#line 774 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
@@ -5424,7 +5423,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sz = 0x%x\n", sz);
}
SYNTAX("sstr%s");
-#line 762 "rx-decode.opc"
+#line 774 "rx-decode.opc"
ID(sstr); BWL(sz);
/*----------------------------------------------------------------------*/
@@ -5442,7 +5441,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("smovb");
-#line 750 "rx-decode.opc"
+#line 762 "rx-decode.opc"
ID(smovb);
}
@@ -5452,7 +5451,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x8e:
{
/** 0111 1111 1000 11sz rmpa%s */
-#line 768 "rx-decode.opc"
+#line 780 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
@@ -5462,7 +5461,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sz = 0x%x\n", sz);
}
SYNTAX("rmpa%s");
-#line 768 "rx-decode.opc"
+#line 780 "rx-decode.opc"
ID(rmpa); BWL(sz); F_OS__;
/*----------------------------------------------------------------------*/
@@ -5480,7 +5479,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("smovf");
-#line 759 "rx-decode.opc"
+#line 771 "rx-decode.opc"
ID(smovf);
}
@@ -5495,7 +5494,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("satr");
-#line 810 "rx-decode.opc"
+#line 822 "rx-decode.opc"
ID(satr);
/*----------------------------------------------------------------------*/
@@ -5513,7 +5512,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("rtfi");
-#line 937 "rx-decode.opc"
+#line 949 "rx-decode.opc"
ID(rtfi);
}
@@ -5528,7 +5527,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("rte");
-#line 940 "rx-decode.opc"
+#line 952 "rx-decode.opc"
ID(rte);
}
@@ -5543,7 +5542,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("wait");
-#line 952 "rx-decode.opc"
+#line 964 "rx-decode.opc"
ID(wait);
/*----------------------------------------------------------------------*/
@@ -5569,7 +5568,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0xaf:
{
/** 0111 1111 1010 rdst setpsw %0 */
-#line 913 "rx-decode.opc"
+#line 925 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5579,7 +5578,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("setpsw %0");
-#line 913 "rx-decode.opc"
+#line 925 "rx-decode.opc"
ID(setpsw); DF(rdst);
}
@@ -5602,7 +5601,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0xbf:
{
/** 0111 1111 1011 rdst clrpsw %0 */
-#line 910 "rx-decode.opc"
+#line 922 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5612,7 +5611,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("clrpsw %0");
-#line 910 "rx-decode.opc"
+#line 922 "rx-decode.opc"
ID(clrpsw); DF(rdst);
}
@@ -5628,17 +5627,17 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_38:
{
/** 10sz 0dsp a dst b src mov%s %1, %0 */
-#line 296 "rx-decode.opc"
+#line 308 "rx-decode.opc"
int sz AU = (op[0] >> 4) & 0x03;
-#line 296 "rx-decode.opc"
+#line 308 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
-#line 296 "rx-decode.opc"
+#line 308 "rx-decode.opc"
int a AU = (op[1] >> 7) & 0x01;
-#line 296 "rx-decode.opc"
+#line 308 "rx-decode.opc"
int dst AU = (op[1] >> 4) & 0x07;
-#line 296 "rx-decode.opc"
+#line 308 "rx-decode.opc"
int b AU = (op[1] >> 3) & 0x01;
-#line 296 "rx-decode.opc"
+#line 308 "rx-decode.opc"
int src AU = op[1] & 0x07;
if (trace)
{
@@ -5653,7 +5652,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" src = 0x%x\n", src);
}
SYNTAX("mov%s %1, %0");
-#line 296 "rx-decode.opc"
+#line 308 "rx-decode.opc"
ID(mov); sBWL(sz); DIs(dst, dsp*4+a*2+b, sz); SR(src); F_____;
}
@@ -5731,17 +5730,17 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_39:
{
/** 10sz 1dsp a src b dst mov%s %1, %0 */
-#line 293 "rx-decode.opc"
+#line 305 "rx-decode.opc"
int sz AU = (op[0] >> 4) & 0x03;
-#line 293 "rx-decode.opc"
+#line 305 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
-#line 293 "rx-decode.opc"
+#line 305 "rx-decode.opc"
int a AU = (op[1] >> 7) & 0x01;
-#line 293 "rx-decode.opc"
+#line 305 "rx-decode.opc"
int src AU = (op[1] >> 4) & 0x07;
-#line 293 "rx-decode.opc"
+#line 305 "rx-decode.opc"
int b AU = (op[1] >> 3) & 0x01;
-#line 293 "rx-decode.opc"
+#line 305 "rx-decode.opc"
int dst AU = op[1] & 0x07;
if (trace)
{
@@ -5756,7 +5755,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" dst = 0x%x\n", dst);
}
SYNTAX("mov%s %1, %0");
-#line 293 "rx-decode.opc"
+#line 305 "rx-decode.opc"
ID(mov); sBWL(sz); DR(dst); SIs(src, dsp*4+a*2+b, sz); F_____;
}
@@ -6122,17 +6121,17 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_40:
{
/** 1011 w dsp a src b dst movu%s %1, %0 */
-#line 316 "rx-decode.opc"
+#line 328 "rx-decode.opc"
int w AU = (op[0] >> 3) & 0x01;
-#line 316 "rx-decode.opc"
+#line 328 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
-#line 316 "rx-decode.opc"
+#line 328 "rx-decode.opc"
int a AU = (op[1] >> 7) & 0x01;
-#line 316 "rx-decode.opc"
+#line 328 "rx-decode.opc"
int src AU = (op[1] >> 4) & 0x07;
-#line 316 "rx-decode.opc"
+#line 328 "rx-decode.opc"
int b AU = (op[1] >> 3) & 0x01;
-#line 316 "rx-decode.opc"
+#line 328 "rx-decode.opc"
int dst AU = op[1] & 0x07;
if (trace)
{
@@ -6147,7 +6146,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" dst = 0x%x\n", dst);
}
SYNTAX("movu%s %1, %0");
-#line 316 "rx-decode.opc"
+#line 328 "rx-decode.opc"
ID(mov); uBWL(w); DR(dst); SIs(src, dsp*4+a*2+b, w); F_____;
}
@@ -6297,15 +6296,15 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_41:
{
/** 11sz sd ss rsrc rdst mov%s %1, %0 */
-#line 274 "rx-decode.opc"
+#line 286 "rx-decode.opc"
int sz AU = (op[0] >> 4) & 0x03;
-#line 274 "rx-decode.opc"
+#line 286 "rx-decode.opc"
int sd AU = (op[0] >> 2) & 0x03;
-#line 274 "rx-decode.opc"
+#line 286 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 274 "rx-decode.opc"
+#line 286 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 274 "rx-decode.opc"
+#line 286 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -6319,7 +6318,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s %1, %0");
-#line 274 "rx-decode.opc"
+#line 286 "rx-decode.opc"
if (ss == 3 && sz == 2 && rsrc == 0 && rdst == 0)
{
ID(nop2);
@@ -6773,11 +6772,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_42:
{
/** 1111 00sd rdst 0bit bset #%1, %0%S0 */
-#line 861 "rx-decode.opc"
+#line 873 "rx-decode.opc"
int sd AU = op[0] & 0x03;
-#line 861 "rx-decode.opc"
+#line 873 "rx-decode.opc"
int rdst AU = (op[1] >> 4) & 0x0f;
-#line 861 "rx-decode.opc"
+#line 873 "rx-decode.opc"
int bit AU = op[1] & 0x07;
if (trace)
{
@@ -6789,7 +6788,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bset #%1, %0%S0");
-#line 861 "rx-decode.opc"
+#line 873 "rx-decode.opc"
ID(bset); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE); F_____;
}
@@ -6798,11 +6797,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_43:
{
/** 1111 00sd rdst 1bit bclr #%1, %0%S0 */
-#line 871 "rx-decode.opc"
+#line 883 "rx-decode.opc"
int sd AU = op[0] & 0x03;
-#line 871 "rx-decode.opc"
+#line 883 "rx-decode.opc"
int rdst AU = (op[1] >> 4) & 0x0f;
-#line 871 "rx-decode.opc"
+#line 883 "rx-decode.opc"
int bit AU = op[1] & 0x07;
if (trace)
{
@@ -6814,7 +6813,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bclr #%1, %0%S0");
-#line 871 "rx-decode.opc"
+#line 883 "rx-decode.opc"
ID(bclr); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE); F_____;
}
@@ -6866,11 +6865,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_44:
{
/** 1111 01sd rdst 0bit btst #%2, %1%S1 */
-#line 881 "rx-decode.opc"
+#line 893 "rx-decode.opc"
int sd AU = op[0] & 0x03;
-#line 881 "rx-decode.opc"
+#line 893 "rx-decode.opc"
int rdst AU = (op[1] >> 4) & 0x0f;
-#line 881 "rx-decode.opc"
+#line 893 "rx-decode.opc"
int bit AU = op[1] & 0x07;
if (trace)
{
@@ -6882,7 +6881,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("btst #%2, %1%S1");
-#line 881 "rx-decode.opc"
+#line 893 "rx-decode.opc"
ID(btst); BWL(BSIZE); S2C(bit); SD(sd, rdst, BSIZE); F___ZC;
}
@@ -6891,11 +6890,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_45:
{
/** 1111 01ss rsrc 10sz push%s %1 */
-#line 341 "rx-decode.opc"
+#line 353 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 341 "rx-decode.opc"
+#line 353 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 341 "rx-decode.opc"
+#line 353 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
@@ -6907,7 +6906,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sz = 0x%x\n", sz);
}
SYNTAX("push%s %1");
-#line 341 "rx-decode.opc"
+#line 353 "rx-decode.opc"
ID(mov); BWL(sz); OP(0, RX_Operand_Predec, 0, 0); SD(ss, rsrc, sz); F_____;
/*----------------------------------------------------------------------*/
@@ -6968,13 +6967,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_46:
{
/** 1111 10sd rdst im sz mov%s #%1, %0 */
-#line 265 "rx-decode.opc"
+#line 264 "rx-decode.opc"
int sd AU = op[0] & 0x03;
-#line 265 "rx-decode.opc"
+#line 264 "rx-decode.opc"
int rdst AU = (op[1] >> 4) & 0x0f;
-#line 265 "rx-decode.opc"
+#line 264 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 265 "rx-decode.opc"
+#line 264 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
@@ -6987,8 +6986,21 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sz = 0x%x\n", sz);
}
SYNTAX("mov%s #%1, %0");
-#line 265 "rx-decode.opc"
- ID(mov); sBWL (sz); DD(sd, rdst, sz); SC(IMMex(im)); F_____;
+#line 264 "rx-decode.opc"
+ ID(mov); DD(sd, rdst, sz);
+ if ((im == 1 && sz == 0)
+ || (im == 2 && sz == 1)
+ || (im == 0 && sz == 2))
+ {
+ BWL (sz);
+ SC(IMM(im));
+ }
+ else
+ {
+ sBWL (sz);
+ SC(IMMex(im));
+ }
+ F_____;
}
break;
@@ -7032,9 +7044,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1100 0000 0011 rsrc rdst sbb %1, %0 */
-#line 515 "rx-decode.opc"
+#line 527 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 515 "rx-decode.opc"
+#line 527 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7045,7 +7057,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sbb %1, %0");
-#line 515 "rx-decode.opc"
+#line 527 "rx-decode.opc"
ID(sbb); SR (rsrc); DR(rdst); F_OSZC;
/* FIXME: only supports .L */
@@ -7060,9 +7072,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1100 0000 0111 rsrc rdst neg %2, %0 */
-#line 446 "rx-decode.opc"
+#line 458 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 446 "rx-decode.opc"
+#line 458 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7073,7 +7085,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("neg %2, %0");
-#line 446 "rx-decode.opc"
+#line 458 "rx-decode.opc"
ID(sub); DR(rdst); SC(0); S2R(rsrc); F_OSZC;
/*----------------------------------------------------------------------*/
@@ -7090,9 +7102,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1100 0000 1011 rsrc rdst adc %1, %0 */
-#line 455 "rx-decode.opc"
+#line 467 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 455 "rx-decode.opc"
+#line 467 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7103,7 +7115,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("adc %1, %0");
-#line 455 "rx-decode.opc"
+#line 467 "rx-decode.opc"
ID(adc); SR(rsrc); DR(rdst); F_OSZC;
}
@@ -7117,9 +7129,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1100 0000 1111 rsrc rdst abs %1, %0 */
-#line 528 "rx-decode.opc"
+#line 540 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 528 "rx-decode.opc"
+#line 540 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7130,7 +7142,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("abs %1, %0");
-#line 528 "rx-decode.opc"
+#line 540 "rx-decode.opc"
ID(abs); DR(rdst); SR(rsrc); F_OSZ_;
/*----------------------------------------------------------------------*/
@@ -7148,11 +7160,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_47:
{
/** 1111 1100 0001 00ss rsrc rdst max %1%S1, %0 */
-#line 537 "rx-decode.opc"
+#line 549 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 537 "rx-decode.opc"
+#line 549 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 537 "rx-decode.opc"
+#line 549 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7164,7 +7176,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("max %1%S1, %0");
-#line 537 "rx-decode.opc"
+#line 549 "rx-decode.opc"
if (ss == 3 && rsrc == 0 && rdst == 0)
{
ID(nop3);
@@ -7214,11 +7226,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_48:
{
/** 1111 1100 0001 01ss rsrc rdst min %1%S1, %0 */
-#line 557 "rx-decode.opc"
+#line 569 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 557 "rx-decode.opc"
+#line 569 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 557 "rx-decode.opc"
+#line 569 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7230,7 +7242,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("min %1%S1, %0");
-#line 557 "rx-decode.opc"
+#line 569 "rx-decode.opc"
ID(min); SP(ss, rsrc); DR(rdst);
}
@@ -7272,11 +7284,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_49:
{
/** 1111 1100 0001 10ss rsrc rdst emul %1%S1, %0 */
-#line 587 "rx-decode.opc"
+#line 599 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 587 "rx-decode.opc"
+#line 599 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 587 "rx-decode.opc"
+#line 599 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7288,7 +7300,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emul %1%S1, %0");
-#line 587 "rx-decode.opc"
+#line 599 "rx-decode.opc"
ID(emul); SP(ss, rsrc); DR(rdst);
}
@@ -7330,11 +7342,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_50:
{
/** 1111 1100 0001 11ss rsrc rdst emulu %1%S1, %0 */
-#line 599 "rx-decode.opc"
+#line 611 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 599 "rx-decode.opc"
+#line 611 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 599 "rx-decode.opc"
+#line 611 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7346,7 +7358,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emulu %1%S1, %0");
-#line 599 "rx-decode.opc"
+#line 611 "rx-decode.opc"
ID(emulu); SP(ss, rsrc); DR(rdst);
}
@@ -7388,11 +7400,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_51:
{
/** 1111 1100 0010 00ss rsrc rdst div %1%S1, %0 */
-#line 611 "rx-decode.opc"
+#line 623 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 611 "rx-decode.opc"
+#line 623 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 611 "rx-decode.opc"
+#line 623 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7404,7 +7416,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("div %1%S1, %0");
-#line 611 "rx-decode.opc"
+#line 623 "rx-decode.opc"
ID(div); SP(ss, rsrc); DR(rdst); F_O___;
}
@@ -7446,11 +7458,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_52:
{
/** 1111 1100 0010 01ss rsrc rdst divu %1%S1, %0 */
-#line 623 "rx-decode.opc"
+#line 635 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 623 "rx-decode.opc"
+#line 635 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 623 "rx-decode.opc"
+#line 635 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7462,7 +7474,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("divu %1%S1, %0");
-#line 623 "rx-decode.opc"
+#line 635 "rx-decode.opc"
ID(divu); SP(ss, rsrc); DR(rdst); F_O___;
}
@@ -7504,11 +7516,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_53:
{
/** 1111 1100 0011 00ss rsrc rdst tst %1%S1, %2 */
-#line 434 "rx-decode.opc"
+#line 446 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 434 "rx-decode.opc"
+#line 446 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 434 "rx-decode.opc"
+#line 446 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7520,7 +7532,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("tst %1%S1, %2");
-#line 434 "rx-decode.opc"
+#line 446 "rx-decode.opc"
ID(and); SP(ss, rsrc); S2R(rdst); F__SZ_;
}
@@ -7562,11 +7574,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_54:
{
/** 1111 1100 0011 01ss rsrc rdst xor %1%S1, %0 */
-#line 413 "rx-decode.opc"
+#line 425 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 413 "rx-decode.opc"
+#line 425 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 413 "rx-decode.opc"
+#line 425 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7578,7 +7590,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xor %1%S1, %0");
-#line 413 "rx-decode.opc"
+#line 425 "rx-decode.opc"
ID(xor); SP(ss, rsrc); DR(rdst); F__SZ_;
}
@@ -7619,9 +7631,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1100 0011 1011 rsrc rdst not %1, %0 */
-#line 425 "rx-decode.opc"
+#line 437 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 425 "rx-decode.opc"
+#line 437 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7632,7 +7644,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("not %1, %0");
-#line 425 "rx-decode.opc"
+#line 437 "rx-decode.opc"
ID(xor); DR(rdst); SR(rsrc); S2C(~0); F__SZ_;
/*----------------------------------------------------------------------*/
@@ -7650,11 +7662,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_55:
{
/** 1111 1100 0100 00ss rsrc rdst xchg %1%S1, %0 */
-#line 347 "rx-decode.opc"
+#line 359 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 347 "rx-decode.opc"
+#line 359 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 347 "rx-decode.opc"
+#line 359 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7666,7 +7678,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xchg %1%S1, %0");
-#line 347 "rx-decode.opc"
+#line 359 "rx-decode.opc"
ID(xchg); DR(rdst); SP(ss, rsrc);
}
@@ -7708,11 +7720,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_56:
{
/** 1111 1100 0100 01sd rsrc rdst itof %1%S1, %0 */
-#line 852 "rx-decode.opc"
+#line 864 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 852 "rx-decode.opc"
+#line 864 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 852 "rx-decode.opc"
+#line 864 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7724,7 +7736,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("itof %1%S1, %0");
-#line 852 "rx-decode.opc"
+#line 864 "rx-decode.opc"
ID(itof); DR (rdst); SP(sd, rsrc); F__SZ_;
}
@@ -7766,11 +7778,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_57:
{
/** 1111 1100 0110 00sd rdst rsrc bset %1, %0%S0 */
-#line 864 "rx-decode.opc"
+#line 876 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 864 "rx-decode.opc"
+#line 876 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 864 "rx-decode.opc"
+#line 876 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -7782,7 +7794,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bset %1, %0%S0");
-#line 864 "rx-decode.opc"
+#line 876 "rx-decode.opc"
ID(bset); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE); F_____;
}
@@ -7824,11 +7836,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_58:
{
/** 1111 1100 0110 01sd rdst rsrc bclr %1, %0%S0 */
-#line 874 "rx-decode.opc"
+#line 886 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 874 "rx-decode.opc"
+#line 886 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 874 "rx-decode.opc"
+#line 886 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -7840,7 +7852,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bclr %1, %0%S0");
-#line 874 "rx-decode.opc"
+#line 886 "rx-decode.opc"
ID(bclr); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE); F_____;
}
@@ -7882,11 +7894,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_59:
{
/** 1111 1100 0110 10sd rdst rsrc btst %2, %1%S1 */
-#line 884 "rx-decode.opc"
+#line 896 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 884 "rx-decode.opc"
+#line 896 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 884 "rx-decode.opc"
+#line 896 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -7898,7 +7910,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("btst %2, %1%S1");
-#line 884 "rx-decode.opc"
+#line 896 "rx-decode.opc"
ID(btst); BWL(BSIZE); S2R(rsrc); SD(sd, rdst, BSIZE); F___ZC;
}
@@ -7940,11 +7952,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_60:
{
/** 1111 1100 0110 11sd rdst rsrc bnot %1, %0%S0 */
-#line 894 "rx-decode.opc"
+#line 906 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 894 "rx-decode.opc"
+#line 906 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 894 "rx-decode.opc"
+#line 906 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -7956,7 +7968,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bnot %1, %0%S0");
-#line 894 "rx-decode.opc"
+#line 906 "rx-decode.opc"
ID(bnot); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE);
}
@@ -7998,11 +8010,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_61:
{
/** 1111 1100 1000 00sd rsrc rdst fsub %1%S1, %0 */
-#line 831 "rx-decode.opc"
+#line 843 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 831 "rx-decode.opc"
+#line 843 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 831 "rx-decode.opc"
+#line 843 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8014,7 +8026,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fsub %1%S1, %0");
-#line 831 "rx-decode.opc"
+#line 843 "rx-decode.opc"
ID(fsub); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
}
@@ -8056,11 +8068,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_62:
{
/** 1111 1100 1000 01sd rsrc rdst fcmp %1%S1, %0 */
-#line 825 "rx-decode.opc"
+#line 837 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 825 "rx-decode.opc"
+#line 837 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 825 "rx-decode.opc"
+#line 837 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8072,7 +8084,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fcmp %1%S1, %0");
-#line 825 "rx-decode.opc"
+#line 837 "rx-decode.opc"
ID(fcmp); DR(rdst); SD(sd, rsrc, LSIZE); F_OSZ_;
}
@@ -8114,11 +8126,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_63:
{
/** 1111 1100 1000 10sd rsrc rdst fadd %1%S1, %0 */
-#line 819 "rx-decode.opc"
+#line 831 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 819 "rx-decode.opc"
+#line 831 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 819 "rx-decode.opc"
+#line 831 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8130,7 +8142,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fadd %1%S1, %0");
-#line 819 "rx-decode.opc"
+#line 831 "rx-decode.opc"
ID(fadd); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
}
@@ -8172,11 +8184,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_64:
{
/** 1111 1100 1000 11sd rsrc rdst fmul %1%S1, %0 */
-#line 840 "rx-decode.opc"
+#line 852 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 840 "rx-decode.opc"
+#line 852 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 840 "rx-decode.opc"
+#line 852 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8188,7 +8200,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fmul %1%S1, %0");
-#line 840 "rx-decode.opc"
+#line 852 "rx-decode.opc"
ID(fmul); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
}
@@ -8230,11 +8242,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_65:
{
/** 1111 1100 1001 00sd rsrc rdst fdiv %1%S1, %0 */
-#line 846 "rx-decode.opc"
+#line 858 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 846 "rx-decode.opc"
+#line 858 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 846 "rx-decode.opc"
+#line 858 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8246,7 +8258,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fdiv %1%S1, %0");
-#line 846 "rx-decode.opc"
+#line 858 "rx-decode.opc"
ID(fdiv); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
}
@@ -8288,11 +8300,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_66:
{
/** 1111 1100 1001 01sd rsrc rdst ftoi %1%S1, %0 */
-#line 834 "rx-decode.opc"
+#line 846 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 834 "rx-decode.opc"
+#line 846 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 834 "rx-decode.opc"
+#line 846 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8304,7 +8316,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("ftoi %1%S1, %0");
-#line 834 "rx-decode.opc"
+#line 846 "rx-decode.opc"
ID(ftoi); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
}
@@ -8346,11 +8358,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_67:
{
/** 1111 1100 1001 10sd rsrc rdst round %1%S1, %0 */
-#line 849 "rx-decode.opc"
+#line 861 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 849 "rx-decode.opc"
+#line 861 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 849 "rx-decode.opc"
+#line 861 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8362,7 +8374,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("round %1%S1, %0");
-#line 849 "rx-decode.opc"
+#line 861 "rx-decode.opc"
ID(round); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
}
@@ -8404,13 +8416,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_68:
{
/** 1111 1100 1101 sz sd rdst cond sc%1%s %0 */
-#line 958 "rx-decode.opc"
+#line 970 "rx-decode.opc"
int sz AU = (op[1] >> 2) & 0x03;
-#line 958 "rx-decode.opc"
+#line 970 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 958 "rx-decode.opc"
+#line 970 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 958 "rx-decode.opc"
+#line 970 "rx-decode.opc"
int cond AU = op[2] & 0x0f;
if (trace)
{
@@ -8423,7 +8435,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" cond = 0x%x\n", cond);
}
SYNTAX("sc%1%s %0");
-#line 958 "rx-decode.opc"
+#line 970 "rx-decode.opc"
ID(sccnd); BWL(sz); DD (sd, rdst, sz); Scc(cond);
}
@@ -8551,13 +8563,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_69:
{
/** 1111 1100 111bit sd rdst cond bm%2 #%1, %0%S0 */
-#line 901 "rx-decode.opc"
+#line 913 "rx-decode.opc"
int bit AU = (op[1] >> 2) & 0x07;
-#line 901 "rx-decode.opc"
+#line 913 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 901 "rx-decode.opc"
+#line 913 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 901 "rx-decode.opc"
+#line 913 "rx-decode.opc"
int cond AU = op[2] & 0x0f;
if (trace)
{
@@ -8570,7 +8582,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" cond = 0x%x\n", cond);
}
SYNTAX("bm%2 #%1, %0%S0");
-#line 901 "rx-decode.opc"
+#line 913 "rx-decode.opc"
ID(bmcc); BWL(BSIZE); S2cc(cond); SC(bit); DD(sd, rdst, BSIZE);
}
@@ -8579,11 +8591,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_70:
{
/** 1111 1100 111bit sd rdst 1111 bnot #%1, %0%S0 */
-#line 891 "rx-decode.opc"
+#line 903 "rx-decode.opc"
int bit AU = (op[1] >> 2) & 0x07;
-#line 891 "rx-decode.opc"
+#line 903 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 891 "rx-decode.opc"
+#line 903 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
if (trace)
{
@@ -8595,7 +8607,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bnot #%1, %0%S0");
-#line 891 "rx-decode.opc"
+#line 903 "rx-decode.opc"
ID(bnot); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE);
}
@@ -9422,9 +9434,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0000 0000 srca srcb mulhi %1, %2 */
-#line 774 "rx-decode.opc"
+#line 786 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 774 "rx-decode.opc"
+#line 786 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -9435,7 +9447,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("mulhi %1, %2");
-#line 774 "rx-decode.opc"
+#line 786 "rx-decode.opc"
ID(mulhi); SR(srca); S2R(srcb); F_____;
}
@@ -9449,9 +9461,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0000 0001 srca srcb mullo %1, %2 */
-#line 777 "rx-decode.opc"
+#line 789 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 777 "rx-decode.opc"
+#line 789 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -9462,7 +9474,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("mullo %1, %2");
-#line 777 "rx-decode.opc"
+#line 789 "rx-decode.opc"
ID(mullo); SR(srca); S2R(srcb); F_____;
}
@@ -9476,9 +9488,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0000 0100 srca srcb machi %1, %2 */
-#line 780 "rx-decode.opc"
+#line 792 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 780 "rx-decode.opc"
+#line 792 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -9489,7 +9501,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("machi %1, %2");
-#line 780 "rx-decode.opc"
+#line 792 "rx-decode.opc"
ID(machi); SR(srca); S2R(srcb); F_____;
}
@@ -9503,9 +9515,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0000 0101 srca srcb maclo %1, %2 */
-#line 783 "rx-decode.opc"
+#line 795 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 783 "rx-decode.opc"
+#line 795 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -9516,7 +9528,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("maclo %1, %2");
-#line 783 "rx-decode.opc"
+#line 795 "rx-decode.opc"
ID(maclo); SR(srca); S2R(srcb); F_____;
}
@@ -9530,7 +9542,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0001 0111 0000 rsrc mvtachi %1 */
-#line 786 "rx-decode.opc"
+#line 798 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -9540,7 +9552,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("mvtachi %1");
-#line 786 "rx-decode.opc"
+#line 798 "rx-decode.opc"
ID(mvtachi); SR(rsrc); F_____;
}
@@ -9548,7 +9560,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x10:
{
/** 1111 1101 0001 0111 0001 rsrc mvtaclo %1 */
-#line 789 "rx-decode.opc"
+#line 801 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -9558,7 +9570,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("mvtaclo %1");
-#line 789 "rx-decode.opc"
+#line 801 "rx-decode.opc"
ID(mvtaclo); SR(rsrc); F_____;
}
@@ -9573,7 +9585,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0001 1000 000i 0000 racw #%1 */
-#line 801 "rx-decode.opc"
+#line 813 "rx-decode.opc"
int i AU = (op[2] >> 4) & 0x01;
if (trace)
{
@@ -9583,7 +9595,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" i = 0x%x\n", i);
}
SYNTAX("racw #%1");
-#line 801 "rx-decode.opc"
+#line 813 "rx-decode.opc"
ID(racw); SC(i+1); F_____;
/*----------------------------------------------------------------------*/
@@ -9601,7 +9613,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0001 1111 0000 rdst mvfachi %0 */
-#line 792 "rx-decode.opc"
+#line 804 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9611,7 +9623,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvfachi %0");
-#line 792 "rx-decode.opc"
+#line 804 "rx-decode.opc"
ID(mvfachi); DR(rdst); F_____;
}
@@ -9619,7 +9631,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x10:
{
/** 1111 1101 0001 1111 0001 rdst mvfaclo %0 */
-#line 798 "rx-decode.opc"
+#line 810 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9629,7 +9641,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvfaclo %0");
-#line 798 "rx-decode.opc"
+#line 810 "rx-decode.opc"
ID(mvfaclo); DR(rdst); F_____;
}
@@ -9637,7 +9649,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x20:
{
/** 1111 1101 0001 1111 0010 rdst mvfacmi %0 */
-#line 795 "rx-decode.opc"
+#line 807 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9647,7 +9659,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvfacmi %0");
-#line 795 "rx-decode.opc"
+#line 807 "rx-decode.opc"
ID(mvfacmi); DR(rdst); F_____;
}
@@ -9663,13 +9675,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_71:
{
/** 1111 1101 0010 0p sz rdst rsrc mov%s %1, %0 */
-#line 308 "rx-decode.opc"
+#line 320 "rx-decode.opc"
int p AU = (op[1] >> 2) & 0x01;
-#line 308 "rx-decode.opc"
+#line 320 "rx-decode.opc"
int sz AU = op[1] & 0x03;
-#line 308 "rx-decode.opc"
+#line 320 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 308 "rx-decode.opc"
+#line 320 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -9682,7 +9694,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("mov%s %1, %0");
-#line 308 "rx-decode.opc"
+#line 320 "rx-decode.opc"
ID(mov); sBWL (sz); SR(rsrc); F_____;
OP(0, p ? RX_Operand_Predec : RX_Operand_Postinc, rdst, 0);
@@ -9743,13 +9755,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_72:
{
/** 1111 1101 0010 1p sz rsrc rdst mov%s %1, %0 */
-#line 312 "rx-decode.opc"
+#line 324 "rx-decode.opc"
int p AU = (op[1] >> 2) & 0x01;
-#line 312 "rx-decode.opc"
+#line 324 "rx-decode.opc"
int sz AU = op[1] & 0x03;
-#line 312 "rx-decode.opc"
+#line 324 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 312 "rx-decode.opc"
+#line 324 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9762,7 +9774,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s %1, %0");
-#line 312 "rx-decode.opc"
+#line 324 "rx-decode.opc"
ID(mov); sBWL (sz); DR(rdst); F_____;
OP(1, p ? RX_Operand_Predec : RX_Operand_Postinc, rsrc, 0);
@@ -9823,13 +9835,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_73:
{
/** 1111 1101 0011 1p sz rsrc rdst movu%s %1, %0 */
-#line 322 "rx-decode.opc"
+#line 334 "rx-decode.opc"
int p AU = (op[1] >> 2) & 0x01;
-#line 322 "rx-decode.opc"
+#line 334 "rx-decode.opc"
int sz AU = op[1] & 0x03;
-#line 322 "rx-decode.opc"
+#line 334 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 322 "rx-decode.opc"
+#line 334 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9842,7 +9854,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("movu%s %1, %0");
-#line 322 "rx-decode.opc"
+#line 334 "rx-decode.opc"
ID(mov); uBWL (sz); DR(rdst); F_____;
OP(1, p ? RX_Operand_Predec : RX_Operand_Postinc, rsrc, 0);
@@ -9905,9 +9917,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0000 rsrc rdst shlr %2, %0 */
-#line 655 "rx-decode.opc"
+#line 667 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 655 "rx-decode.opc"
+#line 667 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9918,7 +9930,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shlr %2, %0");
-#line 655 "rx-decode.opc"
+#line 667 "rx-decode.opc"
ID(shlr); S2R(rsrc); SR(rdst); DR(rdst); F__SZC;
}
@@ -9932,9 +9944,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0001 rsrc rdst shar %2, %0 */
-#line 645 "rx-decode.opc"
+#line 657 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 645 "rx-decode.opc"
+#line 657 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9945,7 +9957,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shar %2, %0");
-#line 645 "rx-decode.opc"
+#line 657 "rx-decode.opc"
ID(shar); S2R(rsrc); SR(rdst); DR(rdst); F_0SZC;
}
@@ -9959,9 +9971,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0010 rsrc rdst shll %2, %0 */
-#line 635 "rx-decode.opc"
+#line 647 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 635 "rx-decode.opc"
+#line 647 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9972,7 +9984,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shll %2, %0");
-#line 635 "rx-decode.opc"
+#line 647 "rx-decode.opc"
ID(shll); S2R(rsrc); SR(rdst); DR(rdst); F_OSZC;
}
@@ -9986,9 +9998,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0100 rsrc rdst rotr %1, %0 */
-#line 679 "rx-decode.opc"
+#line 691 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 679 "rx-decode.opc"
+#line 691 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9999,7 +10011,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rotr %1, %0");
-#line 679 "rx-decode.opc"
+#line 691 "rx-decode.opc"
ID(rotr); SR(rsrc); DR(rdst); F__SZC;
}
@@ -10013,9 +10025,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0101 rsrc rdst revw %1, %0 */
-#line 682 "rx-decode.opc"
+#line 694 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 682 "rx-decode.opc"
+#line 694 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10026,7 +10038,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("revw %1, %0");
-#line 682 "rx-decode.opc"
+#line 694 "rx-decode.opc"
ID(revw); SR(rsrc); DR(rdst);
}
@@ -10040,9 +10052,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0110 rsrc rdst rotl %1, %0 */
-#line 673 "rx-decode.opc"
+#line 685 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 673 "rx-decode.opc"
+#line 685 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10053,7 +10065,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rotl %1, %0");
-#line 673 "rx-decode.opc"
+#line 685 "rx-decode.opc"
ID(rotl); SR(rsrc); DR(rdst); F__SZC;
}
@@ -10067,9 +10079,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0111 rsrc rdst revl %1, %0 */
-#line 685 "rx-decode.opc"
+#line 697 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 685 "rx-decode.opc"
+#line 697 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10080,7 +10092,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("revl %1, %0");
-#line 685 "rx-decode.opc"
+#line 697 "rx-decode.opc"
ID(revl); SR(rsrc); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -10098,11 +10110,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_74:
{
/** 1111 1101 0110 100c rsrc rdst mvtc %1, %0 */
-#line 928 "rx-decode.opc"
+#line 940 "rx-decode.opc"
int c AU = op[1] & 0x01;
-#line 928 "rx-decode.opc"
+#line 940 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 928 "rx-decode.opc"
+#line 940 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10114,7 +10126,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvtc %1, %0");
-#line 928 "rx-decode.opc"
+#line 940 "rx-decode.opc"
ID(mov); SR(rsrc); DR(c*16+rdst + 16);
}
@@ -10138,11 +10150,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_75:
{
/** 1111 1101 0110 101s rsrc rdst mvfc %1, %0 */
-#line 931 "rx-decode.opc"
+#line 943 "rx-decode.opc"
int s AU = op[1] & 0x01;
-#line 931 "rx-decode.opc"
+#line 943 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 931 "rx-decode.opc"
+#line 943 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10154,7 +10166,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvfc %1, %0");
-#line 931 "rx-decode.opc"
+#line 943 "rx-decode.opc"
ID(mov); SR((s*16+rsrc) + 16); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -10181,11 +10193,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_76:
{
/** 1111 1101 0110 110i mmmm rdst rotr #%1, %0 */
-#line 676 "rx-decode.opc"
+#line 688 "rx-decode.opc"
int i AU = op[1] & 0x01;
-#line 676 "rx-decode.opc"
+#line 688 "rx-decode.opc"
int mmmm AU = (op[2] >> 4) & 0x0f;
-#line 676 "rx-decode.opc"
+#line 688 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10197,7 +10209,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rotr #%1, %0");
-#line 676 "rx-decode.opc"
+#line 688 "rx-decode.opc"
ID(rotr); SC(i*16+mmmm); DR(rdst); F__SZC;
}
@@ -10221,11 +10233,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_77:
{
/** 1111 1101 0110 111i mmmm rdst rotl #%1, %0 */
-#line 670 "rx-decode.opc"
+#line 682 "rx-decode.opc"
int i AU = op[1] & 0x01;
-#line 670 "rx-decode.opc"
+#line 682 "rx-decode.opc"
int mmmm AU = (op[2] >> 4) & 0x0f;
-#line 670 "rx-decode.opc"
+#line 682 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10237,7 +10249,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rotl #%1, %0");
-#line 670 "rx-decode.opc"
+#line 682 "rx-decode.opc"
ID(rotl); SC(i*16+mmmm); DR(rdst); F__SZC;
}
@@ -10261,9 +10273,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_78:
{
/** 1111 1101 0111 im00 0010rdst adc #%1, %0 */
-#line 452 "rx-decode.opc"
+#line 464 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 452 "rx-decode.opc"
+#line 464 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10274,7 +10286,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("adc #%1, %0");
-#line 452 "rx-decode.opc"
+#line 464 "rx-decode.opc"
ID(adc); SC(IMMex(im)); DR(rdst); F_OSZC;
}
@@ -10283,9 +10295,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_79:
{
/** 1111 1101 0111 im00 0100rdst max #%1, %0 */
-#line 534 "rx-decode.opc"
+#line 546 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 534 "rx-decode.opc"
+#line 546 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10296,7 +10308,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("max #%1, %0");
-#line 534 "rx-decode.opc"
+#line 546 "rx-decode.opc"
ID(max); DR(rdst); SC(IMMex(im));
}
@@ -10305,9 +10317,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_80:
{
/** 1111 1101 0111 im00 0101rdst min #%1, %0 */
-#line 554 "rx-decode.opc"
+#line 566 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 554 "rx-decode.opc"
+#line 566 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10318,7 +10330,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("min #%1, %0");
-#line 554 "rx-decode.opc"
+#line 566 "rx-decode.opc"
ID(min); DR(rdst); SC(IMMex(im));
}
@@ -10327,9 +10339,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_81:
{
/** 1111 1101 0111 im00 0110rdst emul #%1, %0 */
-#line 584 "rx-decode.opc"
+#line 596 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 584 "rx-decode.opc"
+#line 596 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10340,7 +10352,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emul #%1, %0");
-#line 584 "rx-decode.opc"
+#line 596 "rx-decode.opc"
ID(emul); DR(rdst); SC(IMMex(im));
}
@@ -10349,9 +10361,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_82:
{
/** 1111 1101 0111 im00 0111rdst emulu #%1, %0 */
-#line 596 "rx-decode.opc"
+#line 608 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 596 "rx-decode.opc"
+#line 608 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10362,7 +10374,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emulu #%1, %0");
-#line 596 "rx-decode.opc"
+#line 608 "rx-decode.opc"
ID(emulu); DR(rdst); SC(IMMex(im));
}
@@ -10371,9 +10383,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_83:
{
/** 1111 1101 0111 im00 1000rdst div #%1, %0 */
-#line 608 "rx-decode.opc"
+#line 620 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 608 "rx-decode.opc"
+#line 620 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10384,7 +10396,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("div #%1, %0");
-#line 608 "rx-decode.opc"
+#line 620 "rx-decode.opc"
ID(div); DR(rdst); SC(IMMex(im)); F_O___;
}
@@ -10393,9 +10405,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_84:
{
/** 1111 1101 0111 im00 1001rdst divu #%1, %0 */
-#line 620 "rx-decode.opc"
+#line 632 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 620 "rx-decode.opc"
+#line 632 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10406,7 +10418,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("divu #%1, %0");
-#line 620 "rx-decode.opc"
+#line 632 "rx-decode.opc"
ID(divu); DR(rdst); SC(IMMex(im)); F_O___;
}
@@ -10415,9 +10427,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_85:
{
/** 1111 1101 0111 im00 1100rdst tst #%1, %2 */
-#line 431 "rx-decode.opc"
+#line 443 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 431 "rx-decode.opc"
+#line 443 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10428,7 +10440,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("tst #%1, %2");
-#line 431 "rx-decode.opc"
+#line 443 "rx-decode.opc"
ID(and); SC(IMMex(im)); S2R(rdst); F__SZ_;
}
@@ -10437,9 +10449,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_86:
{
/** 1111 1101 0111 im00 1101rdst xor #%1, %0 */
-#line 410 "rx-decode.opc"
+#line 422 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 410 "rx-decode.opc"
+#line 422 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10450,7 +10462,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xor #%1, %0");
-#line 410 "rx-decode.opc"
+#line 422 "rx-decode.opc"
ID(xor); SC(IMMex(im)); DR(rdst); F__SZ_;
}
@@ -10459,9 +10471,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_87:
{
/** 1111 1101 0111 im00 1110rdst stz #%1, %0 */
-#line 356 "rx-decode.opc"
+#line 368 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 356 "rx-decode.opc"
+#line 368 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10472,7 +10484,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("stz #%1, %0");
-#line 356 "rx-decode.opc"
+#line 368 "rx-decode.opc"
ID(stcc); SC(IMMex(im)); DR(rdst); S2cc(RXC_z);
}
@@ -10481,9 +10493,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_88:
{
/** 1111 1101 0111 im00 1111rdst stnz #%1, %0 */
-#line 359 "rx-decode.opc"
+#line 371 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 359 "rx-decode.opc"
+#line 371 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10494,7 +10506,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("stnz #%1, %0");
-#line 359 "rx-decode.opc"
+#line 371 "rx-decode.opc"
ID(stcc); SC(IMMex(im)); DR(rdst); S2cc(RXC_nz);
/*----------------------------------------------------------------------*/
@@ -10512,7 +10524,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0111 0010 0000 rdst fsub #%1, %0 */
-#line 828 "rx-decode.opc"
+#line 840 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10522,7 +10534,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fsub #%1, %0");
-#line 828 "rx-decode.opc"
+#line 840 "rx-decode.opc"
ID(fsub); DR(rdst); SC(IMM(0)); F__SZ_;
}
@@ -10530,7 +10542,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x10:
{
/** 1111 1101 0111 0010 0001 rdst fcmp #%1, %0 */
-#line 822 "rx-decode.opc"
+#line 834 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10540,7 +10552,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fcmp #%1, %0");
-#line 822 "rx-decode.opc"
+#line 834 "rx-decode.opc"
ID(fcmp); DR(rdst); SC(IMM(0)); F_OSZ_;
}
@@ -10548,7 +10560,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x20:
{
/** 1111 1101 0111 0010 0010 rdst fadd #%1, %0 */
-#line 816 "rx-decode.opc"
+#line 828 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10558,7 +10570,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fadd #%1, %0");
-#line 816 "rx-decode.opc"
+#line 828 "rx-decode.opc"
ID(fadd); DR(rdst); SC(IMM(0)); F__SZ_;
}
@@ -10566,7 +10578,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x30:
{
/** 1111 1101 0111 0010 0011 rdst fmul #%1, %0 */
-#line 837 "rx-decode.opc"
+#line 849 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10576,7 +10588,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fmul #%1, %0");
-#line 837 "rx-decode.opc"
+#line 849 "rx-decode.opc"
ID(fmul); DR(rdst); SC(IMM(0)); F__SZ_;
}
@@ -10584,7 +10596,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x40:
{
/** 1111 1101 0111 0010 0100 rdst fdiv #%1, %0 */
-#line 843 "rx-decode.opc"
+#line 855 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10594,7 +10606,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fdiv #%1, %0");
-#line 843 "rx-decode.opc"
+#line 855 "rx-decode.opc"
ID(fdiv); DR(rdst); SC(IMM(0)); F__SZ_;
}
@@ -10610,9 +10622,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_89:
{
/** 1111 1101 0111 im11 000crdst mvtc #%1, %0 */
-#line 925 "rx-decode.opc"
+#line 937 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 925 "rx-decode.opc"
+#line 937 "rx-decode.opc"
int crdst AU = op[2] & 0x1f;
if (trace)
{
@@ -10623,7 +10635,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" crdst = 0x%x\n", crdst);
}
SYNTAX("mvtc #%1, %0");
-#line 925 "rx-decode.opc"
+#line 937 "rx-decode.opc"
ID(mov); SC(IMMex(im)); DR(crdst + 16);
}
@@ -10789,11 +10801,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_90:
{
/** 1111 1101 100immmm rsrc rdst shlr #%2, %1, %0 */
-#line 658 "rx-decode.opc"
+#line 670 "rx-decode.opc"
int immmm AU = op[1] & 0x1f;
-#line 658 "rx-decode.opc"
+#line 670 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 658 "rx-decode.opc"
+#line 670 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10805,7 +10817,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shlr #%2, %1, %0");
-#line 658 "rx-decode.opc"
+#line 670 "rx-decode.opc"
ID(shlr); S2C(immmm); SR(rsrc); DR(rdst); F__SZC;
/*----------------------------------------------------------------------*/
@@ -11102,11 +11114,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_91:
{
/** 1111 1101 101immmm rsrc rdst shar #%2, %1, %0 */
-#line 648 "rx-decode.opc"
+#line 660 "rx-decode.opc"
int immmm AU = op[1] & 0x1f;
-#line 648 "rx-decode.opc"
+#line 660 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 648 "rx-decode.opc"
+#line 660 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -11118,7 +11130,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shar #%2, %1, %0");
-#line 648 "rx-decode.opc"
+#line 660 "rx-decode.opc"
ID(shar); S2C(immmm); SR(rsrc); DR(rdst); F_0SZC;
@@ -11413,11 +11425,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_92:
{
/** 1111 1101 110immmm rsrc rdst shll #%2, %1, %0 */
-#line 638 "rx-decode.opc"
+#line 650 "rx-decode.opc"
int immmm AU = op[1] & 0x1f;
-#line 638 "rx-decode.opc"
+#line 650 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 638 "rx-decode.opc"
+#line 650 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -11429,7 +11441,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shll #%2, %1, %0");
-#line 638 "rx-decode.opc"
+#line 650 "rx-decode.opc"
ID(shll); S2C(immmm); SR(rsrc); DR(rdst); F_OSZC;
@@ -11738,11 +11750,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_93:
{
/** 1111 1101 111 bittt cond rdst bm%2 #%1, %0%S0 */
-#line 904 "rx-decode.opc"
+#line 916 "rx-decode.opc"
int bittt AU = op[1] & 0x1f;
-#line 904 "rx-decode.opc"
+#line 916 "rx-decode.opc"
int cond AU = (op[2] >> 4) & 0x0f;
-#line 904 "rx-decode.opc"
+#line 916 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -11754,7 +11766,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bm%2 #%1, %0%S0");
-#line 904 "rx-decode.opc"
+#line 916 "rx-decode.opc"
ID(bmcc); BWL(LSIZE); S2cc(cond); SC(bittt); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -11766,9 +11778,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_94:
{
/** 1111 1101 111bittt 1111 rdst bnot #%1, %0 */
-#line 897 "rx-decode.opc"
+#line 909 "rx-decode.opc"
int bittt AU = op[1] & 0x1f;
-#line 897 "rx-decode.opc"
+#line 909 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -11779,7 +11791,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bnot #%1, %0");
-#line 897 "rx-decode.opc"
+#line 909 "rx-decode.opc"
ID(bnot); BWL(LSIZE); SC(bittt); DR(rdst);
@@ -12608,13 +12620,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_95:
{
/** 1111 1110 00sz isrc bsrc rdst mov%s %0, [%1, %2] */
-#line 302 "rx-decode.opc"
+#line 314 "rx-decode.opc"
int sz AU = (op[1] >> 4) & 0x03;
-#line 302 "rx-decode.opc"
+#line 314 "rx-decode.opc"
int isrc AU = op[1] & 0x0f;
-#line 302 "rx-decode.opc"
+#line 314 "rx-decode.opc"
int bsrc AU = (op[2] >> 4) & 0x0f;
-#line 302 "rx-decode.opc"
+#line 314 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -12627,7 +12639,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s %0, [%1, %2]");
-#line 302 "rx-decode.opc"
+#line 314 "rx-decode.opc"
ID(movbir); sBWL(sz); DR(rdst); SRR(isrc); S2R(bsrc); F_____;
}
@@ -13065,13 +13077,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_96:
{
/** 1111 1110 01sz isrc bsrc rdst mov%s [%1, %2], %0 */
-#line 299 "rx-decode.opc"
+#line 311 "rx-decode.opc"
int sz AU = (op[1] >> 4) & 0x03;
-#line 299 "rx-decode.opc"
+#line 311 "rx-decode.opc"
int isrc AU = op[1] & 0x0f;
-#line 299 "rx-decode.opc"
+#line 311 "rx-decode.opc"
int bsrc AU = (op[2] >> 4) & 0x0f;
-#line 299 "rx-decode.opc"
+#line 311 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -13084,7 +13096,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s [%1, %2], %0");
-#line 299 "rx-decode.opc"
+#line 311 "rx-decode.opc"
ID(movbi); sBWL(sz); DR(rdst); SRR(isrc); S2R(bsrc); F_____;
}
@@ -13522,13 +13534,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_97:
{
/** 1111 1110 11sz isrc bsrc rdst movu%s [%1, %2], %0 */
-#line 305 "rx-decode.opc"
+#line 317 "rx-decode.opc"
int sz AU = (op[1] >> 4) & 0x03;
-#line 305 "rx-decode.opc"
+#line 317 "rx-decode.opc"
int isrc AU = op[1] & 0x0f;
-#line 305 "rx-decode.opc"
+#line 317 "rx-decode.opc"
int bsrc AU = (op[2] >> 4) & 0x0f;
-#line 305 "rx-decode.opc"
+#line 317 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -13541,7 +13553,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("movu%s [%1, %2], %0");
-#line 305 "rx-decode.opc"
+#line 317 "rx-decode.opc"
ID(movbi); uBWL(sz); DR(rdst); SRR(isrc); S2R(bsrc); F_____;
}
@@ -13986,11 +13998,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_98:
{
/** 1111 1111 0000 rdst srca srcb sub %2, %1, %0 */
-#line 509 "rx-decode.opc"
+#line 521 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 509 "rx-decode.opc"
+#line 521 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 509 "rx-decode.opc"
+#line 521 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -14002,7 +14014,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("sub %2, %1, %0");
-#line 509 "rx-decode.opc"
+#line 521 "rx-decode.opc"
ID(sub); DR(rdst); SR(srcb); S2R(srca); F_OSZC;
/*----------------------------------------------------------------------*/
@@ -14155,11 +14167,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_99:
{
/** 1111 1111 0010 rdst srca srcb add %2, %1, %0 */
-#line 476 "rx-decode.opc"
+#line 488 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 476 "rx-decode.opc"
+#line 488 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 476 "rx-decode.opc"
+#line 488 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -14171,7 +14183,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("add %2, %1, %0");
-#line 476 "rx-decode.opc"
+#line 488 "rx-decode.opc"
ID(add); DR(rdst); SR(srcb); S2R(srca); F_OSZC;
/*----------------------------------------------------------------------*/
@@ -14324,11 +14336,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_100:
{
/** 1111 1111 0011 rdst srca srcb mul %2, %1, %0 */
-#line 578 "rx-decode.opc"
+#line 590 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 578 "rx-decode.opc"
+#line 590 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 578 "rx-decode.opc"
+#line 590 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -14340,7 +14352,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("mul %2, %1, %0");
-#line 578 "rx-decode.opc"
+#line 590 "rx-decode.opc"
ID(mul); DR(rdst); SR(srcb); S2R(srca); F_____;
/*----------------------------------------------------------------------*/
@@ -14493,11 +14505,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_101:
{
/** 1111 1111 0100 rdst srca srcb and %2, %1, %0 */
-#line 386 "rx-decode.opc"
+#line 398 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 386 "rx-decode.opc"
+#line 398 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 386 "rx-decode.opc"
+#line 398 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -14509,7 +14521,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("and %2, %1, %0");
-#line 386 "rx-decode.opc"
+#line 398 "rx-decode.opc"
ID(and); DR(rdst); SR(srcb); S2R(srca); F__SZ_;
/*----------------------------------------------------------------------*/
@@ -14662,11 +14674,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_102:
{
/** 1111 1111 0101 rdst srca srcb or %2, %1, %0 */
-#line 404 "rx-decode.opc"
+#line 416 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 404 "rx-decode.opc"
+#line 416 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 404 "rx-decode.opc"
+#line 416 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -14678,7 +14690,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("or %2, %1, %0");
-#line 404 "rx-decode.opc"
+#line 416 "rx-decode.opc"
ID(or); DR(rdst); SR(srcb); S2R(srca); F__SZ_;
/*----------------------------------------------------------------------*/
@@ -14828,7 +14840,7 @@ rx_decode_opcode (unsigned long pc AU,
break;
default: UNSUPPORTED(); break;
}
-#line 961 "rx-decode.opc"
+#line 973 "rx-decode.opc"
return rx->n_bytes;
}
« no previous file with comments | « opcodes/rl78-dis.c ('k') | opcodes/rx-decode.opc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698