Re: [Qemu-devel] [PATCH] sparc32 : Signed integer division overflow
On 12/03/14 21:26, Olivier Danet wrote: Hi Olivier, Here is a patch for handling this corner case on SPARC32. SPARC64 division already checks this in helper_sdivx(), some other architectures seem to do the same (for example, target-arm/helper.c: HELPER(sdiv)) ==
[Qemu-devel] [PATCH] sparc32 : Signed integer division overflow
I wanted to test an integer divider for SPARC32, and tried the stress test program on QEMU, which choked on the division -0x8000___ / -1 (QEMU compiled on x86_64). Excerpt from the test program : --- #include typedef u