Skip to content

Commit f293493

Browse files
no1wudianchao
authored andcommitted
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 <huangqi3@xiaomi.com>
1 parent 9783c88 commit f293493

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

arch/arm/src/cmake/armv7-a.cmake

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,15 @@ if(NOT CONFIG_ARM_DPFPU32)
3636
set(ARCHFPUD16 -d16)
3737
endif()
3838

39-
# Cortex-A5 | -mfpu=vfpv4-fp16 | -mfpu=vfpv4-d16-fp16 | -mfpu=neon-fp16
40-
# Cortex-A7 | -mfpu=vfpv4 | -mfpu=vfpv4-d16 | -mfpu=neon-vfpv4
41-
# Cortex-A8 | -mfpu=vfpv3 | | -mfpu=neon (alias for
42-
# neon-vfpv3) Cortex-A9 | -mfpu=vfpv3-fp16 | -mfpu=vfpv3-d16-fp16 |
43-
# -mfpu=neon-fp16 Cortex-A15 | -mfpu=vfpv4 | |
44-
# -mfpu=neon-vfpv4
39+
# ~~~
40+
# | Cortex | FPU Option 1 | FPU Option 2 | FPU Option 3 |
41+
# |--------|--------------------|------------------------|-----------------------|
42+
# | A5 | -mfpu=vfpv4-fp16 | -mfpu=vfpv4-d16-fp16 | -mfpu=neon-fp16 |
43+
# | A7 | -mfpu=vfpv4 | -mfpu=vfpv4-d16 | -mfpu=neon-vfpv4 |
44+
# | A8 | -mfpu=vfpv3 | | -mfpu=neon (alias for neon-vfpv3) |
45+
# | A9 | -mfpu=vfpv3-fp16 | -mfpu=vfpv3-d16-fp16 | -mfpu=neon-fp16 |
46+
# | A15 | -mfpu=vfpv4 | | -mfpu=neon-vfpv4 |
47+
# ~~~
4548

4649
if(CONFIG_ARCH_FPU)
4750
if(CONFIG_ARM_FPU_ABI_SOFT)

0 commit comments

Comments
 (0)