Skip to content

Commit 0b32d96

Browse files
authored
Add aarch64a_soft_nofp variant (#588)
Build a soft float multilib variant for aarch64 supporting targets without an FPU. Authored by Keith Packard and Victor Campos.
1 parent 0b2dce0 commit 0b32d96

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

arm-multilib/json/multilib.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
"json": "aarch64a_strictalign.json",
3131
"flags": "--target=aarch64-unknown-none-elf -mno-unaligned-access -fno-exceptions -fno-rtti"
3232
},
33+
{
34+
"variant": "aarch64a_soft_nofp",
35+
"json": "aarch64a_soft_nofp.json",
36+
"flags": "--target=aarch64-unknown-none-elf -march=armv8-a+nofp+nosimd -mabi=aapcs-soft"
37+
},
3338
{
3439
"variant": "armv4t_exn_rtti",
3540
"json": "armv4t_exn_rtti.json",
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"args": {
3+
"common": {
4+
"TARGET_ARCH": "aarch64a",
5+
"VARIANT": "aarch64a_soft_nofp",
6+
"COMPILE_FLAGS": "-march=armv8-a+nofp+nosimd -mabi=aapcs-soft",
7+
"ENABLE_EXCEPTIONS": "OFF",
8+
"ENABLE_RTTI": "OFF",
9+
"TEST_EXECUTOR": "qemu",
10+
"QEMU_MACHINE": "virt",
11+
"QEMU_CPU": "cortex-a57",
12+
"BOOT_FLASH_ADDRESS": "0x40000000",
13+
"BOOT_FLASH_SIZE": "0x1000",
14+
"FLASH_ADDRESS": "0x40001000",
15+
"FLASH_SIZE": "0xfff000",
16+
"RAM_ADDRESS": "0x41000000",
17+
"RAM_SIZE": "0x1000000",
18+
"STACK_SIZE": "8K"
19+
},
20+
"picolibc": {
21+
"PICOLIBC_BUILD_TYPE": "release",
22+
"ENABLE_CXX_LIBS": "ON",
23+
"ENABLE_LIBC_TESTS": "ON",
24+
"ENABLE_COMPILER_RT_TESTS": "OFF",
25+
"ENABLE_LIBCXX_TESTS": "OFF"
26+
},
27+
"newlib": {
28+
"ENABLE_CXX_LIBS": "ON",
29+
"ENABLE_LIBC_TESTS": "OFF",
30+
"ENABLE_COMPILER_RT_TESTS": "OFF",
31+
"ENABLE_LIBCXX_TESTS": "OFF"
32+
},
33+
"llvmlibc": {
34+
"ENABLE_CXX_LIBS": "OFF",
35+
"ENABLE_LIBC_TESTS": "OFF",
36+
"ENABLE_COMPILER_RT_TESTS": "OFF",
37+
"ENABLE_LIBCXX_TESTS": "OFF"
38+
}
39+
}
40+
}

0 commit comments

Comments
 (0)