about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc64/rshift.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc64/rshift.S')
-rw-r--r--sysdeps/sparc/sparc64/rshift.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc64/rshift.S b/sysdeps/sparc/sparc64/rshift.S
index f43d25efe8..2394363b6f 100644
--- a/sysdeps/sparc/sparc64/rshift.S
+++ b/sysdeps/sparc/sparc64/rshift.S
@@ -27,6 +27,9 @@
    size		%o2
    cnt		%o3  */
 
+	.register	%g2, #scratch
+	.register	%g3, #scratch
+
 ENTRY(__mpn_rshift)
 	ldx	[%o1],%g2	! load first limb
 	sub	%g0,%o3,%o5	! negate shift count