diff options
author | OverMighty <its.overmighty@gmail.com> | 2024-07-01 01:20:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-30 19:20:39 -0400 |
commit | 6c1c451b867f250f1c2fab709f0c8657ffd21116 (patch) | |
tree | 7c9ce9a2267a2d228ca18c3ed9b9cbf40694f798 /libc/config | |
parent | 67957a45ee1ec42ae1671cdbfa0d73127346cc95 (diff) | |
download | llvm-6c1c451b867f250f1c2fab709f0c8657ffd21116.zip llvm-6c1c451b867f250f1c2fab709f0c8657ffd21116.tar.gz llvm-6c1c451b867f250f1c2fab709f0c8657ffd21116.tar.bz2 |
[libc][math][c23] Add f16sqrt{,l,f128} C23 math functions (#96642)
Part of #95250.
Diffstat (limited to 'libc/config')
-rw-r--r-- | libc/config/linux/aarch64/entrypoints.txt | 1 | ||||
-rw-r--r-- | libc/config/linux/x86_64/entrypoints.txt | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt index 8a26536..ea89f8b 100644 --- a/libc/config/linux/aarch64/entrypoints.txt +++ b/libc/config/linux/aarch64/entrypoints.txt @@ -510,6 +510,7 @@ if(LIBC_TYPES_HAS_FLOAT16) libc.src.math.f16div libc.src.math.f16divf libc.src.math.f16fmaf + libc.src.math.f16sqrt libc.src.math.f16sqrtf libc.src.math.fabsf16 libc.src.math.fdimf16 diff --git a/libc/config/linux/x86_64/entrypoints.txt b/libc/config/linux/x86_64/entrypoints.txt index e1922ca..9f67dea 100644 --- a/libc/config/linux/x86_64/entrypoints.txt +++ b/libc/config/linux/x86_64/entrypoints.txt @@ -543,7 +543,9 @@ if(LIBC_TYPES_HAS_FLOAT16) libc.src.math.f16fma libc.src.math.f16fmaf libc.src.math.f16fmal + libc.src.math.f16sqrt libc.src.math.f16sqrtf + libc.src.math.f16sqrtl libc.src.math.fabsf16 libc.src.math.fdimf16 libc.src.math.floorf16 @@ -596,8 +598,9 @@ if(LIBC_TYPES_HAS_FLOAT16) if(LIBC_TYPES_HAS_FLOAT128) list(APPEND TARGET_LIBM_ENTRYPOINTS # math.h C23 mixed _Float16 and _Float128 entrypoints - libc.src.math.f16fmaf128 libc.src.math.f16divf128 + libc.src.math.f16fmaf128 + libc.src.math.f16sqrtf128 ) endif() endif() |