Skip to content

Commit

Permalink
[bazel] Port for libc change bc7a3bd
Browse files Browse the repository at this point in the history
  • Loading branch information
hokein committed Nov 7, 2023
1 parent 4989c62 commit df1e394
Showing 1 changed file with 42 additions and 15 deletions.
57 changes: 42 additions & 15 deletions utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -1187,6 +1187,36 @@ libc_support_library(
],
)

libc_support_library(
name = "exp10f_impl",
hdrs = ["src/math/generic/exp10f_impl.h"],
deps = [
":__support_fputil_fma",
":__support_fputil_multiply_add",
":__support_fputil_nearest_integer",
":__support_fputil_polyeval",
":__support_fputil_rounding_mode",
":__support_macros_optimization",
":common_constants",
":explogxf",
],
)

libc_support_library(
name = "exp2f_impl",
hdrs = ["src/math/generic/exp2f_impl.h"],
deps = [
":__support_fputil_fma",
":__support_fputil_multiply_add",
":__support_fputil_nearest_integer",
":__support_fputil_polyeval",
":__support_fputil_rounding_mode",
":__support_macros_optimization",
":common_constants",
":explogxf",
],
)

libc_math_function(
name = "erff",
additional_deps = [
Expand Down Expand Up @@ -1274,14 +1304,7 @@ libc_math_function(
libc_math_function(
name = "exp10f",
additional_deps = [
":__support_fputil_fma",
":__support_fputil_multiply_add",
":__support_fputil_nearest_integer",
":__support_fputil_polyeval",
":__support_fputil_rounding_mode",
":__support_macros_optimization",
":common_constants",
":explogxf",
":exp10f_impl",
],
)

Expand All @@ -1304,13 +1327,17 @@ libc_math_function(
libc_math_function(
name = "exp2f",
additional_deps = [
":__support_fputil_fma",
":__support_fputil_multiply_add",
":__support_fputil_nearest_integer",
":__support_fputil_polyeval",
":__support_fputil_rounding_mode",
":__support_macros_optimization",
":__support_macros_properties_cpu_features",
":exp2f_impl",
],
)

libc_math_function(
name = "powf",
additional_deps = [
":__support_fputil_double_double",
":__support_fputil_sqrt",
":exp2f",
":exp10f",
":explogxf",
],
)
Expand Down

0 comments on commit df1e394

Please sign in to comment.