* libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
Fixed bug in writing end of set region.
This commit is contained in:
parent
bb1085295a
commit
1f1fb4210d
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Jun 13 15:52:03 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||||
|
|
||||||
|
* libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
|
||||||
|
Fixed bug in writing end of set region.
|
||||||
|
|
||||||
2002-06-10 Christopher Faylor <cgf@redhat.com>
|
2002-06-10 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
|
* libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
|
||||||
|
|
|
@ -19,7 +19,7 @@ ENTRY(memset)
|
||||||
mperm.w r3, r63, r3 // Fill pattern now in every byte of r3
|
mperm.w r3, r63, r3 // Fill pattern now in every byte of r3
|
||||||
|
|
||||||
movi 8, r9
|
movi 8, r9
|
||||||
bgtu/u r23, r9, tr0
|
bgtu/u r23, r9, tr0 // multiquad
|
||||||
|
|
||||||
ldlo.q r2, 0, r7
|
ldlo.q r2, 0, r7
|
||||||
shlli r4, 2, r4
|
shlli r4, 2, r4
|
||||||
|
@ -62,8 +62,10 @@ loop:
|
||||||
st.q r25, 24, r3
|
st.q r25, 24, r3
|
||||||
st.q r25, 32, r3
|
st.q r25, 32, r3
|
||||||
addi r25, 32, r25
|
addi r25, 32, r25
|
||||||
bgeu/l r8, r25, tr1
|
bgeu/l r8, r25, tr1 // loop
|
||||||
|
|
||||||
|
st.q r20, -40, r3
|
||||||
|
st.q r20, -32, r3
|
||||||
st.q r20, -24, r3
|
st.q r20, -24, r3
|
||||||
st.q r20, -16, r3
|
st.q r20, -16, r3
|
||||||
st.q r20, -8, r3
|
st.q r20, -8, r3
|
||||||
|
|
Loading…
Reference in New Issue