d10v: don't silently turn @-r# into @-sp

Alexandre Oliva aoliva@redhat.com
Thu Nov 15 14:48:00 GMT 2001
d10v only accepts pre-decrement of sp.  However, its assembler
silently accepts other register names as operands of st and st2w, but
the insn opcode has all of the RSRC bits set, such that we end up
getting @-sp regardless of the register name given, instead of
rejecting the illegal operands.  This patch fixes this bug.  Ok to
install?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: d10v-as-operand-sp.patch
Type: text/x-patch
Size: 4752 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20011115/8625d07a/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


More information about the Binutils mailing list