projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* arm-linux-nat.c (fill_gregset): Do not check register_valid[].
[deliverable/binutils-gdb.git]
/
opcodes
/
fr30-opc.c
diff --git
a/opcodes/fr30-opc.c
b/opcodes/fr30-opc.c
index 4d0ab6a767cafe0e2d59d8c124b8f11ed0c9a185..e1167d962bf20b58521bf07c2492859a62f54973 100644
(file)
--- a/
opcodes/fr30-opc.c
+++ b/
opcodes/fr30-opc.c
@@
-1284,7
+1284,7
@@
static const CGEN_OPCODE fr30_cgen_macro_insn_opcode_table[] =
static int
asm_hash_insn_p (insn)
static int
asm_hash_insn_p (insn)
- const CGEN_INSN *insn;
+ const CGEN_INSN *insn
ATTRIBUTE_UNUSED
;
{
return CGEN_ASM_HASH_P (insn);
}
{
return CGEN_ASM_HASH_P (insn);
}
@@
-1334,12
+1334,14
@@
asm_hash_insn (mnem)
static unsigned int
dis_hash_insn (buf, value)
static unsigned int
dis_hash_insn (buf, value)
- const char * buf;
- CGEN_INSN_INT value;
+ const char * buf
ATTRIBUTE_UNUSED
;
+ CGEN_INSN_INT value
ATTRIBUTE_UNUSED
;
{
return CGEN_DIS_HASH (buf, value);
}
{
return CGEN_DIS_HASH (buf, value);
}
+static void set_fields_bitsize PARAMS ((CGEN_FIELDS *, int));
+
/* Set the recorded length of the insn in the CGEN_FIELDS struct. */
static void
/* Set the recorded length of the insn in the CGEN_FIELDS struct. */
static void
@@
-1368,6
+1370,7
@@
fr30_cgen_init_opcode_table (cd)
{
insns[i].base = &ib[i];
insns[i].opcode = &oc[i];
{
insns[i].base = &ib[i];
insns[i].opcode = &oc[i];
+ fr30_cgen_build_insn_regex (& insns[i]);
}
cd->macro_insn_table.init_entries = insns;
cd->macro_insn_table.entry_size = sizeof (CGEN_IBASE);
}
cd->macro_insn_table.init_entries = insns;
cd->macro_insn_table.entry_size = sizeof (CGEN_IBASE);
@@
-1376,7
+1379,10
@@
fr30_cgen_init_opcode_table (cd)
oc = & fr30_cgen_insn_opcode_table[0];
insns = (CGEN_INSN *) cd->insn_table.init_entries;
for (i = 0; i < MAX_INSNS; ++i)
oc = & fr30_cgen_insn_opcode_table[0];
insns = (CGEN_INSN *) cd->insn_table.init_entries;
for (i = 0; i < MAX_INSNS; ++i)
- insns[i].opcode = &oc[i];
+ {
+ insns[i].opcode = &oc[i];
+ fr30_cgen_build_insn_regex (& insns[i]);
+ }
cd->sizeof_fields = sizeof (CGEN_FIELDS);
cd->set_fields_bitsize = set_fields_bitsize;
cd->sizeof_fields = sizeof (CGEN_FIELDS);
cd->set_fields_bitsize = set_fields_bitsize;
This page took
0.02414 seconds
and
4
git commands to generate.