[libc-commits] [libc] 8a07167 - Revert "[libc][math][c23] Add remaining linux/* entrypoints for {, u}fromfp{, x}* (#86692)"

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Wed Mar 27 13:29:09 PDT 2024


Author: Nick Desaulniers
Date: 2024-03-27T13:28:26-07:00
New Revision: 8a071678a9091d536eae29912ca7be6238105956

URL: https://github.com/llvm/llvm-project/commit/8a071678a9091d536eae29912ca7be6238105956
DIFF: https://github.com/llvm/llvm-project/commit/8a071678a9091d536eae29912ca7be6238105956.diff

LOG: Revert "[libc][math][c23] Add remaining linux/* entrypoints for {,u}fromfp{,x}* (#86692)"

This reverts commit cd17082b24079a31eff0057abe407da5cfb7b0fc because the newly
added tests fail on 32b ARM.

Link: #86692
Link: https://lab.llvm.org/buildbot/#/builders/229/builds/24458

Added: 
    

Modified: 
    libc/config/linux/aarch64/entrypoints.txt
    libc/config/linux/arm/entrypoints.txt
    libc/config/linux/riscv/entrypoints.txt
    libc/docs/math/index.rst

Removed: 
    


################################################################################
diff  --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt
index ab0be7e35dced2..78da7f0b334b1f 100644
--- a/libc/config/linux/aarch64/entrypoints.txt
+++ b/libc/config/linux/aarch64/entrypoints.txt
@@ -396,12 +396,6 @@ 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
@@ -484,12 +478,6 @@ 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)
@@ -512,8 +500,6 @@ 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
@@ -531,8 +517,6 @@ 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()
 

diff  --git a/libc/config/linux/arm/entrypoints.txt b/libc/config/linux/arm/entrypoints.txt
index 1d9d5ed67200c1..6e63e270280e7a 100644
--- a/libc/config/linux/arm/entrypoints.txt
+++ b/libc/config/linux/arm/entrypoints.txt
@@ -263,12 +263,6 @@ 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
@@ -351,12 +345,6 @@ 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

diff  --git a/libc/config/linux/riscv/entrypoints.txt b/libc/config/linux/riscv/entrypoints.txt
index 96acd999efda4d..5aae4e246cfb3c 100644
--- a/libc/config/linux/riscv/entrypoints.txt
+++ b/libc/config/linux/riscv/entrypoints.txt
@@ -404,12 +404,6 @@ 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
@@ -492,12 +486,6 @@ 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)
@@ -520,8 +508,6 @@ 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
@@ -539,8 +525,6 @@ 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()
 

diff  --git a/libc/docs/math/index.rst b/libc/docs/math/index.rst
index d8dee3c9061908..080b6a4427f511 100644
--- a/libc/docs/math/index.rst
+++ b/libc/docs/math/index.rst
@@ -190,21 +190,21 @@ Basic Operations
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
 | frexpf128        | |check| | |check| |         | |check| |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| fromfp           | |check| | |check| | |check| | |check| |         |         |         |         |         |         |         |         |
+| fromfp           | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| fromfpf          | |check| | |check| | |check| | |check| |         |         |         |         |         |         |         |         |
+| fromfpf          | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| fromfpl          | |check| | |check| | |check| | |check| |         |         |         |         |         |         |         |         |
+| fromfpl          | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| fromfpf128       | |check| | |check| |         | |check| |         |         |         |         |         |         |         |         |
+| fromfpf128       | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| fromfpx          | |check| | |check| | |check| | |check| |         |         |         |         |         |         |         |         |
+| fromfpx          | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| fromfpxf         | |check| | |check| | |check| | |check| |         |         |         |         |         |         |         |         |
+| fromfpxf         | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| fromfpxl         | |check| | |check| | |check| | |check| |         |         |         |         |         |         |         |         |
+| fromfpxl         | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| fromfpxf128      | |check| | |check| |         | |check| |         |         |         |         |         |         |         |         |
+| fromfpxf128      | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
 | ilogb            | |check| | |check| | |check| | |check| | |check| |         |         | |check| | |check| | |check| |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
@@ -364,21 +364,21 @@ Basic Operations
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
 | truncf128        | |check| | |check| |         | |check| |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| ufromfp          | |check| | |check| | |check| | |check| |         |         |         |         |         |         |         |         |
+| ufromfp          | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| ufromfpf         | |check| | |check| | |check| | |check| |         |         |         |         |         |         |         |         |
+| ufromfpf         | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| ufromfpl         | |check| | |check| | |check| | |check| |         |         |         |         |         |         |         |         |
+| ufromfpl         | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| ufromfpf128      | |check| | |check| |         | |check| |         |         |         |         |         |         |         |         |
+| ufromfpf128      | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| ufromfpx         | |check| | |check| | |check| | |check| |         |         |         |         |         |         |         |         |
+| ufromfpx         | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| ufromfpxf        | |check| | |check| | |check| | |check| |         |         |         |         |         |         |         |         |
+| ufromfpxf        | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| ufromfpxl        | |check| | |check| | |check| | |check| |         |         |         |         |         |         |         |         |
+| ufromfpxl        | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
-| ufromfpxf128     | |check| | |check| |         | |check| |         |         |         |         |         |         |         |         |
+| ufromfpxf128     | |check| |         |         |         |         |         |         |         |         |         |         |         |
 +------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
 
 


        


More information about the libc-commits mailing list