summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/ldstfp.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/lib/ldstfp.S')
-rw-r--r--arch/powerpc/lib/ldstfp.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/lib/ldstfp.S b/arch/powerpc/lib/ldstfp.S
index 7b5cf5e421ab..ae15eba49c1f 100644
--- a/arch/powerpc/lib/ldstfp.S
+++ b/arch/powerpc/lib/ldstfp.S
@@ -77,7 +77,7 @@ _GLOBAL(get_vr)
oris r7, r6, MSR_VEC@h
MTMSRD(r7)
isync
- rlwinm r6,r3,3,0xf8
+ rlwinm r3,r3,3,0xf8
bcl 20,31,1f
reg = 0
.rept 32
@@ -86,7 +86,7 @@ reg = 0
reg = reg + 1
.endr
1: mflr r5
- add r5,r6,r5
+ add r5,r3,r5
mtctr r5
mtlr r0
bctr
@@ -101,7 +101,7 @@ _GLOBAL(put_vr)
oris r7, r6, MSR_VEC@h
MTMSRD(r7)
isync
- rlwinm r6,r3,3,0xf8
+ rlwinm r3,r3,3,0xf8
bcl 20,31,1f
reg = 0
.rept 32
@@ -110,7 +110,7 @@ reg = 0
reg = reg + 1
.endr
1: mflr r5
- add r5,r6,r5
+ add r5,r3,r5
mtctr r5
mtlr r0
bctr