Skip to content

Commit

Permalink
Add aarch64a_soft_nofp variant (#588)
Browse files Browse the repository at this point in the history
Build a soft float multilib variant for aarch64 supporting targets
without an FPU.

Authored by Keith Packard and Victor Campos.
  • Loading branch information
vhscampos authored Dec 5, 2024
1 parent 0b2dce0 commit 0b32d96
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arm-multilib/json/multilib.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"json": "aarch64a_strictalign.json",
"flags": "--target=aarch64-unknown-none-elf -mno-unaligned-access -fno-exceptions -fno-rtti"
},
{
"variant": "aarch64a_soft_nofp",
"json": "aarch64a_soft_nofp.json",
"flags": "--target=aarch64-unknown-none-elf -march=armv8-a+nofp+nosimd -mabi=aapcs-soft"
},
{
"variant": "armv4t_exn_rtti",
"json": "armv4t_exn_rtti.json",
Expand Down
40 changes: 40 additions & 0 deletions arm-multilib/json/variants/aarch64a_soft_nofp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"args": {
"common": {
"TARGET_ARCH": "aarch64a",
"VARIANT": "aarch64a_soft_nofp",
"COMPILE_FLAGS": "-march=armv8-a+nofp+nosimd -mabi=aapcs-soft",
"ENABLE_EXCEPTIONS": "OFF",
"ENABLE_RTTI": "OFF",
"TEST_EXECUTOR": "qemu",
"QEMU_MACHINE": "virt",
"QEMU_CPU": "cortex-a57",
"BOOT_FLASH_ADDRESS": "0x40000000",
"BOOT_FLASH_SIZE": "0x1000",
"FLASH_ADDRESS": "0x40001000",
"FLASH_SIZE": "0xfff000",
"RAM_ADDRESS": "0x41000000",
"RAM_SIZE": "0x1000000",
"STACK_SIZE": "8K"
},
"picolibc": {
"PICOLIBC_BUILD_TYPE": "release",
"ENABLE_CXX_LIBS": "ON",
"ENABLE_LIBC_TESTS": "ON",
"ENABLE_COMPILER_RT_TESTS": "OFF",
"ENABLE_LIBCXX_TESTS": "OFF"
},
"newlib": {
"ENABLE_CXX_LIBS": "ON",
"ENABLE_LIBC_TESTS": "OFF",
"ENABLE_COMPILER_RT_TESTS": "OFF",
"ENABLE_LIBCXX_TESTS": "OFF"
},
"llvmlibc": {
"ENABLE_CXX_LIBS": "OFF",
"ENABLE_LIBC_TESTS": "OFF",
"ENABLE_COMPILER_RT_TESTS": "OFF",
"ENABLE_LIBCXX_TESTS": "OFF"
}
}
}

0 comments on commit 0b32d96

Please sign in to comment.