File tree Expand file tree Collapse file tree 12 files changed +115
-1
lines changed Expand file tree Collapse file tree 12 files changed +115
-1
lines changed Original file line number Diff line number Diff line change @@ -757,6 +757,12 @@ endif()
757
757
758
758
list(APPEND TARGET_LIBM_ENTRYPOINTS
759
759
# bfloat16 entrypoints
760
+ libc.src.math.bf16add
761
+ libc.src.math.bf16addf
762
+ libc.src.math.bf16addl
763
+ libc.src.math.bf16sub
764
+ libc.src.math.bf16subf
765
+ libc.src.math.bf16subl
760
766
libc.src.math.ceilbf16
761
767
libc.src.math.fabsbf16
762
768
libc.src.math.floorbf16
@@ -765,6 +771,14 @@ list(APPEND TARGET_LIBM_ENTRYPOINTS
765
771
libc.src.math.truncbf16
766
772
)
767
773
774
+ if(LIBC_TYPES_HAS_FLOAT128)
775
+ list(APPEND TARGET_LIBM_ENTRYPOINTS
776
+ # math.h C++23 mixed bfloat16 and _Float128 entrypoints
777
+ libc.src.math.bf16addf128
778
+ libc.src.math.bf16subf128
779
+ )
780
+ endif()
781
+
768
782
if(LIBC_COMPILER_HAS_FIXED_POINT)
769
783
list(APPEND TARGET_LIBM_ENTRYPOINTS
770
784
# stdfix.h _Fract and _Accum entrypoints
Original file line number Diff line number Diff line change @@ -760,6 +760,12 @@ endif()
760
760
761
761
list(APPEND TARGET_LIBM_ENTRYPOINTS
762
762
# bfloat16 entrypoints
763
+ libc.src.math.bf16add
764
+ libc.src.math.bf16addf
765
+ libc.src.math.bf16addl
766
+ libc.src.math.bf16sub
767
+ libc.src.math.bf16subf
768
+ libc.src.math.bf16subl
763
769
libc.src.math.ceilbf16
764
770
libc.src.math.fabsbf16
765
771
libc.src.math.floorbf16
@@ -768,6 +774,14 @@ list(APPEND TARGET_LIBM_ENTRYPOINTS
768
774
libc.src.math.truncbf16
769
775
)
770
776
777
+ if(LIBC_TYPES_HAS_FLOAT128)
778
+ list(APPEND TARGET_LIBM_ENTRYPOINTS
779
+ # math.h C++23 mixed bfloat16 and _Float128 entrypoints
780
+ libc.src.math.bf16addf128
781
+ libc.src.math.bf16subf128
782
+ )
783
+ endif()
784
+
771
785
if(LIBC_COMPILER_HAS_FIXED_POINT)
772
786
list(APPEND TARGET_LIBM_ENTRYPOINTS
773
787
# stdfix.h _Fract and _Accum entrypoints
Original file line number Diff line number Diff line change @@ -760,6 +760,12 @@ endif()
760
760
761
761
list(APPEND TARGET_LIBM_ENTRYPOINTS
762
762
# bfloat16 entrypoints
763
+ libc.src.math.bf16add
764
+ libc.src.math.bf16addf
765
+ libc.src.math.bf16addl
766
+ libc.src.math.bf16sub
767
+ libc.src.math.bf16subf
768
+ libc.src.math.bf16subl
763
769
libc.src.math.ceilbf16
764
770
libc.src.math.fabsbf16
765
771
libc.src.math.floorbf16
@@ -768,6 +774,14 @@ list(APPEND TARGET_LIBM_ENTRYPOINTS
768
774
libc.src.math.truncbf16
769
775
)
770
776
777
+ if(LIBC_TYPES_HAS_FLOAT128)
778
+ list(APPEND TARGET_LIBM_ENTRYPOINTS
779
+ # math.h C++23 mixed bfloat16 and _Float128 entrypoints
780
+ libc.src.math.bf16addf128
781
+ libc.src.math.bf16subf128
782
+ )
783
+ endif()
784
+
771
785
if(LIBC_COMPILER_HAS_FIXED_POINT)
772
786
list(APPEND TARGET_LIBM_ENTRYPOINTS
773
787
# stdfix.h _Fract and _Accum entrypoints
Original file line number Diff line number Diff line change @@ -590,6 +590,12 @@ endif()
590
590
591
591
list(APPEND TARGET_LIBM_ENTRYPOINTS
592
592
# bfloat16 entrypoints
593
+ libc.src.math.bf16add
594
+ libc.src.math.bf16addf
595
+ libc.src.math.bf16addl
596
+ libc.src.math.bf16sub
597
+ libc.src.math.bf16subf
598
+ libc.src.math.bf16subl
593
599
libc.src.math.ceilbf16
594
600
libc.src.math.fabsbf16
595
601
libc.src.math.floorbf16
@@ -598,6 +604,14 @@ list(APPEND TARGET_LIBM_ENTRYPOINTS
598
604
libc.src.math.truncbf16
599
605
)
600
606
607
+ if(LIBC_TYPES_HAS_FLOAT128)
608
+ list(APPEND TARGET_LIBM_ENTRYPOINTS
609
+ # math.h C++23 mixed bfloat16 and _Float128 entrypoints
610
+ libc.src.math.bf16addf128
611
+ libc.src.math.bf16subf128
612
+ )
613
+ endif()
614
+
601
615
if(LIBC_COMPILER_HAS_FIXED_POINT)
602
616
list(APPEND TARGET_LIBM_ENTRYPOINTS
603
617
# stdfix.h _Fract and _Accum entrypoints
Original file line number Diff line number Diff line change @@ -233,6 +233,12 @@ set(TARGET_LIBM_ENTRYPOINTS
233
233
234
234
list(APPEND TARGET_LIBM_ENTRYPOINTS
235
235
# bfloat16 entrypoints
236
+ libc.src.math.bf16add
237
+ libc.src.math.bf16addf
238
+ libc.src.math.bf16addl
239
+ libc.src.math.bf16sub
240
+ libc.src.math.bf16subf
241
+ libc.src.math.bf16subl
236
242
libc.src.math.ceilbf16
237
243
libc.src.math.fabsbf16
238
244
libc.src.math.floorbf16
Original file line number Diff line number Diff line change @@ -616,6 +616,12 @@ endif()
616
616
617
617
list(APPEND TARGET_LIBM_ENTRYPOINTS
618
618
# bfloat16 entrypoints
619
+ libc.src.math.bf16add
620
+ libc.src.math.bf16addf
621
+ libc.src.math.bf16addl
622
+ libc.src.math.bf16sub
623
+ libc.src.math.bf16subf
624
+ libc.src.math.bf16subl
619
625
libc.src.math.ceilbf16
620
626
libc.src.math.fabsbf16
621
627
libc.src.math.floorbf16
Original file line number Diff line number Diff line change @@ -617,6 +617,12 @@ endif()
617
617
618
618
list(APPEND TARGET_LIBM_ENTRYPOINTS
619
619
# bfloat16 entrypoints
620
+ libc.src.math.bf16add
621
+ libc.src.math.bf16addf
622
+ libc.src.math.bf16addl
623
+ libc.src.math.bf16sub
624
+ libc.src.math.bf16subf
625
+ libc.src.math.bf16subl
620
626
libc.src.math.ceilbf16
621
627
libc.src.math.fabsbf16
622
628
libc.src.math.floorbf16
Original file line number Diff line number Diff line change @@ -844,6 +844,12 @@ endif()
844
844
845
845
list(APPEND TARGET_LIBM_ENTRYPOINTS
846
846
# bfloat16 entrypoints
847
+ libc.src.math.bf16add
848
+ libc.src.math.bf16addf
849
+ libc.src.math.bf16addl
850
+ libc.src.math.bf16sub
851
+ libc.src.math.bf16subf
852
+ libc.src.math.bf16subl
847
853
libc.src.math.ceilbf16
848
854
libc.src.math.fabsbf16
849
855
libc.src.math.floorbf16
@@ -852,6 +858,14 @@ list(APPEND TARGET_LIBM_ENTRYPOINTS
852
858
libc.src.math.truncbf16
853
859
)
854
860
861
+ if(LIBC_TYPES_HAS_FLOAT128)
862
+ list(APPEND TARGET_LIBM_ENTRYPOINTS
863
+ # math.h C++23 mixed bfloat16 and _Float128 entrypoints
864
+ libc.src.math.bf16addf128
865
+ libc.src.math.bf16subf128
866
+ )
867
+ endif()
868
+
855
869
if(LLVM_LIBC_FULL_BUILD)
856
870
list(APPEND TARGET_LIBC_ENTRYPOINTS
857
871
# assert.h entrypoints
Original file line number Diff line number Diff line change @@ -460,6 +460,12 @@ set(TARGET_LIBM_ENTRYPOINTS
460
460
461
461
list(APPEND TARGET_LIBM_ENTRYPOINTS
462
462
# bfloat16 entrypoints
463
+ libc.src.math.bf16add
464
+ libc.src.math.bf16addf
465
+ libc.src.math.bf16addl
466
+ libc.src.math.bf16sub
467
+ libc.src.math.bf16subf
468
+ libc.src.math.bf16subl
463
469
libc.src.math.ceilbf16
464
470
libc.src.math.fabsbf16
465
471
libc.src.math.floorbf16
Original file line number Diff line number Diff line change @@ -863,6 +863,12 @@ endif()
863
863
864
864
list(APPEND TARGET_LIBM_ENTRYPOINTS
865
865
# bfloat16 entrypoints
866
+ libc.src.math.bf16add
867
+ libc.src.math.bf16addf
868
+ libc.src.math.bf16addl
869
+ libc.src.math.bf16sub
870
+ libc.src.math.bf16subf
871
+ libc.src.math.bf16subl
866
872
libc.src.math.ceilbf16
867
873
libc.src.math.fabsbf16
868
874
libc.src.math.floorbf16
@@ -871,6 +877,14 @@ list(APPEND TARGET_LIBM_ENTRYPOINTS
871
877
libc.src.math.truncbf16
872
878
)
873
879
880
+ if(LIBC_TYPES_HAS_FLOAT128)
881
+ list(APPEND TARGET_LIBM_ENTRYPOINTS
882
+ # math.h C++23 mixed bfloat16 and _Float128 entrypoints
883
+ libc.src.math.bf16addf128
884
+ libc.src.math.bf16subf128
885
+ )
886
+ endif()
887
+
874
888
if(LIBC_COMPILER_HAS_FIXED_POINT)
875
889
list(APPEND TARGET_LIBM_ENTRYPOINTS
876
890
# stdfix.h _Fract and _Accum entrypoints
You can’t perform that action at this time.
0 commit comments