aboutsummaryrefslogtreecommitdiff
path: root/sim/frv/cpu.h
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2003-09-03 23:12:21 +0000
committerDave Brolley <brolley@redhat.com>2003-09-03 23:12:21 +0000
commitd03ea14fb18405f5ee90546cb9ded912f291843b (patch)
treebd6319fef6feabb9cd63cda18bdad00cf3719578 /sim/frv/cpu.h
parentecd51ad39f03eccde40cad9b5f69de264f160136 (diff)
downloadgdb-d03ea14fb18405f5ee90546cb9ded912f291843b.zip
gdb-d03ea14fb18405f5ee90546cb9ded912f291843b.tar.gz
gdb-d03ea14fb18405f5ee90546cb9ded912f291843b.tar.bz2
003-09-03 Dave Brolley <brolley@redhat.com>
* cpu.h, model.c, sem.c, decode.h, decode.c: Regenerated.
Diffstat (limited to 'sim/frv/cpu.h')
-rw-r--r--sim/frv/cpu.h27
1 files changed, 21 insertions, 6 deletions
diff --git a/sim/frv/cpu.h b/sim/frv/cpu.h
index 354d4c0..d2328fd 100644
--- a/sim/frv/cpu.h
+++ b/sim/frv/cpu.h
@@ -394,10 +394,6 @@ union sem_fields {
IADDR i_label24;
} sfmt_call;
struct { /* */
- UINT f_A;
- UINT f_ACC40Sk;
- } sfmt_mclracc;
- struct { /* */
INT f_u12;
UINT f_FRk;
unsigned char out_FRkhi;
@@ -4196,7 +4192,26 @@ struct scache {
f_ope4 = EXTRACT_LSB0_UINT (insn, 32, 7, 2); \
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6); \
-#define EXTRACT_IFMT_MCLRACC_VARS \
+#define EXTRACT_IFMT_MNOP_VARS \
+ UINT f_pack; \
+ UINT f_ACC40Sk; \
+ UINT f_op; \
+ UINT f_A; \
+ UINT f_misc_null_10; \
+ UINT f_ope1; \
+ UINT f_FRj_null; \
+ unsigned int length;
+#define EXTRACT_IFMT_MNOP_CODE \
+ length = 4; \
+ f_pack = EXTRACT_LSB0_UINT (insn, 32, 31, 1); \
+ f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6); \
+ f_op = EXTRACT_LSB0_UINT (insn, 32, 24, 7); \
+ f_A = EXTRACT_LSB0_UINT (insn, 32, 17, 1); \
+ f_misc_null_10 = EXTRACT_LSB0_UINT (insn, 32, 16, 5); \
+ f_ope1 = EXTRACT_LSB0_UINT (insn, 32, 11, 6); \
+ f_FRj_null = EXTRACT_LSB0_UINT (insn, 32, 5, 6); \
+
+#define EXTRACT_IFMT_MCLRACC_0_VARS \
UINT f_pack; \
UINT f_ACC40Sk; \
UINT f_op; \
@@ -4205,7 +4220,7 @@ struct scache {
UINT f_ope1; \
UINT f_FRj_null; \
unsigned int length;
-#define EXTRACT_IFMT_MCLRACC_CODE \
+#define EXTRACT_IFMT_MCLRACC_0_CODE \
length = 4; \
f_pack = EXTRACT_LSB0_UINT (insn, 32, 31, 1); \
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6); \