aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* c: do not try to eval conditional expression's not taken branch lemon2026-03-051-0/+2
|
* add bswap16/32/64 lemon2026-03-021-0/+6
| | | | | - frontend: __builtin_bswapX intrinsics - backend: ObswapX instructions
* cpp: fix token spacing edge case when empty macros are involved lemon2026-03-011-2/+3
|
* cpp: fix token spacing (#2) (hopefully) lemon2026-03-011-0/+24
|
* cpp: allow comments between function-like macro name and arguments lemon2026-02-261-1/+2
|
* add metalang99 testsuite (preprocessor stress testing) lemon2026-02-23119-2/+16971
|
* cpp: add __COUNTER__ macro lemon2026-02-231-0/+10
|
* add sqlite submodule and test runner lemon2026-02-221-0/+12
|
* c: fix using string literal as conditional expression conditional lemon2026-02-221-0/+0
|
* test: fix c-testsuite.sh to build search index if not present lemon2026-02-221-0/+1
|
* preprocessor: fix an edge case with erroneously recursive macro expansion lemon2026-02-221-0/+12
|
* ir: basic inlining pass implementation lemon2026-02-181-0/+22
|
* cpp: add __VA_OPT__ and comma ## __VA_ARGS__ pasting lemon2026-02-061-2/+2
|
* cpp: fix pasting ident+keyword lemon2026-01-091-0/+16
|
* cpp: fix multiline comment in skipped preprocessor directive lemon2026-01-092-2/+3
|
* rega: fix infinite loop when compiling infinite loop lemon2025-12-201-0/+5
|
* test/run.sh: shellcheck lemon2025-12-201-11/+10
|
* cpp: GNU extension for named variadic arguments lemon2025-12-181-0/+4
|
* test/c-testsuite.sh lemon2025-12-153-6/+5
|
* kill fred lemon2025-12-132-2/+1
|
* add c-testsuite lemon2025-12-13912-0/+9205
|
* c: handle more static eval edgecases for int -> ptr lemon2025-12-131-0/+9
| | | | | sqlite3 was falling back to `((void*)&((char*)0)[X])` for INT_TO_PTR, which this handles now.
* Add -O optimization flag lemon2025-12-131-0/+1
|
* fix position independent loads of function symbols. lemon2025-12-133-10/+30
| | | | | | | | For `extern int x[1];`, can use PCREL32 for &x. But for `extern int x(int)`, must use GOTREL, when not being called directly (that's PLT). Therefore the type of an external symbol (actually just whether it denotes a function) matters when deciding what kind of relocation to emit, so keep that information.
* test/14 lemon2025-12-131-0/+12
|
* c: accept C99 `[static N]` style array decls, changes to fn quals lemon2025-12-111-0/+5
| | | | | | Function parameters qualifiers don't matter outside of function definition. `int (const int)` should be compatible with `int(int)` etc. So no need to store them in the typedata.
* _Alignof and stuff lemon2025-12-111-0/+22
|
* update lua/.gitignore lemon2025-12-101-0/+2
|
* c: fix compound assignment type conversions when types don't match lemon2025-12-102-0/+0
|
* Add lua 5.4.0 test suite lemon2025-12-07120-1/+59828
|
* test/12-flt: add some weird float cmp edgecases lemon2025-12-071-2/+9
|
* add command-line predefined macros (-D, -U) lemon2025-12-062-3/+6
|
* test 12-flt lemon2025-12-053-4/+36
|
* test/11-abi lemon2025-12-021-0/+37
|
* ir: implement cvtu64f. and other bug fixes lemon2025-11-231-2/+2
| | | | | compiler is bootstrapping?! however, stage1 and stage2+ executables aren't bit-identical.. small differences in the codegen.. need to look into that
* implement cvtfXu64 by lowering it in builder lemon2025-11-231-2/+2
| | | | this should probably be in a separate pass?
* c: __builtin_va_copy lemon2025-11-231-0/+17
|
* implement float varargs, and some other fixes lemon2025-11-231-0/+22
|
* tests: add Nora Sandler's 'Write a C Compiler' test suite lemon2025-11-222-0/+4
|
* rename test/varargs lemon2025-11-191-0/+0
|
* make clean test/build lemon2025-11-161-1/+1
|
* basic automated testing lemon2025-11-1613-45/+162
|
* isel: don't incorrectly clamp constant lhs of shift operation lemon2025-11-151-1/+1
|
* preeliminary va_list support lemon2025-11-141-0/+17
|
* regalloc: misc lemon2025-11-021-0/+11
|
* c: avoid generating relocations in .rodata (putting such objects in .data ↵ lemon2025-10-251-0/+2
| | | | instead for now)
* amd64: float conversion insntrs lemon2025-10-181-0/+25
|
* wide str and char literals lemon2025-10-161-3/+6
|
* test more cpp behavior lemon2025-10-151-0/+18
|
* c: concatenate adjacent string literal tokens lemon2025-10-151-1/+4
|