Skip to content

Commit 3a8f697

Browse files
authored
[libc][math] Enable math acos for baremetal Arm and AArch64 (#166749)
This patch adds `acos` to the entrypoints of baremetal Arm and AArch64. Tests have been run with Arm Toolchain for Embedded, a downstream toolchain, in conjunction with qemu, across several configurations of FPUs and architecture versions. All tests run are passing.
1 parent 3c62ead commit 3a8f697

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc/config/baremetal/aarch64/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ set(TARGET_LIBM_ENTRYPOINTS
320320
libc.src.fenv.feupdateenv
321321

322322
# math.h entrypoints
323+
libc.src.math.acos
323324
libc.src.math.acosf
324325
libc.src.math.acoshf
325326
libc.src.math.asinf

libc/config/baremetal/arm/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ set(TARGET_LIBM_ENTRYPOINTS
323323
libc.src.fenv.feupdateenv
324324

325325
# math.h entrypoints
326+
libc.src.math.acos
326327
libc.src.math.acosf
327328
libc.src.math.acoshf
328329
libc.src.math.asinf

0 commit comments

Comments
 (0)