Skip to content
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
14 changes: 13 additions & 1 deletion utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3834,7 +3834,19 @@ libc_math_function(name = "floorf128")

libc_math_function(name = "floorf16")

# TODO: Add fma, fmaf, fmal, fmaf128 functions.
libc_math_function(
name = "fma",
additional_deps = [
":__support_fputil_fma",
],
)

libc_math_function(
name = "fmaf",
additional_deps = [
":__support_fputil_fma",
],
)

libc_math_function(
name = "fmaf16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,15 @@ math_test(
hdrs = ["FloorTest.h"],
)

# TODO: Add fma, fmaf, fmal, fmaf128 tests.
math_test(
name = "fma",
hdrs = ["FmaTest.h"],
)

math_test(
name = "fmaf",
hdrs = ["FmaTest.h"],
)

# TODO: Reenable this test once it passes at Google.
# math_test(
Expand Down
Loading