diff options
| author | Aurelien Jarno <aurelien@aurel32.net> | 2009-10-15 23:08:46 +0200 |
|---|---|---|
| committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-10-23 00:05:17 +0200 |
| commit | 686eeb93d5738c84c59395b2ec6f8181c2b7cbed (patch) | |
| tree | 13b0a3533034804c14ed2e51c401f02de5302a45 /hw/eccmemctl.c | |
| parent | 7bbcb0afe715c36545bbbd872441c473927c1a4e (diff) | |
| download | focaccia-qemu-686eeb93d5738c84c59395b2ec6f8181c2b7cbed.tar.gz focaccia-qemu-686eeb93d5738c84c59395b2ec6f8181c2b7cbed.zip | |
target-arm: fix sdiv helper
(INT32_MIN / -1) triggers an overflow, and the result depends on the host architecture (INT32_MIN on arm, -1 on ppc, SIGFPE on x86). Use a test to output the correct value. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Diffstat (limited to 'hw/eccmemctl.c')
0 files changed, 0 insertions, 0 deletions