summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/arc-opc.c36
2 files changed, 23 insertions, 19 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 0bd9ca4706..511dc63b53 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2001-05-23 Alan Modra <amodra@one.net.au>
+
+ * arc-opc.c: Whitespace changes.
+
2001-05-18 Hans-Peter Nilsson <hp@axis.com>
* cris-opc.c (cris_spec_regs): Add missing initializer field for
@@ -13,7 +17,7 @@
(std_reg_names): Replace by mips32_reg_names and mips64_reg_names.
(print_insn_arg): Remove $ prefix of register names.
(set_mips_isa_type): Remove.
- (imps_isa_type): New function.
+ (mips_isa_type): New function.
(get_mips_isa): New Function.
(print_insn_mips): Rename _print_insn_mips.
(_print_insn_mips): New function, contains code which was
diff --git a/opcodes/arc-opc.c b/opcodes/arc-opc.c
index 1e5ac1aa8d..a90a886fb9 100644
--- a/opcodes/arc-opc.c
+++ b/opcodes/arc-opc.c
@@ -1336,12 +1336,12 @@ insert_jumpflags (insn, operand, mods, reg, value, errmsg)
static arc_insn
insert_unopmacro (insn, operand, mods, reg, value, errmsg)
- arc_insn insn;
- const struct arc_operand *operand;
- int mods ATTRIBUTE_UNUSED;
- const struct arc_operand_value *reg ATTRIBUTE_UNUSED;
- long value ATTRIBUTE_UNUSED;
- const char **errmsg ATTRIBUTE_UNUSED;
+ arc_insn insn;
+ const struct arc_operand *operand;
+ int mods ATTRIBUTE_UNUSED;
+ const struct arc_operand_value *reg ATTRIBUTE_UNUSED;
+ long value ATTRIBUTE_UNUSED;
+ const char **errmsg ATTRIBUTE_UNUSED;
{
insn |= ((insn >> ARC_SHIFT_REGB) & ARC_MASK_REG) << operand->shift;
return insn;
@@ -1351,12 +1351,12 @@ insert_unopmacro (insn, operand, mods, reg, value, errmsg)
static arc_insn
insert_reladdr (insn, operand, mods, reg, value, errmsg)
- arc_insn insn;
- const struct arc_operand *operand;
- int mods ATTRIBUTE_UNUSED;
- const struct arc_operand_value *reg ATTRIBUTE_UNUSED;
- long value;
- const char **errmsg;
+ arc_insn insn;
+ const struct arc_operand *operand;
+ int mods ATTRIBUTE_UNUSED;
+ const struct arc_operand_value *reg ATTRIBUTE_UNUSED;
+ long value;
+ const char **errmsg;
{
if (value & 3)
*errmsg = "branch address not on 4 byte boundary";
@@ -1380,12 +1380,12 @@ insert_reladdr (insn, operand, mods, reg, value, errmsg)
static arc_insn
insert_absaddr (insn, operand, mods, reg, value, errmsg)
- arc_insn insn;
- const struct arc_operand *operand ATTRIBUTE_UNUSED;
- int mods ATTRIBUTE_UNUSED;
- const struct arc_operand_value *reg ATTRIBUTE_UNUSED;
- long value ATTRIBUTE_UNUSED;
- const char **errmsg;
+ arc_insn insn;
+ const struct arc_operand *operand ATTRIBUTE_UNUSED;
+ int mods ATTRIBUTE_UNUSED;
+ const struct arc_operand_value *reg ATTRIBUTE_UNUSED;
+ long value ATTRIBUTE_UNUSED;
+ const char **errmsg;
{
if (limm_p)
{