diff options
author | Dave Brolley <brolley@redhat.com> | 2005-10-28 19:33:06 +0000 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2005-10-28 19:33:06 +0000 |
commit | 95b965212b3172ac5dbf9a4d6afbf40eb0b9ab68 (patch) | |
tree | fc836bab311951b21d697a5191bf5cb45dfad201 /cpu/m32c.opc | |
parent | a0c758791c4504adb6af48e7cd9044521f8cd90b (diff) | |
download | gdb-95b965212b3172ac5dbf9a4d6afbf40eb0b9ab68.zip gdb-95b965212b3172ac5dbf9a4d6afbf40eb0b9ab68.tar.gz gdb-95b965212b3172ac5dbf9a4d6afbf40eb0b9ab68.tar.bz2 |
2005-10-28 Dave Brolley <brolley@redhat.com>
Contribute the following change:
2003-09-24 Dave Brolley <brolley@redhat.com>
* frv.opc: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of
CGEN_ATTR_VALUE_TYPE.
* m32c.opc (m32c_cgen_insn_supported): Use CGEN_INSN_BITSET_ATTR_VALUE.
Use cgen_bitset_intersect_p.
Diffstat (limited to 'cpu/m32c.opc')
-rw-r--r-- | cpu/m32c.opc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/m32c.opc b/cpu/m32c.opc index 226f8d0..6235326 100644 --- a/cpu/m32c.opc +++ b/cpu/m32c.opc @@ -824,14 +824,14 @@ m32c_cgen_insn_supported (CGEN_CPU_DESC cd, const CGEN_INSN *insn) { int machs = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_MACH); - int isas = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_ISA); + CGEN_BITSET isas = CGEN_INSN_BITSET_ATTR_VALUE (insn, CGEN_INSN_ISA); /* If attributes are absent, assume no restriction. */ if (machs == 0) machs = ~0; return ((machs & cd->machs) - && (isas & cd->isas)); + && cgen_bitset_intersect_p (& isas, cd->isas)); } /* Parse a set of registers, R0,R1,A0,A1,SB,FB. */ |