about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc64/lshift.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc64/lshift.S')
-rw-r--r--sysdeps/sparc/sparc64/lshift.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc64/lshift.S b/sysdeps/sparc/sparc64/lshift.S
index 4f265ad96b..81b1dbeb7c 100644
--- a/sysdeps/sparc/sparc64/lshift.S
+++ b/sysdeps/sparc/sparc64/lshift.S
@@ -27,6 +27,9 @@
    size		%o2
    cnt		%o3  */
 
+	.register	%g2, #scratch
+	.register	%g3, #scratch
+
 ENTRY(__mpn_lshift)
 	sllx	%o2,3,%g1
 	add	%o1,%g1,%o1	! make %o1 point at end of src