* libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
Store high part of leading bytes too.
This commit is contained in:
parent
a485d93f10
commit
43ecf6e828
@ -1,3 +1,8 @@
|
||||
Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
|
||||
* libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
|
||||
Store high part of leading bytes too.
|
||||
|
||||
2002-03-22 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* libm/math/ef_hypot.c: Increase scale factor to 68.
|
||||
|
@ -134,7 +134,7 @@ L8_15: /* 8..15 byte memcpy cntd. */
|
||||
Large:
|
||||
ld.b r2, 0, r63
|
||||
pta/l Loop_ua, tr1
|
||||
andi r3, 7, r7
|
||||
ori r3, -8, r7
|
||||
sub r2, r7, r22
|
||||
sub r3, r2, r6
|
||||
add r2, r4, r5
|
||||
@ -142,6 +142,7 @@ Large:
|
||||
addi r5, -16, r5
|
||||
movi 64+8, r27 // could subtract r7 from that.
|
||||
stlo.q r2, 0, r0
|
||||
sthi.q r2, 7, r0
|
||||
ldx.q r22, r6, r0
|
||||
bgtu/l r27, r4, tr1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user