* config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
as dividend.
From-SVN: r196156
+2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
+ * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
+ as dividend.
+
2013-02-16 Alan Modra <amodra@gmail.com>
PR target/55431
$LaR6_Pos:
ADDIK r3,r0,0 # Clear mod
ADDIK r30,r0,0 # clear div
+ BLTId r5,$LaDIV2 # If r5 is still negative (0x80000000), skip
+ # the first bit search.
ADDIK r29,r0,32 # Initialize the loop count
# First part try to find the first '1' in the r5
$LaDIV1: