Skip to content

Commit f79264b

Browse files
committed
[libc][math] Remove placeholder implementations of asin and pow.
Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D148781
1 parent 21a69bd commit f79264b

File tree

13 files changed

+0
-222
lines changed

13 files changed

+0
-222
lines changed

libc/config/linux/aarch64/entrypoints.txt

-2
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ set(TARGET_LIBM_ENTRYPOINTS
220220
# math.h entrypoints
221221
libc.src.math.acosf
222222
libc.src.math.acoshf
223-
libc.src.math.asin
224223
libc.src.math.asinf
225224
libc.src.math.asinhf
226225
libc.src.math.atanf
@@ -296,7 +295,6 @@ set(TARGET_LIBM_ENTRYPOINTS
296295
libc.src.math.nextafter
297296
libc.src.math.nextafterf
298297
libc.src.math.nextafterl
299-
libc.src.math.pow
300298
libc.src.math.remainderf
301299
libc.src.math.remainder
302300
libc.src.math.remainderl

libc/config/linux/riscv64/entrypoints.txt

-2
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ set(TARGET_LIBM_ENTRYPOINTS
227227
# math.h entrypoints
228228
libc.src.math.acosf
229229
libc.src.math.acoshf
230-
libc.src.math.asin
231230
libc.src.math.asinf
232231
libc.src.math.asinhf
233232
libc.src.math.atanf
@@ -302,7 +301,6 @@ set(TARGET_LIBM_ENTRYPOINTS
302301
libc.src.math.nextafter
303302
libc.src.math.nextafterf
304303
libc.src.math.nextafterl
305-
libc.src.math.pow
306304
libc.src.math.remainderf
307305
libc.src.math.remainder
308306
libc.src.math.remainderl

libc/config/linux/x86_64/entrypoints.txt

-2
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ set(TARGET_LIBM_ENTRYPOINTS
227227
# math.h entrypoints
228228
libc.src.math.acosf
229229
libc.src.math.acoshf
230-
libc.src.math.asin
231230
libc.src.math.asinf
232231
libc.src.math.asinhf
233232
libc.src.math.atanf
@@ -304,7 +303,6 @@ set(TARGET_LIBM_ENTRYPOINTS
304303
libc.src.math.nextafter
305304
libc.src.math.nextafterf
306305
libc.src.math.nextafterl
307-
libc.src.math.pow
308306
libc.src.math.remainderf
309307
libc.src.math.remainder
310308
libc.src.math.remainderl

libc/config/windows/entrypoints.txt

-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ set(TARGET_LIBM_ENTRYPOINTS
114114
# math.h entrypoints
115115
libc.src.math.acosf
116116
libc.src.math.acoshf
117-
libc.src.math.asin
118117
libc.src.math.asinf
119118
libc.src.math.asinhf
120119
libc.src.math.atanf
@@ -191,7 +190,6 @@ set(TARGET_LIBM_ENTRYPOINTS
191190
libc.src.math.nextafter
192191
libc.src.math.nextafterf
193192
libc.src.math.nextafterl
194-
libc.src.math.pow
195193
libc.src.math.remainderf
196194
libc.src.math.remainder
197195
libc.src.math.remainderl

libc/src/math/CMakeLists.txt

-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ endfunction()
4343
add_math_entrypoint_object(acosf)
4444
add_math_entrypoint_object(acoshf)
4545

46-
add_math_entrypoint_object(asin)
4746
add_math_entrypoint_object(asinf)
4847
add_math_entrypoint_object(asinhf)
4948

@@ -153,8 +152,6 @@ add_math_entrypoint_object(nextafter)
153152
add_math_entrypoint_object(nextafterf)
154153
add_math_entrypoint_object(nextafterl)
155154

156-
add_math_entrypoint_object(pow)
157-
158155
add_math_entrypoint_object(remainder)
159156
add_math_entrypoint_object(remainderf)
160157
add_math_entrypoint_object(remainderl)

libc/src/math/asin.h

-18
This file was deleted.

libc/src/math/generic/CMakeLists.txt

-25
Original file line numberDiff line numberDiff line change
@@ -1383,18 +1383,6 @@ add_entrypoint_object(
13831383
-O3
13841384
)
13851385

1386-
add_entrypoint_object(
1387-
asin
1388-
SRCS
1389-
asin.cpp
1390-
HDRS
1391-
../asin.h
1392-
DEPENDS
1393-
.asinf
1394-
COMPILE_OPTIONS
1395-
-O3
1396-
)
1397-
13981386
add_entrypoint_object(
13991387
acosf
14001388
SRCS
@@ -1428,19 +1416,6 @@ add_entrypoint_object(
14281416
-O3
14291417
)
14301418

1431-
add_entrypoint_object(
1432-
pow
1433-
SRCS
1434-
pow.cpp
1435-
HDRS
1436-
../pow.h
1437-
DEPENDS
1438-
.expf
1439-
.logf
1440-
COMPILE_OPTIONS
1441-
-O3
1442-
)
1443-
14441419
add_entrypoint_object(
14451420
scalbn
14461421
SRCS

libc/src/math/generic/asin.cpp

-22
This file was deleted.

libc/src/math/generic/pow.cpp

-24
This file was deleted.

libc/src/math/pow.h

-18
This file was deleted.

libc/test/src/math/CMakeLists.txt

-24
Original file line numberDiff line numberDiff line change
@@ -1482,18 +1482,6 @@ add_fp_unittest(
14821482
libc.src.__support.FPUtil.fp_bits
14831483
)
14841484

1485-
add_fp_unittest(
1486-
asin_test
1487-
NEED_MPFR
1488-
SUITE
1489-
libc_math_unittests
1490-
SRCS
1491-
asin_test.cpp
1492-
DEPENDS
1493-
libc.src.errno.errno
1494-
libc.src.math.asin
1495-
)
1496-
14971485
add_fp_unittest(
14981486
acosf_test
14991487
NEED_MPFR
@@ -1534,18 +1522,6 @@ add_fp_unittest(
15341522
libc.src.__support.FPUtil.fp_bits
15351523
)
15361524

1537-
add_fp_unittest(
1538-
pow_test
1539-
NEED_MPFR
1540-
SUITE
1541-
libc_math_unittests
1542-
SRCS
1543-
pow_test.cpp
1544-
DEPENDS
1545-
libc.src.errno.errno
1546-
libc.src.math.pow
1547-
)
1548-
15491525
add_fp_unittest(
15501526
scalbn_test
15511527
NEED_MPFR

libc/test/src/math/asin_test.cpp

-42
This file was deleted.

libc/test/src/math/pow_test.cpp

-38
This file was deleted.

0 commit comments

Comments
 (0)