File tree Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Original file line number Diff line number Diff line change @@ -226,12 +226,14 @@ add_math_entrypoint_object(fmaxf)
226226add_math_entrypoint_object(fmaxl)
227227add_math_entrypoint_object(fmaxf128)
228228add_math_entrypoint_object(fmaxf16)
229+ add_math_entrypoint_object(fmaxbf16)
229230
230231add_math_entrypoint_object(fmin)
231232add_math_entrypoint_object(fminf)
232233add_math_entrypoint_object(fminl)
233234add_math_entrypoint_object(fminf128)
234235add_math_entrypoint_object(fminf16)
236+ add_math_entrypoint_object(fminbf16)
235237
236238add_math_entrypoint_object(fmaximum)
237239add_math_entrypoint_object(fmaximumf)
Original file line number Diff line number Diff line change @@ -2361,6 +2361,21 @@ add_entrypoint_object(
23612361 MISC_MATH_BASIC_OPS_OPT
23622362)
23632363
2364+ add_entrypoint_object(
2365+ fminbf16
2366+ SRCS
2367+ fminbf16.cpp
2368+ HDRS
2369+ ../fminbf16.h
2370+ DEPENDS
2371+ libc.src.__support.common
2372+ libc.src.__support.FPUtil.basic_operations
2373+ libc.src.__support.FPUtil.bfloat16
2374+ libc.src.__support.macros .config
2375+ libc.src.__support.macros .properties.types
2376+ FLAGS
2377+ MISC_MATH_BASIC_OPS_OPT
2378+ )
23642379
23652380add_entrypoint_object(
23662381 fmax
@@ -2420,6 +2435,22 @@ add_entrypoint_object(
24202435 MISC_MATH_BASIC_OPS_OPT
24212436)
24222437
2438+ add_entrypoint_object(
2439+ fmaxbf16
2440+ SRCS
2441+ fmaxbf16.cpp
2442+ HDRS
2443+ ../fmaxbf16.h
2444+ DEPENDS
2445+ libc.src.__support.common
2446+ libc.src.__support.FPUtil.basic_operations
2447+ libc.src.__support.FPUtil.bfloat16
2448+ libc.src.__support.macros .config
2449+ libc.src.__support.macros .properties.types
2450+ FLAGS
2451+ MISC_MATH_BASIC_OPS_OPT
2452+ )
2453+
24232454add_entrypoint_object(
24242455 fmaximum
24252456 SRCS
Original file line number Diff line number Diff line change @@ -2346,6 +2346,21 @@ add_fp_unittest(
23462346 libc.src.__support.FPUtil.fp_bits
23472347)
23482348
2349+ add_fp_unittest(
2350+ fminbf16_test
2351+ SUITE
2352+ libc-math-smoke-tests
2353+ SRCS
2354+ fminbf16_test.cpp
2355+ HDRS
2356+ FMinTest.h
2357+ DEPENDS
2358+ libc.src.math.fminbf16
2359+ libc.src.__support.CPP.algorithm
2360+ libc.src.__support.FPUtil.bfloat16
2361+ libc.src.__support.FPUtil.fp_bits
2362+ )
2363+
23492364add_fp_unittest(
23502365 fmaxf_test
23512366 SUITE
@@ -2416,6 +2431,21 @@ add_fp_unittest(
24162431 libc.src.__support.FPUtil.fp_bits
24172432)
24182433
2434+ add_fp_unittest(
2435+ fmaxbf16_test
2436+ SUITE
2437+ libc-math-smoke-tests
2438+ SRCS
2439+ fmaxbf16_test.cpp
2440+ HDRS
2441+ FMaxTest.h
2442+ DEPENDS
2443+ libc.src.math.fmaxbf16
2444+ libc.src.__support.CPP.algorithm
2445+ libc.src.__support.FPUtil.bfloat16
2446+ libc.src.__support.FPUtil.fp_bits
2447+ )
2448+
24192449add_fp_unittest(
24202450 fmaximuml_test
24212451 SUITE
You can’t perform that action at this time.
0 commit comments