summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2009-09-08 23:51:11 +0000
committerDJ Delorie <dj@delorie.com>2009-09-08 23:51:11 +0000
commite9897ac1ba2f75b1c6c401df35ecb5d648472d09 (patch)
treeda87aab65e1e62d9ed5124b746914ede8cc0da36
parent17563c29bbc50cd03d285df841e85d0d4a571b3a (diff)
downloadgdb-e9897ac1ba2f75b1c6c401df35ecb5d648472d09.tar.gz
* cpu/mep.opc (mep_cgen_insn_supported_asm): Change the test to a
preprocessor macro, not an enum.
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/mep-opc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index df6de20dfd7..117c55ac157 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-08 DJ Delorie <dj@redhat.com>
+
+ * mep-opc.c: Regenerate.
+
2009-09-08 Andreas Schwab <schwab@linux-m68k.org>
* z8kgen.c (struct op): Replace unused flavor with id.
diff --git a/opcodes/mep-opc.c b/opcodes/mep-opc.c
index 0191a603b37..88576330f4c 100644
--- a/opcodes/mep-opc.c
+++ b/opcodes/mep-opc.c
@@ -167,7 +167,7 @@ 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
+#ifdef MEP_IVC2_SUPPORTED
/* 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