* alpha-opc.c: Remove ARGSUSED.

* i370-opc.c: Likewise.
	* ppc-opc.c: Likewise.
This commit is contained in:
Kazu Hirata 2003-12-03 03:15:14 +00:00
parent 2460582e7b
commit e0ab682bec
4 changed files with 6 additions and 35 deletions

View file

@ -1,3 +1,9 @@
2003-12-02 Kazu Hirata <kazu@cs.umass.edu>
* alpha-opc.c: Remove ARGSUSED.
* i370-opc.c: Likewise.
* ppc-opc.c: Likewise.
2003-12-02 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Run "make dep-am".

View file

@ -214,7 +214,6 @@ const unsigned alpha_num_operands = sizeof(alpha_operands)/sizeof(*alpha_operand
the RA field into the RB field, and the extraction function just
checks that the fields are the same. */
/*ARGSUSED*/
static unsigned
insert_rba(insn, value, errmsg)
unsigned insn;
@ -238,7 +237,6 @@ extract_rba(insn, invalid)
/* The same for the RC field */
/*ARGSUSED*/
static unsigned
insert_rca(insn, value, errmsg)
unsigned insn;
@ -262,7 +260,6 @@ extract_rca(insn, invalid)
/* Fake arguments in which the registers must be set to ZERO */
/*ARGSUSED*/
static unsigned
insert_za(insn, value, errmsg)
unsigned insn;
@ -282,7 +279,6 @@ extract_za(insn, invalid)
return 0;
}
/*ARGSUSED*/
static unsigned
insert_zb(insn, value, errmsg)
unsigned insn;
@ -302,7 +298,6 @@ extract_zb(insn, invalid)
return 0;
}
/*ARGSUSED*/
static unsigned
insert_zc(insn, value, errmsg)
unsigned insn;
@ -336,7 +331,6 @@ insert_bdisp(insn, value, errmsg)
return insn | ((value / 4) & 0x1FFFFF);
}
/*ARGSUSED*/
static int
extract_bdisp(insn, invalid)
unsigned insn;
@ -359,7 +353,6 @@ insert_jhint(insn, value, errmsg)
return insn | ((value / 4) & 0x3FFF);
}
/*ARGSUSED*/
static int
extract_jhint(insn, invalid)
unsigned insn;
@ -381,7 +374,6 @@ insert_ev6hwjhint(insn, value, errmsg)
return insn | ((value / 4) & 0x1FFF);
}
/*ARGSUSED*/
static int
extract_ev6hwjhint(insn, invalid)
unsigned insn;

View file

@ -229,7 +229,6 @@ const struct i370_operand i370_operands[] =
/* The functions used to insert and extract complicated operands. */
/*ARGSUSED*/
static i370_insn_t
insert_ss_b2 (i370_insn_t insn, long value,
const char **errmsg ATTRIBUTE_UNUSED)

View file

@ -548,7 +548,6 @@ const struct powerpc_operand powerpc_operands[] =
and the extraction function just checks that the fields are the
same. */
/*ARGSUSED*/
static unsigned long
insert_bat (unsigned long insn,
long value ATTRIBUTE_UNUSED,
@ -574,7 +573,6 @@ extract_bat (unsigned long insn,
and the extraction function just checks that the fields are the
same. */
/*ARGSUSED*/
static unsigned long
insert_bba (unsigned long insn,
long value ATTRIBUTE_UNUSED,
@ -597,7 +595,6 @@ extract_bba (unsigned long insn,
/* The BD field in a B form instruction. The lower two bits are
forced to zero. */
/*ARGSUSED*/
static unsigned long
insert_bd (unsigned long insn,
long value,
@ -607,7 +604,6 @@ insert_bd (unsigned long insn,
return insn | (value & 0xfffc);
}
/*ARGSUSED*/
static long
extract_bd (unsigned long insn,
int dialect ATTRIBUTE_UNUSED,
@ -629,7 +625,6 @@ extract_bd (unsigned long insn,
in BO field, the "a" bit is 00010 for branch on CR(BI) and 01000
for branch on CTR. We only handle the taken/not-taken hint here. */
/*ARGSUSED*/
static unsigned long
insert_bdm (unsigned long insn,
long value,
@ -675,7 +670,6 @@ extract_bdm (unsigned long insn,
This is like BDM, above, except that the branch is expected to be
taken. */
/*ARGSUSED*/
static unsigned long
insert_bdp (unsigned long insn,
long value,
@ -829,7 +823,6 @@ extract_boe (unsigned long insn,
/* The DQ field in a DQ form instruction. This is like D, but the
lower four bits are forced to zero. */
/*ARGSUSED*/
static unsigned long
insert_dq (unsigned long insn,
long value,
@ -841,7 +834,6 @@ insert_dq (unsigned long insn,
return insn | (value & 0xfff0);
}
/*ARGSUSED*/
static long
extract_dq (unsigned long insn,
int dialect ATTRIBUTE_UNUSED,
@ -916,7 +908,6 @@ extract_ev8 (unsigned long insn,
/* The DS field in a DS form instruction. This is like D, but the
lower two bits are forced to zero. */
/*ARGSUSED*/
static unsigned long
insert_ds (unsigned long insn,
long value,
@ -928,7 +919,6 @@ insert_ds (unsigned long insn,
return insn | (value & 0xfffc);
}
/*ARGSUSED*/
static long
extract_ds (unsigned long insn,
int dialect ATTRIBUTE_UNUSED,
@ -939,7 +929,6 @@ extract_ds (unsigned long insn,
/* The DE field in a DE form instruction. */
/*ARGSUSED*/
static unsigned long
insert_de (unsigned long insn,
long value,
@ -951,7 +940,6 @@ insert_de (unsigned long insn,
return insn | ((value << 4) & 0xfff0);
}
/*ARGSUSED*/
static long
extract_de (unsigned long insn,
int dialect ATTRIBUTE_UNUSED,
@ -962,7 +950,6 @@ extract_de (unsigned long insn,
/* The DES field in a DES form instruction. */
/*ARGSUSED*/
static unsigned long
insert_des (unsigned long insn,
long value,
@ -976,7 +963,6 @@ insert_des (unsigned long insn,
return insn | ((value << 2) & 0xfff0);
}
/*ARGSUSED*/
static long
extract_des (unsigned long insn,
int dialect ATTRIBUTE_UNUSED,
@ -1049,7 +1035,6 @@ extract_fxm (unsigned long insn,
/* The LI field in an I form instruction. The lower two bits are
forced to zero. */
/*ARGSUSED*/
static unsigned long
insert_li (unsigned long insn,
long value,
@ -1061,7 +1046,6 @@ insert_li (unsigned long insn,
return insn | (value & 0x3fffffc);
}
/*ARGSUSED*/
static long
extract_li (unsigned long insn,
int dialect ATTRIBUTE_UNUSED,
@ -1161,7 +1145,6 @@ extract_mbe (unsigned long insn,
/* The MB or ME field in an MD or MDS form instruction. The high bit
is wrapped to the low end. */
/*ARGSUSED*/
static unsigned long
insert_mb6 (unsigned long insn,
long value,
@ -1171,7 +1154,6 @@ insert_mb6 (unsigned long insn,
return insn | ((value & 0x1f) << 6) | (value & 0x20);
}
/*ARGSUSED*/
static long
extract_mb6 (unsigned long insn,
int dialect ATTRIBUTE_UNUSED,
@ -1196,7 +1178,6 @@ insert_nb (unsigned long insn,
return insn | ((value & 0x1f) << 11);
}
/*ARGSUSED*/
static long
extract_nb (unsigned long insn,
int dialect ATTRIBUTE_UNUSED,
@ -1215,7 +1196,6 @@ extract_nb (unsigned long insn,
invalid, since we never want to recognize an instruction which uses
a field of this type. */
/*ARGSUSED*/
static unsigned long
insert_nsi (unsigned long insn,
long value,
@ -1267,7 +1247,6 @@ insert_ram (unsigned long insn,
/* The RA field in the DQ form lq instruction, which has special
value restrictions. */
/*ARGSUSED*/
static unsigned long
insert_raq (unsigned long insn,
long value,
@ -1302,7 +1281,6 @@ insert_ras (unsigned long insn,
function just copies the BT field into the BA field, and the
extraction function just checks that the fields are the same. */
/*ARGSUSED*/
static unsigned long
insert_rbs (unsigned long insn,
long value ATTRIBUTE_UNUSED,
@ -1325,7 +1303,6 @@ extract_rbs (unsigned long insn,
/* The RT field of the DQ form lq instruction, which has special
value restrictions. */
/*ARGSUSED*/
static unsigned long
insert_rtq (unsigned long insn,
long value,
@ -1340,7 +1317,6 @@ insert_rtq (unsigned long insn,
/* The RS field of the DS form stq instruction, which has special
value restrictions. */
/*ARGSUSED*/
static unsigned long
insert_rsq (unsigned long insn,
long value ATTRIBUTE_UNUSED,
@ -1354,7 +1330,6 @@ insert_rsq (unsigned long insn,
/* The SH field in an MD form instruction. This is split. */
/*ARGSUSED*/
static unsigned long
insert_sh6 (unsigned long insn,
long value,
@ -1364,7 +1339,6 @@ insert_sh6 (unsigned long insn,
return insn | ((value & 0x1f) << 11) | ((value & 0x20) >> 4);
}
/*ARGSUSED*/
static long
extract_sh6 (unsigned long insn,
int dialect ATTRIBUTE_UNUSED,