libs/libc/machine/arm: Rename armv8 to armv8-m

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-11-26 20:06:21 +08:00 committed by Alan Carvalho de Assis
parent edca49fb5f
commit 74ab69af62
16 changed files with 20 additions and 20 deletions

View File

@ -25,5 +25,5 @@ source libs/libc/machine/arm/armv7-m/Kconfig
endif endif
if ARCH_ARMV8M if ARCH_ARMV8M
source libs/libc/machine/arm/armv8/Kconfig source libs/libc/machine/arm/armv8-m/Kconfig
endif endif

View File

@ -54,7 +54,7 @@ include $(TOPDIR)/libs/libc/machine/arm/armv6-m/Make.defs
else ifeq ($(CONFIG_ARCH_ARMV7M),y) # All ARMv7-M else ifeq ($(CONFIG_ARCH_ARMV7M),y) # All ARMv7-M
include $(TOPDIR)/libs/libc/machine/arm/armv7-m/Make.defs include $(TOPDIR)/libs/libc/machine/arm/armv7-m/Make.defs
else ifeq ($(CONFIG_ARCH_ARMV8M),y) # All ARMv8-M else ifeq ($(CONFIG_ARCH_ARMV8M),y) # All ARMv8-M
include $(TOPDIR)/libs/libc/machine/arm/armv8/Make.defs include $(TOPDIR)/libs/libc/machine/arm/armv8-m/Make.defs
endif endif
ifeq ($(CONFIG_CXX_EXCEPTION),y) ifeq ($(CONFIG_CXX_EXCEPTION),y)

View File

@ -5,7 +5,7 @@
if ARCH_ARMV8M if ARCH_ARMV8M
config ARMV8_LIBM config ARMV8M_LIBM
bool "Architecture specific optimizations" bool "Architecture specific optimizations"
default n default n
select LIBM_ARCH_CEIL if CONFIG_ARCH_DPFPU select LIBM_ARCH_CEIL if CONFIG_ARCH_DPFPU

View File

@ -1,5 +1,5 @@
############################################################################ ############################################################################
# libs/libc/machine/arm/armv8/Make.defs # libs/libc/machine/arm/armv8-m/Make.defs
# #
# Copyright (C) 2017 Gregory Nutt. All rights reserved. # Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,7 +33,7 @@
# #
############################################################################ ############################################################################
ifeq ($(CONFIG_ARMV8_LIBM),y) ifeq ($(CONFIG_ARMV8M_LIBM),y)
ifeq ($(LIBM_ARCH_CEIL),y) ifeq ($(LIBM_ARCH_CEIL),y)
CSRCS += arch_ceil.c CSRCS += arch_ceil.c
@ -83,7 +83,7 @@ ifeq ($(LIBM_ARCH_TRUNC),y)
CSRCS += arch_trunc.c CSRCS += arch_trunc.c
endif endif
DEPPATH += --dep-path machine/arm/armv8 DEPPATH += --dep-path machine/arm/armv8-m
VPATH += :machine/arm/armv8 VPATH += :machine/arm/armv8-m
endif # CONFIG_ARMV8_LIBM endif # CONFIG_ARMV8M_LIBM

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/machine/arm/armv8/arch_ceil.c * libs/libc/machine/arm/armv8-m/arch_ceil.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* *

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/machine/arm/armv8/arch_ceilf.c * libs/libc/machine/arm/armv8-m/arch_ceilf.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* *

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/machine/arm/armv8/arch_floor.c * libs/libc/machine/arm/armv8-m/arch_floor.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* *

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/machine/arm/armv8/arch_floorf.c * libs/libc/machine/arm/armv8-m/arch_floorf.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* *

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/machine/arm/armv8/arch_nearbyint.c * libs/libc/machine/arm/armv8-m/arch_nearbyint.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* *

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/machine/arm/armv8/arch_nearbyintf.c * libs/libc/machine/arm/armv8-m/arch_nearbyintf.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* *

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/machine/arm/armv8/arch_rint.c * libs/libc/machine/arm/armv8-m/arch_rint.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* *

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/machine/arm/armv8/arch_rintf.c * libs/libc/machine/arm/armv8-m/arch_rintf.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* *

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/machine/arm/armv8/arch_round.c * libs/libc/machine/arm/armv8-m/arch_round.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* *

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/machine/arm/armv8/arch_roundf.c * libs/libc/machine/arm/armv8-m/arch_roundf.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* *

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/machine/arm/armv8/arch_trunc.c * libs/libc/machine/arm/armv8-m/arch_trunc.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* *

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/machine/arm/armv8/arch_truncf.c * libs/libc/machine/arm/armv8-m/arch_truncf.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* *