ubsan: m10300: shift exponent -4
authorAlan Modra <amodra@gmail.com>
Wed, 8 Jan 2020 20:29:42 +0000 (06:59 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 10 Jan 2020 07:02:33 +0000 (17:32 +1030)
commit441af85bd9c68dbc0c2a1dbe23bf07c6cb3c3f5d
tree57e997f3add2572d384e6c8f7a9a93074d88f9c5
parent8948cc6971fb82feffc49e2d21747111466ad642
ubsan: m10300: shift exponent -4

* m10300-dis.c (disassemble): Move extraction of DREG, AREG, RREG,
and XRREG value earlier to avoid a shift with negative exponent.
* m10200-dis.c (disassemble): Similarly.
opcodes/ChangeLog
opcodes/m10200-dis.c
opcodes/m10300-dis.c