From 053160522650e3e1d8d4d49bc03f6f54a144fefc Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 2 Sep 2009 02:10:36 +0000 Subject: [cgen] * cpu/mep.opc (parse_signed16_range): Mark as potentially unused. (parse_unsigned16_range): Likewise. (mep_cgen_insn_supported_asm): Make BSR12 check dependent on VLIW isa. [opcodes] * mep-asm.c: Regenerate. * mep-desc.c: Regenerate. * mep-opc.c: Regenerate. --- opcodes/mep-opc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'opcodes/mep-opc.c') diff --git a/opcodes/mep-opc.c b/opcodes/mep-opc.c index 584e520d46e..0191a603b37 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); } -- cgit v1.2.1