From f2934935d0e5aba185d7829da7a56b0c4133bd96 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Fri, 10 Jan 2025 14:14:03 +0800 Subject: [PATCH] armv7-a.cmake: Improve FPU options table formatting and readability Reformatted the FPU options table to use a clearer markdown-style table format with proper alignment and column headers. Added visual separators (~~~) to make the table stand out from surrounding code. Improved consistency in column widths and fixed line wrapping for better readability. Signed-off-by: Huang Qi --- arch/arm/src/cmake/armv7-a.cmake | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm/src/cmake/armv7-a.cmake b/arch/arm/src/cmake/armv7-a.cmake index 88ac27dfcd..a061cdffe8 100644 --- a/arch/arm/src/cmake/armv7-a.cmake +++ b/arch/arm/src/cmake/armv7-a.cmake @@ -36,12 +36,15 @@ if(NOT CONFIG_ARM_DPFPU32) set(ARCHFPUD16 -d16) endif() -# Cortex-A5 | -mfpu=vfpv4-fp16 | -mfpu=vfpv4-d16-fp16 | -mfpu=neon-fp16 -# Cortex-A7 | -mfpu=vfpv4 | -mfpu=vfpv4-d16 | -mfpu=neon-vfpv4 -# Cortex-A8 | -mfpu=vfpv3 | | -mfpu=neon (alias for -# neon-vfpv3) Cortex-A9 | -mfpu=vfpv3-fp16 | -mfpu=vfpv3-d16-fp16 | -# -mfpu=neon-fp16 Cortex-A15 | -mfpu=vfpv4 | | -# -mfpu=neon-vfpv4 +# ~~~ +# | Cortex | FPU Option 1 | FPU Option 2 | FPU Option 3 | +# |--------|--------------------|------------------------|-----------------------| +# | A5 | -mfpu=vfpv4-fp16 | -mfpu=vfpv4-d16-fp16 | -mfpu=neon-fp16 | +# | A7 | -mfpu=vfpv4 | -mfpu=vfpv4-d16 | -mfpu=neon-vfpv4 | +# | A8 | -mfpu=vfpv3 | | -mfpu=neon (alias for neon-vfpv3) | +# | A9 | -mfpu=vfpv3-fp16 | -mfpu=vfpv3-d16-fp16 | -mfpu=neon-fp16 | +# | A15 | -mfpu=vfpv4 | | -mfpu=neon-vfpv4 | +# ~~~ if(CONFIG_ARCH_FPU) if(CONFIG_ARM_FPU_ABI_SOFT)