aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mep-opc.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/mep-opc.c')
-rw-r--r--opcodes/mep-opc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/opcodes/mep-opc.c b/opcodes/mep-opc.c
index 584e520..0191a60 100644
--- a/opcodes/mep-opc.c
+++ b/opcodes/mep-opc.c
@@ -167,11 +167,13 @@ mep_cgen_insn_supported (CGEN_CPU_DESC cd, const CGEN_INSN *insn)
int
mep_cgen_insn_supported_asm (CGEN_CPU_DESC cd, const CGEN_INSN *insn)
{
+#ifdef ISA_EXT_COP1_64
/* If we're assembling VLIW packets, ignore the 12-bit BSR as we
can't relax that. The 24-bit BSR is matched instead. */
if (insn->base->num == MEP_INSN_BSR12
&& cgen_bitset_contains (cd->isas, ISA_EXT_COP1_64))
return 0;
+#endif
return mep_cgen_insn_supported (cd, insn);
}