index
:
antcc
trunk
A little C compiler
about
summary
refs
log
tree
commit
diff
homepage
log msg
author
committer
range
Commit message (
Collapse
)
Author
Age
Files
Lines
*
c: check actual reachability for non-void func may not return value
lemon
2025-11-23
3
-2
/
+28
|
*
c: implement compound initializer in static context
lemon
2025-11-23
2
-3
/
+18
|
*
update todo.txt
lemon
2025-11-23
1
-1
/
+0
|
*
lex: TEMP hack: #define __x86_64__ or some system headers break subtly
lemon
2025-11-23
1
-0
/
+1
|
*
amd64/emit: fix (partially) float comparisonsd
lemon
2025-11-23
1
-6
/
+10
|
*
amd64: va_arg for small aggregates
lemon
2025-11-23
1
-2
/
+8
|
*
amd64/emit: this rbpoff approach is kinda broken..
lemon
2025-11-23
1
-1
/
+1
|
*
c: fix runtime implicit-length array initializer
lemon
2025-11-23
1
-2
/
+3
|
*
c: __builtin_va_copy
lemon
2025-11-23
3
-9
/
+39
|
*
implement float varargs, and some other fixes
lemon
2025-11-23
7
-53
/
+93
|
*
cpp: fix bugs with recursive macro expansion (hopefully)
lemon
2025-11-23
3
-29
/
+25
|
*
main: fix memory leak
lemon
2025-11-23
1
-0
/
+1
|
*
cpp: fix ## bug
lemon
2025-11-23
2
-2
/
+1
|
*
amd64/isel: indirect call arg must be memaddr
lemon
2025-11-22
1
-2
/
+7
|
*
make sure indirect function call pointer does not end up in clobber reg
lemon
2025-11-22
2
-2
/
+7
|
*
c: fix precedence of conditional expression rhs
lemon
2025-11-22
1
-2
/
+2
|
*
c: make the warning for '()' function declarations less strict
lemon
2025-11-22
1
-1
/
+1
|
*
ir: freeblk: clear preds
lemon
2025-11-22
1
-0
/
+2
|
*
tests: add Nora Sandler's 'Write a C Compiler' test suite
lemon
2025-11-22
2
-0
/
+4
|
*
ir/ir.c: fix assert in mkcallarg
lemon
2025-11-22
1
-1
/
+1
|
*
update todo.txt
lemon
2025-11-22
1
-1
/
+6
|
*
c: fix static eval for address of some array refs
lemon
2025-11-22
2
-2
/
+7
|
*
c: add decl.sym; avoid calling mkhiddensym repeatedly
lemon
2025-11-22
2
-22
/
+17
|
*
ir/dump: initialize out buffer statically
lemon
2025-11-22
1
-3
/
+1
|
*
sysv: nested scalar classification of struct shouldn't return KPTR, used to ↵
lemon
2025-11-22
1
-1
/
+1
|
|
|
|
indicate aggregate in the stack
*
regalloc: merge overlapping fixed intervals better
lemon
2025-11-22
1
-1
/
+12
|
*
c: move warning for extension keyword til after preprocessor
lemon
2025-11-22
3
-4
/
+12
|
*
lex: #include ".." should also look in working directory
lemon
2025-11-22
1
-19
/
+17
|
*
lex: move token data from tmp to glob arena when used in a macro body
lemon
2025-11-22
1
-2
/
+7
|
|
|
|
|
|
maybe introduce per-macro arenas to tie their lifetimes to that. but most macros have global lifetime (i.e. aren't #undef'd) so there probably wouldn't be much benefit to that
*
c: cast should narrow for narrow ints
lemon
2025-11-22
1
-2
/
+3
|
*
amd64/emit: fix REX-requiring 8-bit GPR encoding checking wrong reg
lemon
2025-11-22
2
-2
/
+4
|
*
irdump: print alloca # bytes
lemon
2025-11-21
1
-0
/
+3
|
*
ir: implement dominator tree computation
lemon
2025-11-21
3
-0
/
+40
|
*
ir: barebones IR passes checked contracts
lemon
2025-11-21
8
-2
/
+28
|
*
remove umul
lemon
2025-11-21
6
-9
/
+5
|
*
change op names to match 285063eba44
lemon
2025-11-21
13
-211
/
+211
|
*
rename IR classes to reflect bitsize
lemon
2025-11-21
13
-109
/
+109
|
*
regalloc: assert nops aren't being used
lemon
2025-11-21
1
-0
/
+1
|
*
ir/builder: peephole optimize branch with constant conditional
lemon
2025-11-21
1
-4
/
+14
|
*
mem2reg: implement marker algorithm from Braun et al
lemon
2025-11-21
1
-8
/
+40
|
*
mem2reg: store pending phis implicitly
lemon
2025-11-21
1
-12
/
+8
|
*
ir: fix delpred when npred becomes 1
lemon
2025-11-21
1
-2
/
+12
|
*
ir/dump: print block predecessors
lemon
2025-11-21
1
-2
/
+10
|
*
cfg: sortrpo delete unreachable blocks with allocas by hoisting them to the ↵
lemon
2025-11-21
1
-6
/
+7
|
|
|
|
entry block
*
c: fix conditional expr not converting operands to final type
lemon
2025-11-21
1
-9
/
+13
|
*
cpp: add predefined __antcc__ macro, for debugging
lemon
2025-11-20
1
-0
/
+1
|
*
isel: lower allocas a different way, such that stk address gets materialized ↵
lemon
2025-11-20
4
-29
/
+64
|
|
|
|
when necesary
*
ir: for easier debugging, keep ctype in dats, print as literal when possible
lemon
2025-11-20
5
-25
/
+61
|
*
rename test/varargs
lemon
2025-11-19
1
-0
/
+0
|
*
mem2reg: fix edgecase..
lemon
2025-11-19
1
-1
/
+1
|
[next]