[PATCH] [ARC] Update conditions for illegal placed instructions.
Nick Clifton
nickc@redhat.com
Wed Jun 21 08:03:00 GMT 2017
Hi Claudiu,
> gas/
> 2017-06-07 Claudiu Zissulescu <claziss@synopsys.com>
>
> * /config/tc-arc.c (is_br_jmp_insn_p): Update macro with known
> instructions to be accounted as jumps.
> (assemble_insn): Check for limms into the delay slots. Emit an
> error if so.
> * testsuite/gas/arc/asm-errors-3.d: New file.
> * testsuite/gas/arc/asm-errors-3.err: Likewise.
> * testsuite/gas/arc/asm-errors-3.s: Likewise.
Approved - please apply.
Cheers
Nick
PS. Sorry for the delay.
PPS: Looking to the future, if you add more classes of ARC instructions
then the is_br_jmp_insn macro might need updating. I was wondering if it
would be better if the type of instruction were encoded into the opcode
structure directly, so that you do not need to test for a whole range of
classes...
More information about the Binutils
mailing list