about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc64/strncmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc64/strncmp.S')
-rw-r--r--sysdeps/sparc/sparc64/strncmp.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc64/strncmp.S b/sysdeps/sparc/sparc64/strncmp.S
index 361748dd26..85149b5351 100644
--- a/sysdeps/sparc/sparc64/strncmp.S
+++ b/sysdeps/sparc/sparc64/strncmp.S
@@ -27,6 +27,9 @@
 #ifndef XCC
 #define XCC xcc
 #define USE_BPR
+	.register	%g2, #scratch
+	.register	%g3, #scratch
+	.register	%g7, #scratch
 #endif
 
 	/* Normally, this uses