Fix primary reason why the SH simulation hasn't been working on 64 bit hosts.
authorOleg Endo <olegendo@gcc.gnu.org>
Sun, 10 Apr 2016 02:00:01 +0000 (11:00 +0900)
committerOleg Endo <olegendo@gcc.gnu.org>
Sun, 10 Apr 2016 02:02:47 +0000 (11:02 +0900)
commit93e6fe04ccb4008f14e3584bb1e86b2d04c9234c
tree6434e6b44038c517764a4c7005cc7c87cd8320a9
parentba442f0f41a57ee9a3f0c7f574500f2bda896d08
Fix primary reason why the SH simulation hasn't been working on 64 bit hosts.

sim/sh/
* interp.c (dmul): Split into dmul_s and dmul_u.  Use explicit integer
width types and simplify implementation.
* gencode.c (dmuls.l, dmulu.l): Use new functions dmul_s and dmul_u.
sim/sh/ChangeLog
sim/sh/gencode.c
sim/sh/interp.c