Support 32->64 sign extension in msp430's sign_ext
authorDJ Delorie <dj@redhat.com>
Mon, 12 May 2014 23:05:19 +0000 (19:05 -0400)
committerDJ Delorie <dj@redhat.com>
Mon, 12 May 2014 23:05:19 +0000 (19:05 -0400)
commita7da346e5c9dd33f4fdc9b053d1991131a911926
tree81950bdfdf49a2a11081c842c12f842ee7f8ecf3
parent17b609c3fc8f78852655096a1be04fdd2ba3809c
Support 32->64 sign extension in msp430's sign_ext

* msp43-sim.c (sign_ext): Change to "long long" to support
sign-extending 32-bit values.
sim/msp430/ChangeLog
sim/msp430/msp430-sim.c