foss-for-synopsys-dwc-arc-processors / binutils-gdb

A mirror of the upstream binutils-gdb repository for ARC specific work
GNU General Public License v2.0
13 stars 10 forks source link

opcodes/arc: validate the {pop,push}dl_s operand #70

Closed artemiy-volkov closed 1 year ago

artemiy-volkov commented 1 year ago

As opposed to {push,pop}l_s, the {push,pop}dl_s instructions require an even-numbered register as their operand, since only those can be used to designate a register pair. This commit introduces a new operand type and uses it for these two instructions.