File tree Expand file tree Collapse file tree 5 files changed +63
-1
lines changed Expand file tree Collapse file tree 5 files changed +63
-1
lines changed Original file line number Diff line number Diff line change 1
1
include "config/public_api.td"
2
2
3
3
include "spec/stdc.td"
4
+ include "spec/stdc_ext.td"
4
5
5
6
def AssertMacro : MacroDef<"assert"> {
6
7
let Defn = [{
Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ set(TARGET_LIBC_ENTRYPOINTS
76
76
libc.src.stdio.vsprintf
77
77
libc.src.stdio.vsnprintf
78
78
79
-
80
79
# stdbit.h entrypoints
81
80
libc.src.stdbit.stdc_leading_zeros_uc
82
81
libc.src.stdbit.stdc_leading_zeros_us
@@ -280,6 +279,36 @@ set(TARGET_LIBM_ENTRYPOINTS
280
279
libc.src.math.truncl
281
280
)
282
281
282
+ if(LIBC_COMPILER_HAS_FIXED_POINT)
283
+ list(APPEND TARGET_LIBM_ENTRYPOINTS
284
+ # stdfix.h _Fract and _Accum entrypoints
285
+ libc.src.stdfix.abshk
286
+ libc.src.stdfix.abshr
287
+ libc.src.stdfix.absk
288
+ libc.src.stdfix.absr
289
+ libc.src.stdfix.abslk
290
+ libc.src.stdfix.abslr
291
+ libc.src.stdfix.roundhk
292
+ libc.src.stdfix.roundhr
293
+ libc.src.stdfix.roundk
294
+ libc.src.stdfix.roundr
295
+ libc.src.stdfix.roundlk
296
+ libc.src.stdfix.roundlr
297
+ libc.src.stdfix.rounduhk
298
+ libc.src.stdfix.rounduhr
299
+ libc.src.stdfix.rounduk
300
+ libc.src.stdfix.roundur
301
+ libc.src.stdfix.roundulk
302
+ libc.src.stdfix.roundulr
303
+ libc.src.stdfix.sqrtuhk
304
+ libc.src.stdfix.sqrtuhr
305
+ libc.src.stdfix.sqrtuk
306
+ libc.src.stdfix.sqrtur
307
+ # libc.src.stdfix.sqrtulk
308
+ libc.src.stdfix.sqrtulr
309
+ )
310
+ endif()
311
+
283
312
set(TARGET_LLVMLIBC_ENTRYPOINTS
284
313
${TARGET_LIBC_ENTRYPOINTS}
285
314
${TARGET_LIBM_ENTRYPOINTS}
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ set(TARGET_PUBLIC_HEADERS
7
7
libc.include.stdint
8
8
libc.include.inttypes
9
9
libc.include.math
10
+ libc.include.stdfix
10
11
libc.include.stdio
11
12
libc.include.stdlib
12
13
libc.include.string
Original file line number Diff line number Diff line change @@ -279,6 +279,36 @@ set(TARGET_LIBM_ENTRYPOINTS
279
279
libc.src.math.truncl
280
280
)
281
281
282
+ if(LIBC_COMPILER_HAS_FIXED_POINT)
283
+ list(APPEND TARGET_LIBM_ENTRYPOINTS
284
+ # stdfix.h _Fract and _Accum entrypoints
285
+ libc.src.stdfix.abshk
286
+ libc.src.stdfix.abshr
287
+ libc.src.stdfix.absk
288
+ libc.src.stdfix.absr
289
+ libc.src.stdfix.abslk
290
+ libc.src.stdfix.abslr
291
+ libc.src.stdfix.roundhk
292
+ libc.src.stdfix.roundhr
293
+ libc.src.stdfix.roundk
294
+ libc.src.stdfix.roundr
295
+ libc.src.stdfix.roundlk
296
+ libc.src.stdfix.roundlr
297
+ libc.src.stdfix.rounduhk
298
+ libc.src.stdfix.rounduhr
299
+ libc.src.stdfix.rounduk
300
+ libc.src.stdfix.roundur
301
+ libc.src.stdfix.roundulk
302
+ libc.src.stdfix.roundulr
303
+ libc.src.stdfix.sqrtuhk
304
+ libc.src.stdfix.sqrtuhr
305
+ libc.src.stdfix.sqrtuk
306
+ libc.src.stdfix.sqrtur
307
+ # libc.src.stdfix.sqrtulk
308
+ libc.src.stdfix.sqrtulr
309
+ )
310
+ endif()
311
+
282
312
set(TARGET_LLVMLIBC_ENTRYPOINTS
283
313
${TARGET_LIBC_ENTRYPOINTS}
284
314
${TARGET_LIBM_ENTRYPOINTS}
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ set(TARGET_PUBLIC_HEADERS
7
7
libc.include.stdint
8
8
libc.include.inttypes
9
9
libc.include.math
10
+ libc.include.stdfix
10
11
libc.include.stdio
11
12
libc.include.stdlib
12
13
libc.include.string
You can’t perform that action at this time.
0 commit comments