Skip to content

[libc][math][c23] Add remaining linux/* entrypoints for {,u}fromfp{,x}* #86692

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions libc/config/linux/aarch64/entrypoints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,12 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.frexp
libc.src.math.frexpf
libc.src.math.frexpl
libc.src.math.fromfp
libc.src.math.fromfpf
libc.src.math.fromfpl
libc.src.math.fromfpx
libc.src.math.fromfpxf
libc.src.math.fromfpxl
libc.src.math.hypot
libc.src.math.hypotf
libc.src.math.ilogb
Expand Down Expand Up @@ -478,6 +484,12 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.trunc
libc.src.math.truncf
libc.src.math.truncl
libc.src.math.ufromfp
libc.src.math.ufromfpf
libc.src.math.ufromfpl
libc.src.math.ufromfpx
libc.src.math.ufromfpxf
libc.src.math.ufromfpxl
)

if(LIBC_TYPES_HAS_FLOAT128)
Expand All @@ -500,6 +512,8 @@ if(LIBC_TYPES_HAS_FLOAT128)
libc.src.math.fminimum_mag_numf128
libc.src.math.fmodf128
libc.src.math.frexpf128
libc.src.math.fromfpf128
libc.src.math.fromfpxf128
libc.src.math.ilogbf128
libc.src.math.ldexpf128
libc.src.math.llogbf128
Expand All @@ -517,6 +531,8 @@ if(LIBC_TYPES_HAS_FLOAT128)
libc.src.math.roundf128
libc.src.math.sqrtf128
libc.src.math.truncf128
libc.src.math.ufromfpf128
libc.src.math.ufromfpxf128
)
endif()

Expand Down
12 changes: 12 additions & 0 deletions libc/config/linux/arm/entrypoints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,12 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.frexp
libc.src.math.frexpf
libc.src.math.frexpl
libc.src.math.fromfp
libc.src.math.fromfpf
libc.src.math.fromfpl
libc.src.math.fromfpx
libc.src.math.fromfpxf
libc.src.math.fromfpxl
libc.src.math.hypot
libc.src.math.hypotf
libc.src.math.ilogb
Expand Down Expand Up @@ -345,6 +351,12 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.trunc
libc.src.math.truncf
libc.src.math.truncl
libc.src.math.ufromfp
libc.src.math.ufromfpf
libc.src.math.ufromfpl
libc.src.math.ufromfpx
libc.src.math.ufromfpxf
libc.src.math.ufromfpxl
)

set(TARGET_LLVMLIBC_ENTRYPOINTS
Expand Down
16 changes: 16 additions & 0 deletions libc/config/linux/riscv/entrypoints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,12 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.frexp
libc.src.math.frexpf
libc.src.math.frexpl
libc.src.math.fromfp
libc.src.math.fromfpf
libc.src.math.fromfpl
libc.src.math.fromfpx
libc.src.math.fromfpxf
libc.src.math.fromfpxl
libc.src.math.hypot
libc.src.math.hypotf
libc.src.math.ilogb
Expand Down Expand Up @@ -486,6 +492,12 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.trunc
libc.src.math.truncf
libc.src.math.truncl
libc.src.math.ufromfp
libc.src.math.ufromfpf
libc.src.math.ufromfpl
libc.src.math.ufromfpx
libc.src.math.ufromfpxf
libc.src.math.ufromfpxl
)

if(LIBC_TYPES_HAS_FLOAT128)
Expand All @@ -508,6 +520,8 @@ if(LIBC_TYPES_HAS_FLOAT128)
libc.src.math.fminimum_mag_numf128
libc.src.math.fmodf128
libc.src.math.frexpf128
libc.src.math.fromfpf128
libc.src.math.fromfpxf128
libc.src.math.ilogbf128
libc.src.math.ldexpf128
libc.src.math.llogbf128
Expand All @@ -525,6 +539,8 @@ if(LIBC_TYPES_HAS_FLOAT128)
libc.src.math.roundf128
libc.src.math.sqrtf128
libc.src.math.truncf128
libc.src.math.ufromfpf128
libc.src.math.ufromfpxf128
)
endif()

Expand Down
32 changes: 16 additions & 16 deletions libc/docs/math/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,21 +190,21 @@ Basic Operations
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| frexpf128 | |check| | |check| | | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| fromfp | |check| | | | | | | | | | | | |
| fromfp | |check| | |check| | |check| | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| fromfpf | |check| | | | | | | | | | | | |
| fromfpf | |check| | |check| | |check| | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| fromfpl | |check| | | | | | | | | | | | |
| fromfpl | |check| | |check| | |check| | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| fromfpf128 | |check| | | | | | | | | | | | |
| fromfpf128 | |check| | |check| | | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| fromfpx | |check| | | | | | | | | | | | |
| fromfpx | |check| | |check| | |check| | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| fromfpxf | |check| | | | | | | | | | | | |
| fromfpxf | |check| | |check| | |check| | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| fromfpxl | |check| | | | | | | | | | | | |
| fromfpxl | |check| | |check| | |check| | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| fromfpxf128 | |check| | | | | | | | | | | | |
| fromfpxf128 | |check| | |check| | | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| ilogb | |check| | |check| | |check| | |check| | |check| | | | |check| | |check| | |check| | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
Expand Down Expand Up @@ -364,21 +364,21 @@ Basic Operations
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| truncf128 | |check| | |check| | | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| ufromfp | |check| | | | | | | | | | | | |
| ufromfp | |check| | |check| | |check| | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| ufromfpf | |check| | | | | | | | | | | | |
| ufromfpf | |check| | |check| | |check| | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| ufromfpl | |check| | | | | | | | | | | | |
| ufromfpl | |check| | |check| | |check| | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| ufromfpf128 | |check| | | | | | | | | | | | |
| ufromfpf128 | |check| | |check| | | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| ufromfpx | |check| | | | | | | | | | | | |
| ufromfpx | |check| | |check| | |check| | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| ufromfpxf | |check| | | | | | | | | | | | |
| ufromfpxf | |check| | |check| | |check| | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| ufromfpxl | |check| | | | | | | | | | | | |
| ufromfpxl | |check| | |check| | |check| | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
| ufromfpxf128 | |check| | | | | | | | | | | | |
| ufromfpxf128 | |check| | |check| | | |check| | | | | | | | | |
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+


Expand Down