opcodes:
* cgen-asm.in (@arch@_cgen_assemble_insn): CGEN_INSN_RELAX renamed to CGEN_INSN_RELAXED. * fr30-asm.c,fr30-desc.c,fr30-desc.h: Regenerate. * frv-asm.c,frv-desc.c,frv-desc.h: Regenerate. * ip2k-asm.c,ip2k-desc.c,ip2k-desc.h: Regenerate. * iq2000-asm.c,iq2000-desc.c,iq2000-desc.h: Regenerate. * m32r-asm.c,m32r-desc.c,m32r-desc.h,m32r-opc.c: Regenerate. * openrisc-asm.c,openrisc-desc.c,openrisc-desc.h: Regenerate. * xstormy16-asm.c,xstormy16-desc.c,xstormy16-desc.h: Regenerate. gas: * cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to CGEN_INSN_RELAXED. * config/tc-fr30.c (md_estimate_size_before_relax): Ditto. * config/tc-m32r.c (md_estimate_size_before_relax): Ditto. * config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.
This commit is contained in:
parent
5b5b78dacb
commit
b11dcf4e7f
29 changed files with 61 additions and 41 deletions
|
@ -1,3 +1,11 @@
|
|||
2003-06-10 Doug Evans <dje@sebabeach.org>
|
||||
|
||||
* cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to
|
||||
CGEN_INSN_RELAXED.
|
||||
* config/tc-fr30.c (md_estimate_size_before_relax): Ditto.
|
||||
* config/tc-m32r.c (md_estimate_size_before_relax): Ditto.
|
||||
* config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.
|
||||
|
||||
2003-06-10 Alan Modra <amodra@bigpond.net.au>
|
||||
Gary Hade <garyhade@us.ibm.com>
|
||||
|
||||
|
|
|
@ -431,7 +431,7 @@ gas_cgen_finish_insn (insn, buf, length, relax_p, result)
|
|||
Relaxable instructions: We need to ensure we allocate enough
|
||||
space for the largest insn. */
|
||||
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAX))
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAXED))
|
||||
/* These currently shouldn't get here. */
|
||||
abort ();
|
||||
|
||||
|
@ -531,7 +531,7 @@ gas_cgen_finish_insn (insn, buf, length, relax_p, result)
|
|||
cgen_operand_lookup_by_num (gas_cgen_cpu_desc, fixups[i].opindex);
|
||||
|
||||
/* Don't create fixups for these. That's done during relaxation.
|
||||
We don't need to test for CGEN_INSN_RELAX as they can't get here
|
||||
We don't need to test for CGEN_INSN_RELAXED as they can't get here
|
||||
(see above). */
|
||||
if (relax_p
|
||||
&& CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAXABLE)
|
||||
|
|
|
@ -312,7 +312,7 @@ md_estimate_size_before_relax (fragP, segment)
|
|||
if ((strcmp (CGEN_INSN_MNEMONIC (insn),
|
||||
CGEN_INSN_MNEMONIC (fragP->fr_cgen.insn))
|
||||
== 0)
|
||||
&& CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAX))
|
||||
&& CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAXED))
|
||||
break;
|
||||
}
|
||||
if (i == 4)
|
||||
|
|
|
@ -1507,7 +1507,7 @@ md_estimate_size_before_relax (fragP, segment)
|
|||
if ((strcmp (CGEN_INSN_MNEMONIC (insn),
|
||||
CGEN_INSN_MNEMONIC (fragP->fr_cgen.insn))
|
||||
== 0)
|
||||
&& CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAX))
|
||||
&& CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAXED))
|
||||
break;
|
||||
}
|
||||
if (i == 4)
|
||||
|
|
|
@ -304,7 +304,7 @@ md_estimate_size_before_relax (fragP, segment)
|
|||
if ((strcmp (CGEN_INSN_MNEMONIC (insn),
|
||||
CGEN_INSN_MNEMONIC (fragP->fr_cgen.insn))
|
||||
== 0)
|
||||
&& CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAX))
|
||||
&& CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAXED))
|
||||
break;
|
||||
}
|
||||
if (i == 4)
|
||||
|
|
|
@ -1,3 +1,15 @@
|
|||
2003-06-10 Doug Evans <dje@sebabeach.org>
|
||||
|
||||
* cgen-asm.in (@arch@_cgen_assemble_insn): CGEN_INSN_RELAX renamed to
|
||||
CGEN_INSN_RELAXED.
|
||||
* fr30-asm.c,fr30-desc.c,fr30-desc.h: Regenerate.
|
||||
* frv-asm.c,frv-desc.c,frv-desc.h: Regenerate.
|
||||
* ip2k-asm.c,ip2k-desc.c,ip2k-desc.h: Regenerate.
|
||||
* iq2000-asm.c,iq2000-desc.c,iq2000-desc.h: Regenerate.
|
||||
* m32r-asm.c,m32r-desc.c,m32r-desc.h,m32r-opc.c: Regenerate.
|
||||
* openrisc-asm.c,openrisc-desc.c,openrisc-desc.h: Regenerate.
|
||||
* xstormy16-asm.c,xstormy16-desc.c,xstormy16-desc.h: Regenerate.
|
||||
|
||||
2003-06-10 Gary Hade <garyhade@us.ibm.com>
|
||||
Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
|
|
|
@ -361,10 +361,10 @@ const CGEN_INSN *
|
|||
if (! @arch@_cgen_insn_supported (cd, insn))
|
||||
continue;
|
||||
#endif
|
||||
/* If the RELAX attribute is set, this is an insn that shouldn't be
|
||||
/* If the RELAXED attribute is set, this is an insn that shouldn't be
|
||||
chosen immediately. Instead, it is used during assembler/linker
|
||||
relaxation if possible. */
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAX) != 0)
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAXED) != 0)
|
||||
continue;
|
||||
|
||||
str = start;
|
||||
|
|
|
@ -657,10 +657,10 @@ fr30_cgen_assemble_insn (cd, str, fields, buf, errmsg)
|
|||
if (! fr30_cgen_insn_supported (cd, insn))
|
||||
continue;
|
||||
#endif
|
||||
/* If the RELAX attribute is set, this is an insn that shouldn't be
|
||||
/* If the RELAXED attribute is set, this is an insn that shouldn't be
|
||||
chosen immediately. Instead, it is used during assembler/linker
|
||||
relaxation if possible. */
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAX) != 0)
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAXED) != 0)
|
||||
continue;
|
||||
|
||||
str = start;
|
||||
|
|
|
@ -105,7 +105,7 @@ const CGEN_ATTR_TABLE fr30_cgen_insn_attr_table[] =
|
|||
{ "SKIP-CTI", &bool_attr[0], &bool_attr[0] },
|
||||
{ "DELAY-SLOT", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXABLE", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAX", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXED", &bool_attr[0], &bool_attr[0] },
|
||||
{ "NO-DIS", &bool_attr[0], &bool_attr[0] },
|
||||
{ "PBB", &bool_attr[0], &bool_attr[0] },
|
||||
{ "NOT-IN-DELAY-SLOT", &bool_attr[0], &bool_attr[0] },
|
||||
|
|
|
@ -240,7 +240,7 @@ typedef enum cgen_operand_type {
|
|||
/* Enum declaration for cgen_insn attrs. */
|
||||
typedef enum cgen_insn_attr {
|
||||
CGEN_INSN_ALIAS, CGEN_INSN_VIRTUAL, CGEN_INSN_UNCOND_CTI, CGEN_INSN_COND_CTI
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAX
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAXED
|
||||
, CGEN_INSN_NO_DIS, CGEN_INSN_PBB, CGEN_INSN_NOT_IN_DELAY_SLOT, CGEN_INSN_END_BOOLS
|
||||
, CGEN_INSN_START_NBOOLS = 31, CGEN_INSN_MACH, CGEN_INSN_END_NBOOLS
|
||||
} CGEN_INSN_ATTR;
|
||||
|
|
|
@ -960,10 +960,10 @@ frv_cgen_assemble_insn (cd, str, fields, buf, errmsg)
|
|||
if (! frv_cgen_insn_supported (cd, insn))
|
||||
continue;
|
||||
#endif
|
||||
/* If the RELAX attribute is set, this is an insn that shouldn't be
|
||||
/* If the RELAXED attribute is set, this is an insn that shouldn't be
|
||||
chosen immediately. Instead, it is used during assembler/linker
|
||||
relaxation if possible. */
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAX) != 0)
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAXED) != 0)
|
||||
continue;
|
||||
|
||||
str = start;
|
||||
|
|
|
@ -188,7 +188,7 @@ const CGEN_ATTR_TABLE frv_cgen_insn_attr_table[] =
|
|||
{ "SKIP-CTI", &bool_attr[0], &bool_attr[0] },
|
||||
{ "DELAY-SLOT", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXABLE", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAX", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXED", &bool_attr[0], &bool_attr[0] },
|
||||
{ "NO-DIS", &bool_attr[0], &bool_attr[0] },
|
||||
{ "PBB", &bool_attr[0], &bool_attr[0] },
|
||||
{ "PRIVILEGED", &bool_attr[0], &bool_attr[0] },
|
||||
|
|
|
@ -696,7 +696,7 @@ typedef enum cgen_operand_type {
|
|||
/* Enum declaration for cgen_insn attrs. */
|
||||
typedef enum cgen_insn_attr {
|
||||
CGEN_INSN_ALIAS, CGEN_INSN_VIRTUAL, CGEN_INSN_UNCOND_CTI, CGEN_INSN_COND_CTI
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAX
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAXED
|
||||
, CGEN_INSN_NO_DIS, CGEN_INSN_PBB, CGEN_INSN_PRIVILEGED, CGEN_INSN_NON_EXCEPTING
|
||||
, CGEN_INSN_CONDITIONAL, CGEN_INSN_FR_ACCESS, CGEN_INSN_PRESERVE_OVF, CGEN_INSN_END_BOOLS
|
||||
, CGEN_INSN_START_NBOOLS = 31, CGEN_INSN_MACH, CGEN_INSN_UNIT, CGEN_INSN_FR400_MAJOR
|
||||
|
|
|
@ -908,10 +908,10 @@ ip2k_cgen_assemble_insn (cd, str, fields, buf, errmsg)
|
|||
if (! ip2k_cgen_insn_supported (cd, insn))
|
||||
continue;
|
||||
#endif
|
||||
/* If the RELAX attribute is set, this is an insn that shouldn't be
|
||||
/* If the RELAXED attribute is set, this is an insn that shouldn't be
|
||||
chosen immediately. Instead, it is used during assembler/linker
|
||||
relaxation if possible. */
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAX) != 0)
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAXED) != 0)
|
||||
continue;
|
||||
|
||||
str = start;
|
||||
|
|
|
@ -105,7 +105,7 @@ const CGEN_ATTR_TABLE ip2k_cgen_insn_attr_table[] =
|
|||
{ "SKIP-CTI", &bool_attr[0], &bool_attr[0] },
|
||||
{ "DELAY-SLOT", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXABLE", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAX", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXED", &bool_attr[0], &bool_attr[0] },
|
||||
{ "NO-DIS", &bool_attr[0], &bool_attr[0] },
|
||||
{ "PBB", &bool_attr[0], &bool_attr[0] },
|
||||
{ "EXT-SKIP-INSN", &bool_attr[0], &bool_attr[0] },
|
||||
|
|
|
@ -225,7 +225,7 @@ typedef enum cgen_operand_type {
|
|||
/* Enum declaration for cgen_insn attrs. */
|
||||
typedef enum cgen_insn_attr {
|
||||
CGEN_INSN_ALIAS, CGEN_INSN_VIRTUAL, CGEN_INSN_UNCOND_CTI, CGEN_INSN_COND_CTI
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAX
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAXED
|
||||
, CGEN_INSN_NO_DIS, CGEN_INSN_PBB, CGEN_INSN_EXT_SKIP_INSN, CGEN_INSN_SKIPA
|
||||
, CGEN_INSN_END_BOOLS, CGEN_INSN_START_NBOOLS = 31, CGEN_INSN_MACH, CGEN_INSN_END_NBOOLS
|
||||
} CGEN_INSN_ATTR;
|
||||
|
|
|
@ -794,10 +794,10 @@ iq2000_cgen_assemble_insn (cd, str, fields, buf, errmsg)
|
|||
if (! iq2000_cgen_insn_supported (cd, insn))
|
||||
continue;
|
||||
#endif
|
||||
/* If the RELAX attribute is set, this is an insn that shouldn't be
|
||||
/* If the RELAXED attribute is set, this is an insn that shouldn't be
|
||||
chosen immediately. Instead, it is used during assembler/linker
|
||||
relaxation if possible. */
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAX) != 0)
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAXED) != 0)
|
||||
continue;
|
||||
|
||||
str = start;
|
||||
|
|
|
@ -105,7 +105,7 @@ const CGEN_ATTR_TABLE iq2000_cgen_insn_attr_table[] =
|
|||
{ "SKIP-CTI", &bool_attr[0], &bool_attr[0] },
|
||||
{ "DELAY-SLOT", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXABLE", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAX", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXED", &bool_attr[0], &bool_attr[0] },
|
||||
{ "NO-DIS", &bool_attr[0], &bool_attr[0] },
|
||||
{ "PBB", &bool_attr[0], &bool_attr[0] },
|
||||
{ "YIELD-INSN", &bool_attr[0], &bool_attr[0] },
|
||||
|
|
|
@ -273,7 +273,7 @@ typedef enum cgen_operand_type {
|
|||
/* Enum declaration for cgen_insn attrs. */
|
||||
typedef enum cgen_insn_attr {
|
||||
CGEN_INSN_ALIAS, CGEN_INSN_VIRTUAL, CGEN_INSN_UNCOND_CTI, CGEN_INSN_COND_CTI
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAX
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAXED
|
||||
, CGEN_INSN_NO_DIS, CGEN_INSN_PBB, CGEN_INSN_YIELD_INSN, CGEN_INSN_LOAD_DELAY
|
||||
, CGEN_INSN_EVEN_REG_NUM, CGEN_INSN_UNSUPPORTED, CGEN_INSN_USES_RD, CGEN_INSN_USES_RS
|
||||
, CGEN_INSN_USES_RT, CGEN_INSN_USES_R31, CGEN_INSN_END_BOOLS, CGEN_INSN_START_NBOOLS = 31
|
||||
|
|
|
@ -659,10 +659,10 @@ m32r_cgen_assemble_insn (cd, str, fields, buf, errmsg)
|
|||
if (! m32r_cgen_insn_supported (cd, insn))
|
||||
continue;
|
||||
#endif
|
||||
/* If the RELAX attribute is set, this is an insn that shouldn't be
|
||||
/* If the RELAXED attribute is set, this is an insn that shouldn't be
|
||||
chosen immediately. Instead, it is used during assembler/linker
|
||||
relaxation if possible. */
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAX) != 0)
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAXED) != 0)
|
||||
continue;
|
||||
|
||||
str = start;
|
||||
|
|
|
@ -118,7 +118,7 @@ const CGEN_ATTR_TABLE m32r_cgen_insn_attr_table[] =
|
|||
{ "SKIP-CTI", &bool_attr[0], &bool_attr[0] },
|
||||
{ "DELAY-SLOT", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXABLE", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAX", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXED", &bool_attr[0], &bool_attr[0] },
|
||||
{ "NO-DIS", &bool_attr[0], &bool_attr[0] },
|
||||
{ "PBB", &bool_attr[0], &bool_attr[0] },
|
||||
{ "FILL-SLOT", &bool_attr[0], &bool_attr[0] },
|
||||
|
|
|
@ -204,7 +204,7 @@ typedef enum cgen_operand_type {
|
|||
/* Enum declaration for cgen_insn attrs. */
|
||||
typedef enum cgen_insn_attr {
|
||||
CGEN_INSN_ALIAS, CGEN_INSN_VIRTUAL, CGEN_INSN_UNCOND_CTI, CGEN_INSN_COND_CTI
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAX
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAXED
|
||||
, CGEN_INSN_NO_DIS, CGEN_INSN_PBB, CGEN_INSN_FILL_SLOT, CGEN_INSN_SPECIAL
|
||||
, CGEN_INSN_END_BOOLS, CGEN_INSN_START_NBOOLS = 31, CGEN_INSN_MACH, CGEN_INSN_PIPE
|
||||
, CGEN_INSN_END_NBOOLS
|
||||
|
|
|
@ -1187,7 +1187,7 @@ static const CGEN_IBASE m32r_cgen_macro_insn_table[] =
|
|||
/* bc $disp24 */
|
||||
{
|
||||
-1, "bc24r", "bc", 32,
|
||||
{ 0|A(RELAX)|A(COND_CTI)|A(ALIAS), { (1<<MACH_BASE), PIPE_NONE } }
|
||||
{ 0|A(RELAXED)|A(COND_CTI)|A(ALIAS), { (1<<MACH_BASE), PIPE_NONE } }
|
||||
},
|
||||
/* bl $disp8 */
|
||||
{
|
||||
|
@ -1197,7 +1197,7 @@ static const CGEN_IBASE m32r_cgen_macro_insn_table[] =
|
|||
/* bl $disp24 */
|
||||
{
|
||||
-1, "bl24r", "bl", 32,
|
||||
{ 0|A(RELAX)|A(UNCOND_CTI)|A(ALIAS), { (1<<MACH_BASE), PIPE_NONE } }
|
||||
{ 0|A(RELAXED)|A(UNCOND_CTI)|A(ALIAS), { (1<<MACH_BASE), PIPE_NONE } }
|
||||
},
|
||||
/* bcl $disp8 */
|
||||
{
|
||||
|
@ -1207,7 +1207,7 @@ static const CGEN_IBASE m32r_cgen_macro_insn_table[] =
|
|||
/* bcl $disp24 */
|
||||
{
|
||||
-1, "bcl24r", "bcl", 32,
|
||||
{ 0|A(RELAX)|A(COND_CTI)|A(ALIAS), { (1<<MACH_M32RX), PIPE_NONE } }
|
||||
{ 0|A(RELAXED)|A(COND_CTI)|A(ALIAS), { (1<<MACH_M32RX), PIPE_NONE } }
|
||||
},
|
||||
/* bnc $disp8 */
|
||||
{
|
||||
|
@ -1217,7 +1217,7 @@ static const CGEN_IBASE m32r_cgen_macro_insn_table[] =
|
|||
/* bnc $disp24 */
|
||||
{
|
||||
-1, "bnc24r", "bnc", 32,
|
||||
{ 0|A(RELAX)|A(COND_CTI)|A(ALIAS), { (1<<MACH_BASE), PIPE_NONE } }
|
||||
{ 0|A(RELAXED)|A(COND_CTI)|A(ALIAS), { (1<<MACH_BASE), PIPE_NONE } }
|
||||
},
|
||||
/* bra $disp8 */
|
||||
{
|
||||
|
@ -1227,7 +1227,7 @@ static const CGEN_IBASE m32r_cgen_macro_insn_table[] =
|
|||
/* bra $disp24 */
|
||||
{
|
||||
-1, "bra24r", "bra", 32,
|
||||
{ 0|A(RELAX)|A(UNCOND_CTI)|A(ALIAS), { (1<<MACH_BASE), PIPE_NONE } }
|
||||
{ 0|A(RELAXED)|A(UNCOND_CTI)|A(ALIAS), { (1<<MACH_BASE), PIPE_NONE } }
|
||||
},
|
||||
/* bncl $disp8 */
|
||||
{
|
||||
|
@ -1237,7 +1237,7 @@ static const CGEN_IBASE m32r_cgen_macro_insn_table[] =
|
|||
/* bncl $disp24 */
|
||||
{
|
||||
-1, "bncl24r", "bncl", 32,
|
||||
{ 0|A(RELAX)|A(COND_CTI)|A(ALIAS), { (1<<MACH_M32RX), PIPE_NONE } }
|
||||
{ 0|A(RELAXED)|A(COND_CTI)|A(ALIAS), { (1<<MACH_M32RX), PIPE_NONE } }
|
||||
},
|
||||
/* ld $dr,@($sr) */
|
||||
{
|
||||
|
|
|
@ -578,10 +578,10 @@ openrisc_cgen_assemble_insn (cd, str, fields, buf, errmsg)
|
|||
if (! openrisc_cgen_insn_supported (cd, insn))
|
||||
continue;
|
||||
#endif
|
||||
/* If the RELAX attribute is set, this is an insn that shouldn't be
|
||||
/* If the RELAXED attribute is set, this is an insn that shouldn't be
|
||||
chosen immediately. Instead, it is used during assembler/linker
|
||||
relaxation if possible. */
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAX) != 0)
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAXED) != 0)
|
||||
continue;
|
||||
|
||||
str = start;
|
||||
|
|
|
@ -112,7 +112,7 @@ const CGEN_ATTR_TABLE openrisc_cgen_insn_attr_table[] =
|
|||
{ "SKIP-CTI", &bool_attr[0], &bool_attr[0] },
|
||||
{ "DELAY-SLOT", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXABLE", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAX", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXED", &bool_attr[0], &bool_attr[0] },
|
||||
{ "NO-DIS", &bool_attr[0], &bool_attr[0] },
|
||||
{ "PBB", &bool_attr[0], &bool_attr[0] },
|
||||
{ "NOT-IN-DELAY-SLOT", &bool_attr[0], &bool_attr[0] },
|
||||
|
|
|
@ -223,7 +223,7 @@ typedef enum cgen_operand_type {
|
|||
/* Enum declaration for cgen_insn attrs. */
|
||||
typedef enum cgen_insn_attr {
|
||||
CGEN_INSN_ALIAS, CGEN_INSN_VIRTUAL, CGEN_INSN_UNCOND_CTI, CGEN_INSN_COND_CTI
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAX
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAXED
|
||||
, CGEN_INSN_NO_DIS, CGEN_INSN_PBB, CGEN_INSN_NOT_IN_DELAY_SLOT, CGEN_INSN_END_BOOLS
|
||||
, CGEN_INSN_START_NBOOLS = 31, CGEN_INSN_MACH, CGEN_INSN_END_NBOOLS
|
||||
} CGEN_INSN_ATTR;
|
||||
|
|
|
@ -618,10 +618,10 @@ xstormy16_cgen_assemble_insn (cd, str, fields, buf, errmsg)
|
|||
if (! xstormy16_cgen_insn_supported (cd, insn))
|
||||
continue;
|
||||
#endif
|
||||
/* If the RELAX attribute is set, this is an insn that shouldn't be
|
||||
/* If the RELAXED attribute is set, this is an insn that shouldn't be
|
||||
chosen immediately. Instead, it is used during assembler/linker
|
||||
relaxation if possible. */
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAX) != 0)
|
||||
if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_RELAXED) != 0)
|
||||
continue;
|
||||
|
||||
str = start;
|
||||
|
|
|
@ -104,7 +104,7 @@ const CGEN_ATTR_TABLE xstormy16_cgen_insn_attr_table[] =
|
|||
{ "SKIP-CTI", &bool_attr[0], &bool_attr[0] },
|
||||
{ "DELAY-SLOT", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXABLE", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAX", &bool_attr[0], &bool_attr[0] },
|
||||
{ "RELAXED", &bool_attr[0], &bool_attr[0] },
|
||||
{ "NO-DIS", &bool_attr[0], &bool_attr[0] },
|
||||
{ "PBB", &bool_attr[0], &bool_attr[0] },
|
||||
{ 0, 0, 0 }
|
||||
|
|
|
@ -261,7 +261,7 @@ typedef enum cgen_operand_type {
|
|||
/* Enum declaration for cgen_insn attrs. */
|
||||
typedef enum cgen_insn_attr {
|
||||
CGEN_INSN_ALIAS, CGEN_INSN_VIRTUAL, CGEN_INSN_UNCOND_CTI, CGEN_INSN_COND_CTI
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAX
|
||||
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAXED
|
||||
, CGEN_INSN_NO_DIS, CGEN_INSN_PBB, CGEN_INSN_END_BOOLS, CGEN_INSN_START_NBOOLS = 31
|
||||
, CGEN_INSN_MACH, CGEN_INSN_END_NBOOLS
|
||||
} CGEN_INSN_ATTR;
|
||||
|
|
Loading…
Reference in a new issue