Christoffer Lerno
|
99ea0afcbf
|
Optimize multiple int casts on ptrtoint, into a single cast. Fixed incorrect widening cast from signed -> unsigned.
|
2022-01-17 00:45:26 +01:00 |
|
Christoffer Lerno
|
23461b179f
|
More splitting of the AbiArgInfo to make it easier to find duplicate behaviour.
|
2022-01-16 16:21:55 +01:00 |
|
Christoffer Lerno
|
d916f111b3
|
Fixes a | b when a | b are boolean. Fixes to RISCV and x64 ABI implementations.
|
2022-01-16 01:13:43 +01:00 |
|
Christoffer Lerno
|
0f4a43717e
|
Fixes to the aarch64 ABI.
|
2022-01-15 01:37:43 +01:00 |
|
Christoffer Lerno
|
c5a862f4d1
|
Fix to the x64 ABI. More tests.
|
2022-01-14 21:30:29 +01:00 |
|
Christoffer Lerno
|
fb22a36aa9
|
Fix of #374. Even more "or" LLVM 14 fixes.
|
2022-01-13 21:51:19 +01:00 |
|
Christoffer Lerno
|
889bc27800
|
Skip "or with zero"
|
2022-01-13 21:38:24 +01:00 |
|
Christoffer Lerno
|
eed5b7db54
|
Correctly call x64 varargs.
|
2022-01-13 21:22:50 +01:00 |
|
Christoffer Lerno
|
5683fe3f8c
|
Add parsing for escaping and remove "fault" token name. Allow excluding stdlib. Fixes to the x64 abi: no narrowing done for i32 results, assuming too many registers, more tests.
|
2022-01-12 23:56:59 +01:00 |
|
data-man
|
684ad9e663
|
Disable mimalloc by the option
|
2022-01-11 17:32:06 +01:00 |
|
Christoffer Lerno
|
a6b29bccb7
|
Somewhat smaller SymEntry. Different mixing function in stables.
|
2022-01-10 22:05:56 +01:00 |
|
Christoffer Lerno
|
71623a1874
|
Minor bugfix.
|
2022-01-10 18:59:29 +01:00 |
|
Christoffer Lerno
|
16179d2513
|
Make it easier to match LLVM 14 output.
|
2022-01-10 14:50:57 +01:00 |
|
Dmitry Atamanov
|
fd8cd6a8e2
|
Use several LLVM versions in CI (#369)
* Use several LLVM versions in CI
|
2022-01-10 14:40:55 +01:00 |
|
Christoffer Lerno
|
180b17b213
|
Updated with latest TB.
|
2022-01-10 14:38:31 +01:00 |
|
Christoffer Lerno
|
4764981708
|
Update cols for warning and prev as well.
|
2022-01-10 14:08:23 +01:00 |
|
Disheng Su
|
3cf057ff95
|
Print file's full path and col number in compiler's error message
|
2022-01-10 14:06:29 +01:00 |
|
Christoffer Lerno
|
ea3b50d039
|
Codegen with better annotations on globals.
|
2022-01-10 13:58:15 +01:00 |
|
Christoffer Lerno
|
041c096801
|
Refactored some of the llvm lowering. Work on TB. Disabled mimalloc due to issues with LLVM.
|
2022-01-09 21:23:37 +01:00 |
|
Dmitry Atamanov
|
d942dfbc99
|
Support build with mimalloc (#348)
* Support build with mimalloc
* Use latest stable tag
|
2022-01-07 19:18:25 +01:00 |
|
Christoffer Lerno
|
a176ae353b
|
Refactored function pointer.
|
2022-01-07 19:13:07 +01:00 |
|
Christoffer Lerno
|
8a840746f6
|
Compound statements are linked lists. Remove unused "global_symbols" "public_symbols" "qualified_symbols". Reduce max hash map load.
|
2022-01-05 19:40:44 +01:00 |
|
Christoffer Lerno
|
869aa7ed76
|
Do not store direct parameters that are only read.
|
2022-01-04 23:16:32 +01:00 |
|
Christoffer Lerno
|
1d5ff71b21
|
Rearchitecture contexts. Fixing macro resulution, hash arguments and defers.
|
2022-01-04 20:45:58 +01:00 |
|
Christoffer Lerno
|
439ae3e468
|
Satisfy GCC checks.
|
2022-01-03 12:35:42 +01:00 |
|
Christoffer Lerno
|
8f2ae41ea5
|
Removed allocation of AbiType. Separate string arena.
|
2022-01-03 12:19:46 +01:00 |
|
Christoffer Lerno
|
fd1353f0f1
|
Removed scratch hash table use for parameter checks. Faster symtab setup. Scrubbed the lexer somewhat without changing behaviour.
|
2022-01-01 22:08:07 +01:00 |
|
Christoffer Lerno
|
bbeed12600
|
Removing unused hash table functions. Removal of macro DECL_NEW. Smaller initial vector size. Remove unnecessary memclear.
|
2021-12-30 16:41:00 +01:00 |
|
Christoffer Lerno
|
0a7200ac24
|
Symtab default size change, some minor cleanup.
|
2021-12-29 23:36:15 +01:00 |
|
Christoffer Lerno
|
f509c85514
|
Update hello_world
|
2021-12-29 14:38:47 +01:00 |
|
Christoffer Lerno
|
06d3bc8915
|
Release symtab after use.
|
2021-12-29 13:34:36 +01:00 |
|
Christoffer Lerno
|
a0be188902
|
Lexing updated with simpler code. Note: may have bugs.
|
2021-12-27 15:45:54 +01:00 |
|
Christoffer Lerno
|
0a9a014e4a
|
Builtins now properly work with $defined. A builtin may not be an rvalue.
|
2021-12-25 21:08:08 +01:00 |
|
Christoffer Lerno
|
85ee021585
|
Adding missing symtab size option.
|
2021-12-24 23:15:50 +01:00 |
|
Christoffer Lerno
|
f6de1f7b74
|
Somewhat clearer code around lexing.
|
2021-12-24 01:09:21 +01:00 |
|
Christoffer Lerno
|
cf61f427d4
|
Add noalias to sret.
|
2021-12-23 13:26:55 +01:00 |
|
Christoffer Lerno
|
eb54e46569
|
Add necessary header for cmalloc
|
2021-12-22 13:09:01 +01:00 |
|
Christoffer Lerno
|
cf0a04977a
|
Prevent circular initializers.
|
2021-12-22 01:03:15 +01:00 |
|
thsm
|
1a9b8095b6
|
added {| |}, etc to vscode syntax highlighter
|
2021-12-22 00:41:36 +01:00 |
|
pyxel
|
012f258fa2
|
add vscode syntax plugin
|
2021-12-21 22:52:53 +01:00 |
|
Christoffer Lerno
|
eefe782dd6
|
Fix constant evaluation of | & ^ >> <<
|
2021-12-20 21:35:36 +01:00 |
|
Christoffer Lerno
|
6f77fdf800
|
Update assert for WASM part 3
|
2021-12-20 02:43:36 +01:00 |
|
Christoffer Lerno
|
8f6dd64483
|
Update assert for WASM part 2
|
2021-12-20 02:35:01 +01:00 |
|
Christoffer Lerno
|
04c3efc3c3
|
Update assert for WASM
|
2021-12-20 00:32:27 +01:00 |
|
Christoffer Lerno
|
4575e3dd8d
|
Fix fseek/ftell to work correctly.
|
2021-12-20 00:23:21 +01:00 |
|
Christoffer Lerno
|
b5b625e54a
|
Make sure normal flags aren't ignored for release.
|
2021-12-20 00:05:51 +01:00 |
|
Christoffer Lerno
|
52cc4f8ba5
|
Move compiler plain malloc calls to function to make them easy to track.
|
2021-12-19 23:11:32 +01:00 |
|
Christoffer Lerno
|
4e559e886c
|
Add some simple string functions. And fix bug relating to typedefs.
|
2021-12-19 21:04:43 +01:00 |
|
Dmitry Atamanov
|
802398dd44
|
Show option like clang (#355)
|
2021-12-19 17:23:42 +01:00 |
|
Christoffer Lerno
|
7c76fd02c6
|
Fix test data
|
2021-12-19 16:33:07 +01:00 |
|