mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* m32c.opc (m32c_cgen_insn_supported): Use int, not CGEN_BITSET,
to represent isa sets.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user