summaryrefslogtreecommitdiff
path: root/opcodes/mep-opc.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2009-09-02 02:10:36 +0000
committerDJ Delorie <dj@delorie.com>2009-09-02 02:10:36 +0000
commit4a2b1c536087a46bebedb031e65f7c9e90d934e5 (patch)
treeccb6d509ef9dead2149a25aa7526178173ee0ee6 /opcodes/mep-opc.c
parent1e6b49e526518115dbed26cbb55550f1d51cb051 (diff)
downloadbinutils-redhat-4a2b1c536087a46bebedb031e65f7c9e90d934e5.tar.gz
[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.
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 584e520d46..0191a603b3 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);
}