Christoffer Lerno
|
1ab304dc64
|
Fix of overalignment on deref.
|
2023-01-19 12:29:17 +01:00 |
|
Christoffer Lerno
|
e284d49dd9
|
Initial add of tilde backend.
|
2023-01-19 00:08:31 +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
|
e8a8ac8bc1
|
Fix bit or / xor / and on bool vectors.
|
2022-12-20 03:24:24 +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
|
b5afa98507
|
Updated vector comparison behaviour and semantics.
|
2022-12-14 23:02:01 +01:00 |
|
Christoffer Lerno
|
a9ed514fe5
|
Fix bug in defer from macros. Ensure debug location on panic functions. Add getcwd.
|
2022-12-13 07:50:41 +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
|
0ae586585a
|
Fix .values .names .elements on "fault" types. Version bump.
|
2022-11-25 11:11:27 +01:00 |
|
Christoffer Lerno
|
da1a45f718
|
Remove iptrdiff and uptrdiff. Bump version to 0.3.100
|
2022-11-17 23:44:54 +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 |
|
Dmitry Atamanov
|
d9e81c6035
|
Fix vector slices assignment
|
2022-10-30 19:54:14 +01:00 |
|
Christoffer Lerno
|
ede224662c
|
Fix of broken bitstruct init #641. Version bump.
|
2022-10-21 11:45:34 +02:00 |
|
Christoffer Lerno
|
f86ef8a743
|
Remove tscoped. Replace str_index_of with "starts_with". Updated copy_zstring/copy. Fixed utf conversion functions. Initial work on "Path". Lexer fix on \\. ABI fix using distinct types. (bool)"" now works correctly. Bug in $if with switches/loops as the first statement fixed. Version bump.
|
2022-10-20 10:55:14 +02:00 |
|
Christoffer Lerno
|
0adb15139f
|
Fix bug in implicit fmul.
|
2022-10-18 14:02:20 +02:00 |
|
Christoffer Lerno
|
76ee384a4c
|
Fix of ternary / elvis where legs are bool or optional.
|
2022-10-18 14:02:20 +02: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
|
160659c4e3
|
Optimize sret / byval. Fixes to types and failables.
|
2022-10-15 02:45:19 +02:00 |
|
Christoffer Lerno
|
feba7b8ed2
|
Rename muladd and fmuladd and insert it at codegen.
|
2022-10-10 11:14:57 +02:00 |
|
Christoffer Lerno
|
407ed5a63d
|
Fix vector init and float promotion. Fix of 1.0f.
|
2022-10-08 14:30:17 +02:00 |
|
Christoffer Lerno
|
bb20a38cdb
|
Updated membersof. "Type.kind" renamed "Type.kindof"
|
2022-10-07 14:41:10 +02:00 |
|
Christoffer Lerno
|
db06f99445
|
"[]=" now works as overload. Improved eval resolution. Added $$FUNCPTR
|
2022-10-05 22:58:28 +02:00 |
|
Christoffer Lerno
|
e1b5b0b60c
|
Implement static finalize / initialize. Version bump.
|
2022-09-28 17:18:20 +02:00 |
|
Christoffer Lerno
|
58647043f4
|
Fix bug with $$clz, version update.
|
2022-09-26 11:48:12 +02:00 |
|
Christoffer Lerno
|
a4d4c27ca6
|
General reorganization, set any empty expression statement to nop. Version bump.
|
2022-09-24 21:22:29 +02:00 |
|
Christoffer Lerno
|
81bea9bad6
|
Updated untyped lists.
|
2022-09-24 14:35:58 +02:00 |
|
Christoffer Lerno
|
ad18d9ba48
|
Add .hash to integer types. Fixup of make and tmake. Updated map.c3 to become a working example. Fix bug in subarray -> pointer conversion. Search extension methods in std::core. Fix slice <-> slice copy.
|
2022-09-21 17:26:36 +02:00 |
|
Christoffer Lerno
|
4d5821408d
|
Add @castable and @convertible builtin macros, removes the need $castable and $convertible
|
2022-09-20 22:18:00 +02:00 |
|
Christoffer Lerno
|
be5c82cfa6
|
Add "$checks". Fix where $y++ could appear inside a runtime scope.
|
2022-09-20 18:32:36 +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
|
6220bda4a3
|
Use @operator([]), @operator(&[]) and @operator([]=) instead of names.
|
2022-09-17 23:33:27 +02:00 |
|
Christoffer Lerno
|
81a2474f75
|
Add methods to basic types. Remove "intvec" and "floatvec" overloads. Update bits and math to use the new functionality. Introduces [<*>] and [<>] types. Bump version to 0.3.47
|
2022-09-17 22:00:28 +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
|
c8166f6fdb
|
Adding $$reverse. Bump to 0.3.45
|
2022-09-16 14:53:17 +02:00 |
|
Christoffer Lerno
|
4d27150952
|
Adding $$shufflevector. Bump to 0.3.44
|
2022-09-16 13:39:03 +02:00 |
|
Christoffer Lerno
|
ba9b203c52
|
Cleanup.
|
2022-09-15 09:50:46 +02:00 |
|
Dmitry Atamanov
|
7a797d0f28
|
foreach(_r) for vectors
|
2022-09-15 00:16:29 +02:00 |
|
Christoffer Lerno
|
fa89ea7b79
|
Add checks on enum conversion in safe mode. Bump to 0.3.38.
|
2022-09-09 17:18:27 +02:00 |
|
Christoffer Lerno
|
a0a2e27127
|
$vasplat() implemented. $vacount removed (). Improved dynscope implementation. Version bump to 0.3.37.
|
2022-09-09 12:19:47 +02:00 |
|
Christoffer Lerno
|
58f8e00376
|
Incorrectly disallowed "inner" on enum. Bump to 0.3.36
|
2022-09-09 10:59:00 +02:00 |
|
Christoffer Lerno
|
1a9a71f4c4
|
Inline asm first checkin.
|
2022-09-05 13:29:03 +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
|
5d15ec23bb
|
Rename $$fabs to $$abs
|
2022-08-29 12:51:02 +02:00 |
|
Christoffer Lerno
|
54d6b1a4ec
|
Fix $$min/$$max for vector.
|
2022-08-29 10:23:16 +02:00 |
|
Christoffer Lerno
|
e82a7e7918
|
Allow $$max and $$min to also work on ints.
|
2022-08-28 19:14:26 +02:00 |
|
Christoffer Lerno
|
4a296032ab
|
Add fshl fshr + new optimizer.
|
2022-08-28 16:22:10 +02:00 |
|
Christoffer Lerno
|
6b1370ba76
|
Support varargs for macros. Bugfix member access. Support macro varargs.
|
2022-08-27 02:25:08 +02:00 |
|