[libc-commits] [libc] [baremetal] Add atan2 to baremetal (PR #101767)
via libc-commits
libc-commits at lists.llvm.org
Fri Aug 2 16:04:25 PDT 2024
https://github.com/PiJoules updated https://github.com/llvm/llvm-project/pull/101767
>From 62740da1911e19a50e39377e248b1e569191093b Mon Sep 17 00:00:00 2001
From: Leonard Chan <leonardchan at google.com>
Date: Fri, 2 Aug 2024 15:54:49 -0700
Subject: [PATCH 1/2] [baremetal] Add atan2 to baremetal
---
libc/config/baremetal/arm/entrypoints.txt | 1 +
libc/config/baremetal/riscv/entrypoints.txt | 1 +
2 files changed, 2 insertions(+)
diff --git a/libc/config/baremetal/arm/entrypoints.txt b/libc/config/baremetal/arm/entrypoints.txt
index ef145e994a3d1..372623b3df73a 100644
--- a/libc/config/baremetal/arm/entrypoints.txt
+++ b/libc/config/baremetal/arm/entrypoints.txt
@@ -233,6 +233,7 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.asinf
libc.src.math.asinhf
libc.src.math.atan2f
+ libc.src.math.atan2
libc.src.math.atanf
libc.src.math.atanhf
libc.src.math.canonicalize
diff --git a/libc/config/baremetal/riscv/entrypoints.txt b/libc/config/baremetal/riscv/entrypoints.txt
index be41f9a13aac2..6bf7d933f316e 100644
--- a/libc/config/baremetal/riscv/entrypoints.txt
+++ b/libc/config/baremetal/riscv/entrypoints.txt
@@ -229,6 +229,7 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.asinf
libc.src.math.asinhf
libc.src.math.atan2f
+ libc.src.math.atan2
libc.src.math.atanf
libc.src.math.atanhf
libc.src.math.canonicalize
>From 64c92468405e9dd43fff2e0cd46a57bbcf2d5421 Mon Sep 17 00:00:00 2001
From: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: Fri, 2 Aug 2024 16:04:17 -0700
Subject: [PATCH 2/2] Update libc/config/baremetal/riscv/entrypoints.txt
Co-authored-by: Petr Hosek <phosek at google.com>
---
libc/config/baremetal/riscv/entrypoints.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libc/config/baremetal/riscv/entrypoints.txt b/libc/config/baremetal/riscv/entrypoints.txt
index 6bf7d933f316e..8cdbbdee59d51 100644
--- a/libc/config/baremetal/riscv/entrypoints.txt
+++ b/libc/config/baremetal/riscv/entrypoints.txt
@@ -228,8 +228,8 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.acoshf
libc.src.math.asinf
libc.src.math.asinhf
- libc.src.math.atan2f
libc.src.math.atan2
+ libc.src.math.atan2f
libc.src.math.atanf
libc.src.math.atanhf
libc.src.math.canonicalize
More information about the libc-commits
mailing list