diff options
Diffstat (limited to 'gas/config/tc-m32c.c')
-rw-r--r-- | gas/config/tc-m32c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-m32c.c b/gas/config/tc-m32c.c index 370817e..830886a 100644 --- a/gas/config/tc-m32c.c +++ b/gas/config/tc-m32c.c @@ -519,8 +519,8 @@ insn_to_subtype (int inum, const CGEN_INSN *insn) unsigned int i; if (insn - && (strncmp (insn->base->mnemonic, "adjnz", 5) == 0 - || strncmp (insn->base->mnemonic, "sbjnz", 5) == 0)) + && (startswith (insn->base->mnemonic, "adjnz") + || startswith (insn->base->mnemonic, "sbjnz"))) { i = 23 + insn->base->bitsize/8 - 3; /*printf("mapping %d used for %s\n", i, insn->base->mnemonic);*/ |