Christoffer Lerno
|
ea163636d3
|
Add defaults to compare_exchange, small fix in printf. Disallow obviously wrong code that returns the pointer to a variable on the stack.
|
2023-02-18 12:21:15 +01:00 |
|
Christoffer Lerno
|
baa2e474b5
|
Added $$atomic_store and $$atomic_load.
|
2023-02-17 13:22:12 +01:00 |
|
Christoffer Lerno
|
a0a5c940f1
|
Add --strip-unused.
|
2023-02-16 22:11:42 +01:00 |
|
Christoffer Lerno
|
0aa776d61b
|
Allow @export on modules, to implicitly @export all in the module section. Add expect on error comparisons, expecting them to be false by default. Support @extern on modules.
|
2023-02-16 13:05:09 +01:00 |
|
Christoffer Lerno
|
818396b6f3
|
Updated module visibility import visibility. Fixes to @local
|
2023-02-15 09:47:51 +01:00 |
|
Dmitry Atamanov
|
4519eebe4d
|
Added @likely, @unlikely and @expect macros. (#727)
|
2023-02-15 00:02:01 +01:00 |
|
Christoffer Lerno
|
adc424ba1d
|
Fixed missing check on &var.myFunction
|
2023-02-14 23:44:05 +01:00 |
|
Christoffer Lerno
|
b85d521dc1
|
Fixed missing check on &var.myFunction
|
2023-02-14 21:56:56 +01:00 |
|
Christoffer Lerno
|
df77b692d6
|
Support "typedef"
|
2023-02-14 16:49:27 +01:00 |
|
Christoffer Lerno
|
b7e19b75d0
|
Improve error reporting for define and function definition.
|
2023-02-14 15:49:36 +01:00 |
|
Christoffer Lerno
|
03cd56e46b
|
Add @local and fix visibility issues for generic methods.
|
2023-02-14 12:17:56 +01:00 |
|
Christoffer Lerno
|
8184fba34b
|
Delay type evaluation further. Current analysis shows that this code should be safe, but there may be some issues lurking.
|
2023-02-14 09:27:03 +01:00 |
|
Christoffer Lerno
|
3cfef690d3
|
Support (void)foo for any type.
|
2023-02-13 13:52:48 +01:00 |
|
Christoffer Lerno
|
5e457be605
|
Implement more @export / @private improvements. Make @private default… (#729)
|
2023-02-13 08:31:40 +01:00 |
|
Christoffer Lerno
|
3b49b87784
|
Fix for nolibc (eg wasm). Add multi global declarations. Simplicity wasm export / import. Prevent "extern" functions to have a function body.
|
2023-02-11 11:16:31 +01:00 |
|
Christoffer Lerno
|
1548cd06ef
|
Enable local multi-declarations. Fix of builtin argument checking. Migrate to @noinit.
|
2023-02-11 02:03:02 +01:00 |
|
Christoffer Lerno
|
ddd8be0f38
|
Fix global noinit. Add @noinit. With tests.
|
2023-02-11 00:10:02 +01:00 |
|
Christoffer Lerno
|
74d868d113
|
Fix of bug in !floatval codegen. Added float parsing.
|
2023-02-10 22:17:55 +01:00 |
|
Christoffer Lerno
|
b3f15a867c
|
Added "clear" to VarString
|
2023-02-10 08:40:08 +01:00 |
|
Christoffer Lerno
|
926dbfc535
|
Fix "int $f = 1;" and int $f;
|
2023-02-07 00:22:31 +01:00 |
|
Christoffer Lerno
|
cc189a8166
|
Support user defined attributes in generic modules. Fix bug with user defined attributes with parameters. Fix bug that would overwrite attributes when parsing user defined attributes.
|
2023-02-06 23:31:03 +01:00 |
|
Christoffer Lerno
|
6cef75b608
|
Removes win x86 target. Add win aarch64. Fixes to jump buffer sizes. Fix returning bool[2] in the SysV ABI. Array comparison now works. Prevent flexible array comparisons. Prevent zero size unions.
|
2023-02-06 18:09:31 +01:00 |
|
Christoffer Lerno
|
86e085e0c0
|
Move collection types. Improve linked list interface. Update map.destroy => map.free
|
2023-02-05 20:55:47 +01:00 |
|
Christoffer Lerno
|
4a102698b2
|
Add tests to math and add info in readme how to contribute.
|
2023-02-05 14:30:06 +01:00 |
|
Christoffer Lerno
|
0f7d21330a
|
Optimize optional return.
|
2023-02-04 19:48:42 +01:00 |
|
Christoffer Lerno
|
dce171670f
|
Use printn rather than println. Add string methods for copying.
|
2023-02-04 19:48:42 +01:00 |
|
Christoffer Lerno
|
6407eb47a4
|
Remove of @extname in stdlib.
|
2023-02-02 21:53:37 +01:00 |
|
Christoffer Lerno
|
6a3219ad43
|
Make thread allocator take the thread allocator by default for allocating initial memory. Add some int128 methods. Fix attribute parsing.
|
2023-02-01 14:06:14 +01:00 |
|
Christoffer Lerno
|
4ea81fe636
|
More riscv tests. Fix missing zero/signext attributes on calls. Fixes and simplification to riscv ABI.
|
2023-01-31 14:09:32 +01:00 |
|
Christoffer Lerno
|
0afd55425a
|
More ABI cleanup and fixes to RISC-V ABI + tests for riscv32.
|
2023-01-30 23:46:06 +01:00 |
|
Christoffer Lerno
|
539d733ceb
|
Remove LLVM 14 support. Simplify ABI lowering.
|
2023-01-30 12:39:04 +01:00 |
|
Christoffer Lerno
|
124a18a486
|
Fix bug with enum associated values.
|
2023-01-29 19:15:13 +01:00 |
|
Christoffer Lerno
|
5ea15eb708
|
Make Windows use wWinMain always. Support /SUBSYSTEM:WINDOWS
|
2023-01-29 01:32:35 +01:00 |
|
Christoffer Lerno
|
4ddb9d9fbc
|
Fix tests.
|
2023-01-28 03:52:07 +01:00 |
|
Christoffer Lerno
|
9a08c9d821
|
Fixes to wasm and function attributes.
|
2023-01-28 00:37:46 +01:00 |
|
Christoffer Lerno
|
6eb65d5b37
|
Add memory-env option.
|
2023-01-26 21:16:47 +01:00 |
|
Christoffer Lerno
|
b508a43f8f
|
Add lambdas.
|
2023-01-24 10:15:23 +01:00 |
|
Christoffer Lerno
|
c9e1e2d763
|
Replace $$shufflevector with $$swizzle and $$swizzle2. Add builtin swizzle accessors.
|
2023-01-22 01:12:55 +01:00 |
|
Christoffer Lerno
|
1ab304dc64
|
Fix of overalignment on deref.
|
2023-01-19 12:29:17 +01:00 |
|
Christoffer Lerno
|
dc16f65c8e
|
Change printfln to printfn. Make LLVM 15 tests default.
|
2023-01-11 18:00:08 +01:00 |
|
Christoffer Lerno
|
da65de2d01
|
Add compare_exchange. Rudimentary threads (subject to change)
|
2023-01-10 20:46:39 +01:00 |
|
Christoffer Lerno
|
c9e40cfa37
|
Cast cleanup, removing structural casts.
|
2023-01-09 00:08:29 +01:00 |
|
Christoffer Lerno
|
43dc2d650c
|
Use "String" consistently for "char[]" (#694)
Use "String" consistently for "char[]". Fix win32 return value.
|
2023-01-07 22:50:33 +01:00 |
|
Christoffer Lerno
|
f8a505754d
|
Added arcfour crypto.
|
2022-12-30 16:34:31 +01:00 |
|
Christoffer Lerno
|
bcbcc3100f
|
Fix of accidentally added typo.
|
2022-12-28 00:39:21 +01:00 |
|
Christoffer Lerno
|
f6e798c283
|
Friendlier int parsing and promotion.
|
2022-12-28 00:37:52 +01:00 |
|
Christoffer Lerno
|
f622b3bd4c
|
Cleanup of naming change to optional. Fix of builtin optional handling.
|
2022-12-27 23:55:23 +01:00 |
|
Christoffer Lerno
|
f46697bc54
|
Updated casts (#684)
Cast code rework. Remove llvm_set_bool and friends.
|
2022-12-27 14:16:47 +01:00 |
|
Christoffer Lerno
|
c339261d1e
|
Added vector dot functions. Comparison now yields bool vector. Cast between vector types.
|
2022-12-17 01:51:03 +01:00 |
|
Christoffer Lerno
|
8008fb2c18
|
Do not auto-deref subscripting.
|
2022-12-15 23:46:26 +01:00 |
|