SAMV71-XULT: Enable 64-bit floating point support

This commit is contained in:
Gregory Nutt
2015-03-11 12:30:14 -06:00
parent da844f1a88
commit ca8165dd10
8 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -334,7 +334,7 @@ exception_common:
*/ */
bx r14 /* And return */ bx r14 /* And return */
.size handlers, .-handlers .size exception_common, .-exception_common
/************************************************************************************************ /************************************************************************************************
* Name: g_intstackalloc/g_intstackbase * Name: g_intstackalloc/g_intstackbase
+1 -1
View File
@@ -51,7 +51,7 @@ CMN_CSRCS += up_sigdeliver.c up_stackframe.c up_svcall.c up_systemreset.c
CMN_CSRCS += up_udelay.c up_unblocktask.c up_usestack.c up_vfork.c CMN_CSRCS += up_udelay.c up_unblocktask.c up_usestack.c up_vfork.c
ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y) ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y)
ifeq ($(CONFIG_ARMV7M_ARMV7M_LAZYFPU),y) ifeq ($(CONFIG_ARMV7M_LAZYFPU),y)
CMN_ASRCS += up_lazyexception.S CMN_ASRCS += up_lazyexception.S
else else
CMN_ASRCS += up_exception.S CMN_ASRCS += up_exception.S
+1 -1
View File
@@ -58,7 +58,7 @@ CMN_CSRCS += up_sigdeliver.c up_stackframe.c up_unblocktask.c up_usestack.c
CMN_CSRCS += up_doirq.c up_hardfault.c up_svcall.c up_checkstack.c up_vfork.c CMN_CSRCS += up_doirq.c up_hardfault.c up_svcall.c up_checkstack.c up_vfork.c
ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y) ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y)
ifeq ($(CONFIG_ARMV7M_ARMV7M_LAZYFPU),y) ifeq ($(CONFIG_ARMV7M_LAZYFPU),y)
CMN_ASRCS += up_lazyexception.S CMN_ASRCS += up_lazyexception.S
else else
CMN_ASRCS += up_exception.S CMN_ASRCS += up_exception.S
+1 -1
View File
@@ -48,7 +48,7 @@ CMN_CSRCS += up_unblocktask.c up_usestack.c up_doirq.c up_hardfault.c
CMN_CSRCS += up_svcall.c up_vfork.c CMN_CSRCS += up_svcall.c up_vfork.c
ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y) ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y)
ifeq ($(CONFIG_ARMV7M_ARMV7M_LAZYFPU),y) ifeq ($(CONFIG_ARMV7M_LAZYFPU),y)
CMN_ASRCS += up_lazyexception.S CMN_ASRCS += up_lazyexception.S
else else
CMN_ASRCS += up_exception.S CMN_ASRCS += up_exception.S
+1 -1
View File
@@ -59,7 +59,7 @@ CMN_CSRCS += up_doirq.c up_hardfault.c up_svcall.c up_vfork.c
# Configuration-dependent common files # Configuration-dependent common files
ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y) ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y)
ifeq ($(CONFIG_ARMV7M_ARMV7M_LAZYFPU),y) ifeq ($(CONFIG_ARMV7M_LAZYFPU),y)
CMN_ASRCS += up_lazyexception.S CMN_ASRCS += up_lazyexception.S
else else
CMN_ASRCS += up_exception.S CMN_ASRCS += up_exception.S
+8 -1
View File
@@ -56,7 +56,7 @@ CMN_CSRCS += up_doirq.c up_hardfault.c up_svcall.c up_vfork.c
# Configuration-dependent common files # Configuration-dependent common files
ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y) ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y)
ifeq ($(CONFIG_ARMV7M_ARMV7M_LAZYFPU),y) ifeq ($(CONFIG_ARMV7M_LAZYFPU),y)
CMN_ASRCS += up_lazyexception.S CMN_ASRCS += up_lazyexception.S
else else
CMN_ASRCS += up_exception.S CMN_ASRCS += up_exception.S
@@ -68,6 +68,13 @@ ifeq ($(CONFIG_ARMV7M_DCACHE),y)
CMN_CSRCS += up_dcache.c CMN_CSRCS += up_dcache.c
endif endif
ifeq ($(CONFIG_ARCH_FPU),y)
CMN_ASRCS += up_fpu.S
ifneq ($(CONFIG_ARMV7M_CMNVECTOR),y)
CMN_CSRCS += up_copyarmstate.c
endif
endif
ifeq ($(CONFIG_ARCH_RAMVECTORS),y) ifeq ($(CONFIG_ARCH_RAMVECTORS),y)
CMN_CSRCS += up_ramvec_initialize.c up_ramvec_attach.c CMN_CSRCS += up_ramvec_initialize.c up_ramvec_attach.c
endif endif
+1 -1
View File
@@ -59,7 +59,7 @@ CMN_CSRCS += up_stackcheck.c
endif endif
ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y) ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y)
ifeq ($(CONFIG_ARMV7M_ARMV7M_LAZYFPU),y) ifeq ($(CONFIG_ARMV7M_LAZYFPU),y)
CMN_ASRCS += up_lazyexception.S CMN_ASRCS += up_lazyexception.S
else else
CMN_ASRCS += up_exception.S CMN_ASRCS += up_exception.S
+3 -2
View File
@@ -109,10 +109,11 @@ CONFIG_ARCH_CHIP="samv7"
# CONFIG_ARMV7M_USEBASEPRI is not set # CONFIG_ARMV7M_USEBASEPRI is not set
CONFIG_ARCH_HAVE_CMNVECTOR=y CONFIG_ARCH_HAVE_CMNVECTOR=y
CONFIG_ARMV7M_CMNVECTOR=y CONFIG_ARMV7M_CMNVECTOR=y
# CONFIG_ARMV7M_LAZYFPU is not set CONFIG_ARMV7M_LAZYFPU=y
CONFIG_ARCH_HAVE_FPU=y CONFIG_ARCH_HAVE_FPU=y
CONFIG_ARCH_HAVE_DPFPU=y CONFIG_ARCH_HAVE_DPFPU=y
# CONFIG_ARCH_FPU is not set CONFIG_ARCH_FPU=y
CONFIG_ARCH_DPFPU=y
# CONFIG_ARMV7M_MPU is not set # CONFIG_ARMV7M_MPU is not set
# #