Skip to content

Commit df1e394

Browse files
committed
[bazel] Port for libc change bc7a3bd
1 parent 4989c62 commit df1e394

File tree

1 file changed

+42
-15
lines changed

1 file changed

+42
-15
lines changed

utils/bazel/llvm-project-overlay/libc/BUILD.bazel

Lines changed: 42 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,6 +1187,36 @@ libc_support_library(
11871187
],
11881188
)
11891189

1190+
libc_support_library(
1191+
name = "exp10f_impl",
1192+
hdrs = ["src/math/generic/exp10f_impl.h"],
1193+
deps = [
1194+
":__support_fputil_fma",
1195+
":__support_fputil_multiply_add",
1196+
":__support_fputil_nearest_integer",
1197+
":__support_fputil_polyeval",
1198+
":__support_fputil_rounding_mode",
1199+
":__support_macros_optimization",
1200+
":common_constants",
1201+
":explogxf",
1202+
],
1203+
)
1204+
1205+
libc_support_library(
1206+
name = "exp2f_impl",
1207+
hdrs = ["src/math/generic/exp2f_impl.h"],
1208+
deps = [
1209+
":__support_fputil_fma",
1210+
":__support_fputil_multiply_add",
1211+
":__support_fputil_nearest_integer",
1212+
":__support_fputil_polyeval",
1213+
":__support_fputil_rounding_mode",
1214+
":__support_macros_optimization",
1215+
":common_constants",
1216+
":explogxf",
1217+
],
1218+
)
1219+
11901220
libc_math_function(
11911221
name = "erff",
11921222
additional_deps = [
@@ -1274,14 +1304,7 @@ libc_math_function(
12741304
libc_math_function(
12751305
name = "exp10f",
12761306
additional_deps = [
1277-
":__support_fputil_fma",
1278-
":__support_fputil_multiply_add",
1279-
":__support_fputil_nearest_integer",
1280-
":__support_fputil_polyeval",
1281-
":__support_fputil_rounding_mode",
1282-
":__support_macros_optimization",
1283-
":common_constants",
1284-
":explogxf",
1307+
":exp10f_impl",
12851308
],
12861309
)
12871310

@@ -1304,13 +1327,17 @@ libc_math_function(
13041327
libc_math_function(
13051328
name = "exp2f",
13061329
additional_deps = [
1307-
":__support_fputil_fma",
1308-
":__support_fputil_multiply_add",
1309-
":__support_fputil_nearest_integer",
1310-
":__support_fputil_polyeval",
1311-
":__support_fputil_rounding_mode",
1312-
":__support_macros_optimization",
1313-
":__support_macros_properties_cpu_features",
1330+
":exp2f_impl",
1331+
],
1332+
)
1333+
1334+
libc_math_function(
1335+
name = "powf",
1336+
additional_deps = [
1337+
":__support_fputil_double_double",
1338+
":__support_fputil_sqrt",
1339+
":exp2f",
1340+
":exp10f",
13141341
":explogxf",
13151342
],
13161343
)

0 commit comments

Comments
 (0)