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-dis.c (print_insn_arm): Constify "insn". Formatting.
[deliverable/binutils-gdb.git]
/
opcodes
/
openrisc-opc.c
diff --git
a/opcodes/openrisc-opc.c
b/opcodes/openrisc-opc.c
index 86ee35b7bf367dd470107b18cd62a999f78361b3..687996c0ddee3dd2fba4aefca013ec335524c74f 100644
(file)
--- a/
opcodes/openrisc-opc.c
+++ b/
opcodes/openrisc-opc.c
@@
-2,7
+2,7
@@
THIS FILE IS MACHINE GENERATED WITH CGEN.
THIS FILE IS MACHINE GENERATED WITH CGEN.
-Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+Copyright 1996, 1997, 1998, 1999, 2000, 2001
, 2002
Free Software Foundation, Inc.
This file is part of the GNU Binutils and/or GDB, the GNU debugger.
This file is part of the GNU Binutils and/or GDB, the GNU debugger.
@@
-594,7
+594,7
@@
static const CGEN_OPCODE openrisc_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);
}
@@
-644,12
+644,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
@@
-678,6
+680,7
@@
openrisc_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];
+ openrisc_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);
@@
-686,7
+689,10
@@
openrisc_cgen_init_opcode_table (cd)
oc = & openrisc_cgen_insn_opcode_table[0];
insns = (CGEN_INSN *) cd->insn_table.init_entries;
for (i = 0; i < MAX_INSNS; ++i)
oc = & openrisc_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];
+ openrisc_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.034067 seconds
and
4
git commands to generate.