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
|
c26655a05a
|
Remove usize/isize completely.
|
2023-02-16 00:48:37 +01:00 |
|
Christoffer Lerno
|
818396b6f3
|
Updated module visibility import visibility. Fixes to @local
|
2023-02-15 09:47:51 +01:00 |
|
Christoffer Lerno
|
03cd56e46b
|
Add @local and fix visibility issues for generic methods.
|
2023-02-14 12:17:56 +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
|
ddd8be0f38
|
Fix global noinit. Add @noinit. With tests.
|
2023-02-11 00:10:02 +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
|
dce171670f
|
Use printn rather than println. Add string methods for copying.
|
2023-02-04 19:48:42 +01:00 |
|
Christoffer Lerno
|
6b928c7a3d
|
Add saturated math and expect macros.
|
2023-02-03 00:25:29 +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
|
9a08c9d821
|
Fixes to wasm and function attributes.
|
2023-01-28 00:37:46 +01:00 |
|
Christoffer Lerno
|
a95710c93f
|
Add no-entry to project/command line. Add "link-args" to project. Add @wasm and @extern attributes. Added $$wasm_memory_size and $$wasm_memory_grow builtins.
|
2023-01-26 12:02:09 +01:00 |
|
Christoffer Lerno
|
b508a43f8f
|
Add lambdas.
|
2023-01-24 10:15:23 +01:00 |
|
Christoffer Lerno
|
e284d49dd9
|
Initial add of tilde backend.
|
2023-01-19 00:08:31 +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 |
|
Dmitry Atamanov
|
8390655d79
|
Fixes $$get_rounding_mode() for LLVM > 15.
|
2023-01-05 12:56:18 +01:00 |
|
Christoffer Lerno
|
aa33536ab1
|
Remove test global when not in testing mode.
|
2022-12-29 20:40:23 +01:00 |
|
Christoffer Lerno
|
ef7365224f
|
Added $include.
|
2022-12-29 16:12:03 +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 |
|
Dmitry Atamanov
|
8b0d409695
|
Add inlined memcpy and memset builtins and macros. (#668)
|
2022-12-12 11:45:01 +01:00 |
|
Christoffer Lerno
|
50d2a04c48
|
Default to threads = cpus(). Correct multithreaded benchmark with threads.
|
2022-12-11 23:35:02 +01:00 |
|
Christoffer Lerno
|
1864c69f31
|
Fixes to inc/dec vector element. Improvements to unit tests. Updated task threading. Single threaded by default due to poor LLVM perf.
|
2022-12-10 04:24:56 +01:00 |
|
Christoffer Lerno
|
de4bfe470e
|
Attempt supporting setjmp on MSVC
|
2022-12-07 22:16:09 +01:00 |
|
Christoffer Lerno
|
eaaa5362a5
|
Output messages at compile time.
|
2022-12-07 18:48:55 +01:00 |
|
Dmitry Atamanov
|
5ff726d8d1
|
Added $$get_rounding_mode and $$set_rounding_mode builtins. (#655)
|
2022-11-14 13:07:32 +01:00 |
|
Christoffer Lerno
|
49eacb8824
|
More support for test. Panic function update.
|
2022-11-14 11:48:12 +01:00 |
|
Christoffer Lerno
|
73619817ba
|
Update panic function and early work on tests. Optimize ABI lowering.
|
2022-11-03 19:38:34 +01:00 |
|
Christoffer Lerno
|
b1ed066e55
|
Fix coerce store / load to properly rely on alloc size like Clang does it. Version bump.
|
2022-10-15 22:12:52 +02:00 |
|
Christoffer Lerno
|
feba7b8ed2
|
Rename muladd and fmuladd and insert it at codegen.
|
2022-10-10 11:14:57 +02:00 |
|
Dmitry Atamanov
|
3624c2a72c
|
Added $$muladd built-in.
|
2022-10-10 11:14:57 +02:00 |
|
Dmitry Atamanov
|
7fa129932d
|
Added $$memmove built-in.
|
2022-10-08 21:41:11 +02:00 |
|
Christoffer Lerno
|
c5b9b6c761
|
Single module compilation.
|
2022-09-30 13:56:08 +02:00 |
|
Christoffer Lerno
|
5029dc703e
|
Updated error message.
|
2022-09-30 08:44:28 +02:00 |
|
Christoffer Lerno
|
e1b5b0b60c
|
Implement static finalize / initialize. Version bump.
|
2022-09-28 17:18:20 +02:00 |
|
Christoffer Lerno
|
81bea9bad6
|
Updated untyped lists.
|
2022-09-24 14:35:58 +02:00 |
|
Christoffer Lerno
|
4fa4b2a631
|
Refactored builtins. Added reduce operations and powi. Version bump.
|
2022-09-19 14:58:48 +02:00 |
|
Christoffer Lerno
|
9b14340a57
|
Added prefetch builtin.
|
2022-09-18 23:27:42 +02:00 |
|
Christoffer Lerno
|
a66c0942f8
|
Adding saturated builtins. Remove LLVM 12 support. Remove old llvm optimizer use.
|
2022-09-17 12:03:08 +02:00 |
|
Christoffer Lerno
|
4fbdb79b65
|
Add some fixes to asm + test case.
|
2022-09-05 22:19:45 +02:00 |
|
Dmitry Atamanov
|
7a07b8ff13
|
Add new built-ins (#551)
* Added new built-ins: $$copysign, $$exp2, $$floor, $$llrint, $$llround, $$lrint, $$lround, $$nearbyint, $$rint, $$round, $$roundeven
* Disable $$llrint, $$llround, $$lrint and $$lround
|
2022-08-30 09:50:28 +02:00 |
|
Dmitry Atamanov
|
bbc3792e7c
|
Sort some things alphabetically
|
2022-08-29 15:17:41 +02:00 |
|
Dmitry Atamanov
|
5d15ec23bb
|
Rename $$fabs to $$abs
|
2022-08-29 12:51:02 +02:00 |
|
Christoffer Lerno
|
73fd9371eb
|
Exclude LLVM 12 from new optimizer.
|
2022-08-28 16:51:33 +02:00 |
|
Christoffer Lerno
|
4a296032ab
|
Add fshl fshr + new optimizer.
|
2022-08-28 16:22:10 +02:00 |
|
Dmitry Atamanov
|
e33c81f85b
|
Increase verbosity of asm output
|
2022-08-27 18:34:55 +02:00 |
|