aboutsummaryrefslogtreecommitdiff
path: root/cpu/m32c.opc
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
commitaa2608541f408a36e7298410dd29b7cbfd072a5e (patch)
tree2eb56c3e032918ce166e59aa71e5e161c46b3d04 /cpu/m32c.opc
parent9a20ed6e90312120b18553bd797c5b0227d3128f (diff)
downloadgdb-aa2608541f408a36e7298410dd29b7cbfd072a5e.zip
gdb-aa2608541f408a36e7298410dd29b7cbfd072a5e.tar.gz
gdb-aa2608541f408a36e7298410dd29b7cbfd072a5e.tar.bz2
* m32c.opc (m32c_cgen_insn_supported): Use int, not CGEN_BITSET,
to represent isa sets.
Diffstat (limited to 'cpu/m32c.opc')
-rw-r--r--cpu/m32c.opc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/m32c.opc b/cpu/m32c.opc
index 04baa9c..3824118 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. */