summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2005-07-16 18:43:55 +0000
committerJim Blandy <jimb@codesourcery.com>2005-07-16 18:43:55 +0000
commita2e3ed7bc7ab6fe9fafcbe098498a79efc0c1fbb (patch)
tree606b4f505cd4cacfaaf7b806eb146aca57b69fb2 /cpu
parent8d23c55d84985243d563e8c1b6518248bcd5794d (diff)
downloadbinutils-redhat-a2e3ed7bc7ab6fe9fafcbe098498a79efc0c1fbb.tar.gz
* m32c.opc (m32c_cgen_insn_supported): Use int, not CGEN_BITSET,
to represent isa sets.
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ChangeLog5
-rw-r--r--cpu/m32c.opc6
2 files changed, 8 insertions, 3 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index ec5f52b74f..4d2860f043 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-16 Jim Blandy <jimb@redhat.com>
+
+ * m32c.opc (m32c_cgen_insn_supported): Use int, not CGEN_BITSET,
+ to represent isa sets.
+
2005-07-15 Jim Blandy <jimb@redhat.com>
* m32c.cpu, m32c.opc: Fix copyright.
diff --git a/cpu/m32c.opc b/cpu/m32c.opc
index 04baa9c5eb..3824118ddc 100644
--- a/cpu/m32c.opc
+++ b/cpu/m32c.opc
@@ -866,14 +866,14 @@ m32c_cgen_insn_supported (CGEN_CPU_DESC cd,
const CGEN_INSN *insn)
{
int machs = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_MACH);
- CGEN_BITSET isas = CGEN_INSN_BITSET_ATTR_VALUE (insn, CGEN_INSN_ISA);
+ int isas = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_ISA);
/* If attributes are absent, assume no restriction. */
if (machs == 0)
machs = ~0;
- return (machs & cd->machs)
- && cgen_bitset_intersect_p (& isas, cd->isas);
+ return ((machs & cd->machs)
+ && (isas & cd->isas));
}
/* Parse a set of registers, R0,R1,A0,A1,SB,FB. */