Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm/arch/riscv Update to new RISCV ABI



details:   https://anonhg.NetBSD.org/src/rev/4ca114684343
branches:  trunk
changeset: 336942:4ca114684343
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Mar 27 23:35:40 2015 +0000

description:
Update to new RISCV ABI

diffstat:

 lib/libm/arch/riscv/e_sqrt.S      |  4 ++--
 lib/libm/arch/riscv/e_sqrtf.S     |  4 ++--
 lib/libm/arch/riscv/lrint.S       |  6 +++---
 lib/libm/arch/riscv/lrintf.S      |  6 +++---
 lib/libm/arch/riscv/s_copysign.S  |  4 ++--
 lib/libm/arch/riscv/s_copysignf.S |  4 ++--
 lib/libm/arch/riscv/s_fabs.S      |  4 ++--
 lib/libm/arch/riscv/s_fabsf.S     |  4 ++--
 lib/libm/arch/riscv/s_fma.S       |  4 ++--
 lib/libm/arch/riscv/s_fmaf.S      |  4 ++--
 lib/libm/arch/riscv/s_fmax.S      |  4 ++--
 lib/libm/arch/riscv/s_fmaxf.S     |  4 ++--
 lib/libm/arch/riscv/s_fmin.S      |  4 ++--
 lib/libm/arch/riscv/s_fminf.S     |  4 ++--
 14 files changed, 30 insertions(+), 30 deletions(-)

diffs (237 lines):

diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/e_sqrt.S
--- a/lib/libm/arch/riscv/e_sqrt.S      Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/e_sqrt.S      Fri Mar 27 23:35:40 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: e_sqrt.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: e_sqrt.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
 #include <machine/asm.h>
 
 ENTRY(__ieee754_sqrt)
-       fsqrt.d fv0, fa0
+       fsqrt.d fa0, fa0
        ret
 END(__ieee754_sqrt)
diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/e_sqrtf.S
--- a/lib/libm/arch/riscv/e_sqrtf.S     Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/e_sqrtf.S     Fri Mar 27 23:35:40 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: e_sqrtf.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: e_sqrtf.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
 #include <machine/asm.h>
 
 ENTRY(__ieee754_sqrtf)
-       fsqrt.s fv0, fa0
+       fsqrt.s fa0, fa0
        ret
 END(__ieee754_sqrtf)
diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/lrint.S
--- a/lib/libm/arch/riscv/lrint.S       Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/lrint.S       Fri Mar 27 23:35:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lrint.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: lrint.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
@@ -10,9 +10,9 @@
 
 ENTRY(lrint)
 #ifdef _LP64
-       fcvt.l.d        v0, fa0
+       fcvt.l.d        a0, fa0
 #else
-       fcvt.w.d        v0, fa0
+       fcvt.w.d        a0, fa0
 #endif
        ret
 END(lrint)
diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/lrintf.S
--- a/lib/libm/arch/riscv/lrintf.S      Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/lrintf.S      Fri Mar 27 23:35:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lrintf.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: lrintf.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
@@ -10,9 +10,9 @@
 
 ENTRY(lrintf)
 #ifdef _LP64
-       fcvt.l.s        v0, fa0
+       fcvt.l.s        a0, fa0
 #else
-       fcvt.w.s        v0, fa0
+       fcvt.w.s        a0, fa0
 #endif
        ret
 END(lrintf)
diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/s_copysign.S
--- a/lib/libm/arch/riscv/s_copysign.S  Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/s_copysign.S  Fri Mar 27 23:35:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: s_copysign.S,v 1.3 2014/11/15 21:07:01 joerg Exp $ */
+/* $NetBSD: s_copysign.S,v 1.4 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
@@ -8,6 +8,6 @@
 WEAK_ALIAS(copysignl, _copysignl)
 
 ENTRY(copysign)
-       fsgnj.d fv0, fa0, fa1
+       fsgnj.d fa0, fa0, fa1
        ret
 END(copysign)
diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/s_copysignf.S
--- a/lib/libm/arch/riscv/s_copysignf.S Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/s_copysignf.S Fri Mar 27 23:35:40 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: s_copysignf.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: s_copysignf.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
 #include <machine/asm.h>
 
 ENTRY(copysignf)
-       fsgnj.s fv0, fa0, fa1
+       fsgnj.s fa0, fa0, fa1
        ret
 END(copysignf)
diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/s_fabs.S
--- a/lib/libm/arch/riscv/s_fabs.S      Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/s_fabs.S      Fri Mar 27 23:35:40 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: s_fabs.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: s_fabs.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
 #include <machine/asm.h>
 
 ENTRY(fabs)
-       fabs.d  fv0, fa0
+       fabs.d  fa0, fa0
        ret
 END(fabs)
diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/s_fabsf.S
--- a/lib/libm/arch/riscv/s_fabsf.S     Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/s_fabsf.S     Fri Mar 27 23:35:40 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: s_fabsf.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: s_fabsf.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
 #include <machine/asm.h>
 
 ENTRY(fabsf)
-       fabs.s  fv0, fa0
+       fabs.s  fa0, fa0
        ret
 END(fabsf)
diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/s_fma.S
--- a/lib/libm/arch/riscv/s_fma.S       Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/s_fma.S       Fri Mar 27 23:35:40 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: s_fma.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: s_fma.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
 #include <machine/asm.h>
 
 ENTRY(fma)
-       fmadd.d fv0, fa0, fa1, fa2
+       fmadd.d fa0, fa0, fa1, fa2
        ret
 END(fma)
diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/s_fmaf.S
--- a/lib/libm/arch/riscv/s_fmaf.S      Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/s_fmaf.S      Fri Mar 27 23:35:40 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: s_fmaf.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: s_fmaf.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
 #include <machine/asm.h>
 
 ENTRY(fmaddf)
-       fmadd.s fv0, fa0, fa1, fa2
+       fmadd.s fa0, fa0, fa1, fa2
        ret
 END(fmaddf)
diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/s_fmax.S
--- a/lib/libm/arch/riscv/s_fmax.S      Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/s_fmax.S      Fri Mar 27 23:35:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: s_fmax.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: s_fmax.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
@@ -10,6 +10,6 @@
 #endif
 
 ENTRY(fmax)
-       fmax.d  fv0, fa0, fa1
+       fmax.d  fa0, fa0, fa1
        ret
 END(fmax)
diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/s_fmaxf.S
--- a/lib/libm/arch/riscv/s_fmaxf.S     Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/s_fmaxf.S     Fri Mar 27 23:35:40 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: s_fmaxf.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: s_fmaxf.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
 #include <machine/asm.h>
 
 ENTRY(fmaxf)
-       fmax.s  fv0, fa0, fa1
+       fmax.s  fa0, fa0, fa1
        ret
 END(fmaxf)
diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/s_fmin.S
--- a/lib/libm/arch/riscv/s_fmin.S      Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/s_fmin.S      Fri Mar 27 23:35:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: s_fmin.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: s_fmin.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
@@ -10,6 +10,6 @@
 #endif
 
 ENTRY(fmin)
-       fmin.d  fv0, fa0, fa1
+       fmin.d  fa0, fa0, fa1
        ret
 END(fmin)
diff -r 4cd7266f8b22 -r 4ca114684343 lib/libm/arch/riscv/s_fminf.S
--- a/lib/libm/arch/riscv/s_fminf.S     Fri Mar 27 23:26:14 2015 +0000
+++ b/lib/libm/arch/riscv/s_fminf.S     Fri Mar 27 23:35:40 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: s_fminf.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: s_fminf.S,v 1.2 2015/03/27 23:35:40 matt Exp $ */
 
 /* The contents of this file are in the public domain. */
 
 #include <machine/asm.h>
 
 ENTRY(fminf)
-       fmin.s  fv0, fa0, fa1
+       fmin.s  fa0, fa0, fa1
        ret
 END(fminf)



Home | Main Index | Thread Index | Old Index