mep: ubsan: mep-ibld.c:1635,1645,1652 left shift of negative value
authorAlan Modra <amodra@gmail.com>
Mon, 31 Aug 2020 22:18:02 +0000 (07:48 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 1 Sep 2020 06:33:08 +0000 (16:03 +0930)
commit8dbe96f07060bc41499557d2837afbfffa1aa7fc
tree236d23173e050e2ccc00e8456d9de5f2b63ec759
parent821e059c2626fb0b2ee91898b1c74ea9636c6175
mep: ubsan: mep-ibld.c:1635,1645,1652 left shift of negative value

cpu/
* mep-core.cpu (f-8s8a2, f-12s4a2, f-17s16a2): Multiply signed
value by two rather than shifting left.
(f-24s5a2n): Similarly multiply signed f-24s5a2n-hi to extract.
opcodes/
* mep-ibld.c: Regenerate.
cpu/ChangeLog
cpu/mep-core.cpu
opcodes/ChangeLog
opcodes/mep-ibld.c