Skip to content

Commit ff3915c

Browse files
committed
chore: update CMakeLists
Signed-off-by: Krishna Pandey <[email protected]>
1 parent 64121d4 commit ff3915c

File tree

2 files changed

+77
-0
lines changed

2 files changed

+77
-0
lines changed

libc/src/math/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,14 @@ add_math_entrypoint_object(canonicalizef)
7878
add_math_entrypoint_object(canonicalizel)
7979
add_math_entrypoint_object(canonicalizef16)
8080
add_math_entrypoint_object(canonicalizef128)
81+
add_math_entrypoint_object(canonicalizebf16)
8182

8283
add_math_entrypoint_object(iscanonical)
8384
add_math_entrypoint_object(iscanonicalf)
8485
add_math_entrypoint_object(iscanonicall)
8586
add_math_entrypoint_object(iscanonicalf16)
8687
add_math_entrypoint_object(iscanonicalf128)
88+
add_math_entrypoint_object(iscanonicalbf16)
8789

8890
add_math_entrypoint_object(cbrt)
8991
add_math_entrypoint_object(cbrtf)
@@ -100,6 +102,7 @@ add_math_entrypoint_object(copysignf)
100102
add_math_entrypoint_object(copysignl)
101103
add_math_entrypoint_object(copysignf16)
102104
add_math_entrypoint_object(copysignf128)
105+
add_math_entrypoint_object(copysignbf16)
103106

104107
add_math_entrypoint_object(cos)
105108
add_math_entrypoint_object(cosf)
@@ -203,6 +206,7 @@ add_math_entrypoint_object(fdimf)
203206
add_math_entrypoint_object(fdiml)
204207
add_math_entrypoint_object(fdimf16)
205208
add_math_entrypoint_object(fdimf128)
209+
add_math_entrypoint_object(fdimbf16)
206210

207211
add_math_entrypoint_object(fdiv)
208212
add_math_entrypoint_object(fdivl)
@@ -355,6 +359,7 @@ add_math_entrypoint_object(issignalingf)
355359
add_math_entrypoint_object(issignalingl)
356360
add_math_entrypoint_object(issignalingf16)
357361
add_math_entrypoint_object(issignalingf128)
362+
add_math_entrypoint_object(issignalingbf16)
358363

359364
add_math_entrypoint_object(llogb)
360365
add_math_entrypoint_object(llogbf)

libc/src/math/generic/CMakeLists.txt

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@ add_entrypoint_object(
5252
libc.src.__support.FPUtil.basic_operations
5353
)
5454

55+
add_entrypoint_object(
56+
canonicalizebf16
57+
SRCS
58+
canonicalizebf16.cpp
59+
HDRS
60+
../canonicalizebf16.h
61+
DEPENDS
62+
libc.src.__support.common
63+
libc.src.__support.macros.config
64+
libc.src.__support.macros.properties.types
65+
libc.src.__support.FPUtil.basic_operations
66+
libc.src.__support.FPUtil.bfloat16
67+
)
68+
5569
add_entrypoint_object(
5670
iscanonical
5771
SRCS
@@ -96,6 +110,20 @@ add_entrypoint_object(
96110
libc.src.__support.macros.properties.types
97111
)
98112

113+
add_entrypoint_object(
114+
iscanonicalbf16
115+
SRCS
116+
iscanonicalbf16.cpp
117+
HDRS
118+
../iscanonicalbf16.h
119+
DEPENDS
120+
libc.src.__support.common
121+
libc.src.__support.macros.config
122+
libc.src.__support.macros.properties.types
123+
libc.src.__support.FPUtil.basic_operations
124+
libc.src.__support.FPUtil.bfloat16
125+
)
126+
99127
add_entrypoint_object(
100128
ceil
101129
SRCS
@@ -1748,6 +1776,22 @@ add_entrypoint_object(
17481776
libc.src.__support.FPUtil.manipulation_functions
17491777
)
17501778

1779+
add_entrypoint_object(
1780+
copysignbf16
1781+
SRCS
1782+
copysignbf16.cpp
1783+
HDRS
1784+
../copysignbf16.h
1785+
DEPENDS
1786+
libc.src.__support.common
1787+
libc.src.__support.macros.config
1788+
libc.src.__support.macros.properties.types
1789+
libc.src.__support.FPUtil.bfloat16
1790+
libc.src.__support.FPUtil.manipulation_functions
1791+
FLAGS
1792+
MISC_MATH_BASIC_OPS_OPT
1793+
)
1794+
17511795
add_entrypoint_object(
17521796
frexp
17531797
SRCS
@@ -3427,6 +3471,20 @@ add_entrypoint_object(
34273471
libc.src.__support.FPUtil.basic_operations
34283472
)
34293473

3474+
add_entrypoint_object(
3475+
fdimbf16
3476+
SRCS
3477+
fdimbf16.cpp
3478+
HDRS
3479+
../fdimbf16.h
3480+
DEPENDS
3481+
libc.src.__support.common
3482+
libc.src.__support.macros.config
3483+
libc.src.__support.macros.properties.types
3484+
libc.src.__support.FPUtil.basic_operations
3485+
libc.src.__support.FPUtil.bfloat16
3486+
)
3487+
34303488
add_entrypoint_object(
34313489
fdiv
34323490
SRCS
@@ -3543,6 +3601,20 @@ add_entrypoint_object(
35433601
libc.src.__support.macros.properties.types
35443602
)
35453603

3604+
add_entrypoint_object(
3605+
issignalingbf16
3606+
SRCS
3607+
issignalingbf16.cpp
3608+
HDRS
3609+
../issignalingbf16.h
3610+
DEPENDS
3611+
libc.src.__support.common
3612+
libc.src.__support.macros.config
3613+
libc.src.__support.macros.properties.types
3614+
libc.src.__support.FPUtil.basic_operations
3615+
libc.src.__support.FPUtil.bfloat16
3616+
)
3617+
35463618
add_entrypoint_object(
35473619
isnan
35483620
SRCS

0 commit comments

Comments
 (0)