summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/arch/sparc/gen/divrem.m44
-rw-r--r--lib/libc/arch/sparc64/gen/divrem.m44
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/sparc/gen/divrem.m4 b/lib/libc/arch/sparc/gen/divrem.m4
index bc0e2cc78db..9152f9f37e8 100644
--- a/lib/libc/arch/sparc/gen/divrem.m4
+++ b/lib/libc/arch/sparc/gen/divrem.m4
@@ -1,4 +1,4 @@
-/* $OpenBSD: divrem.m4,v 1.6 2009/10/28 06:49:55 deraadt Exp $ */
+/* $OpenBSD: divrem.m4,v 1.7 2011/03/12 18:50:05 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -85,7 +85,7 @@ define(V, `%o5')
/* m4 reminder: ifelse(a,b,c,d) => if a is b, then c, else d */
define(T, `%g1')
-define(SC, `%g7')
+define(SC, `%g5')
ifelse(S, `true', `define(SIGN, `%g6')')
/*
diff --git a/lib/libc/arch/sparc64/gen/divrem.m4 b/lib/libc/arch/sparc64/gen/divrem.m4
index 7fbab3c52f5..20e4f35ca0a 100644
--- a/lib/libc/arch/sparc64/gen/divrem.m4
+++ b/lib/libc/arch/sparc64/gen/divrem.m4
@@ -1,4 +1,4 @@
-/* $OpenBSD: divrem.m4,v 1.2 2003/06/02 20:18:32 millert Exp $ */
+/* $OpenBSD: divrem.m4,v 1.3 2011/03/12 18:50:07 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -83,7 +83,7 @@ define(V, `%o5')
/* m4 reminder: ifelse(a,b,c,d) => if a is b, then c, else d */
define(T, `%g1')
-define(SC, `%g7')
+define(SC, `%g5')
ifelse(S, `true', `define(SIGN, `%g6')')
/*