Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc_vfp Push FPU choice into the assembler sources them...
details: https://anonhg.NetBSD.org/src/rev/923a4b0e0c05
branches: trunk
changeset: 320742:923a4b0e0c05
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Jul 17 15:03:48 2018 +0000
description:
Push FPU choice into the assembler sources themselve.
diffstat:
lib/libc_vfp/Makefile | 8 +-------
lib/libc_vfp/vfpdf.S | 4 +++-
lib/libc_vfp/vfpsf.S | 4 +++-
3 files changed, 7 insertions(+), 9 deletions(-)
diffs (63 lines):
diff -r 97a8124697bd -r 923a4b0e0c05 lib/libc_vfp/Makefile
--- a/lib/libc_vfp/Makefile Tue Jul 17 13:04:58 2018 +0000
+++ b/lib/libc_vfp/Makefile Tue Jul 17 15:03:48 2018 +0000
@@ -1,16 +1,10 @@
-# $NetBSD: Makefile,v 1.4 2015/07/08 01:08:24 matt Exp $
+# $NetBSD: Makefile,v 1.5 2018/07/17 15:03:48 joerg Exp $
#
LIB= c_vfp
USE_SHLIBDIR= yes
-.include <bsd.own.mk>
-
-CPUFLAGS+= -mfpu=vfp -marm
-
SRCS= vfpsf.S vfpdf.S
-AFLAGS.vfpsf.S+= -mfpu=vfp
-AFLAGS.vfpdf.S+= -mfpu=vfp
.include <bsd.lib.mk>
diff -r 97a8124697bd -r 923a4b0e0c05 lib/libc_vfp/vfpdf.S
--- a/lib/libc_vfp/vfpdf.S Tue Jul 17 13:04:58 2018 +0000
+++ b/lib/libc_vfp/vfpdf.S Tue Jul 17 15:03:48 2018 +0000
@@ -29,7 +29,7 @@
#include <arm/asm.h>
-RCSID("$NetBSD: vfpdf.S,v 1.2 2013/06/23 06:19:55 matt Exp $")
+RCSID("$NetBSD: vfpdf.S,v 1.3 2018/07/17 15:03:48 joerg Exp $")
/*
* This file provides softfloat compatible routines which use VFP instructions
@@ -39,6 +39,8 @@
* This file implements the double precision floating point routines.
*/
+.fpu vfp2
+
#ifdef __ARMEL__
#define vmov_arg0 vmov d0, r0, r1
#define vmov_arg1 vmov d1, r2, r3
diff -r 97a8124697bd -r 923a4b0e0c05 lib/libc_vfp/vfpsf.S
--- a/lib/libc_vfp/vfpsf.S Tue Jul 17 13:04:58 2018 +0000
+++ b/lib/libc_vfp/vfpsf.S Tue Jul 17 15:03:48 2018 +0000
@@ -30,7 +30,7 @@
#include <arm/asm.h>
#include <arm/vfpreg.h>
-RCSID("$NetBSD: vfpsf.S,v 1.2 2013/06/23 06:19:55 matt Exp $")
+RCSID("$NetBSD: vfpsf.S,v 1.3 2018/07/17 15:03:48 joerg Exp $")
/*
* This file provides softfloat compatible routines which use VFP instructions
@@ -40,6 +40,8 @@
* This file implements the single precision floating point routines.
*/
+.fpu vfp2
+
#ifdef __ARM_EABI__
#define __addsf3 __aeabi_fadd
#define __divsf3 __aeabi_fdiv
Home |
Main Index |
Thread Index |
Old Index