Commit Graph

3141 Commits

Author SHA1 Message Date
gingerBill
808ea30b48 Allow booleans for #simd 2022-05-25 22:16:44 +01:00
gingerBill
10e4de3c01 Add intrinsics.simd_reduce_* 2022-05-25 22:04:47 +01:00
gingerBill
63cc8a80a0 Correct parapoly for #simd 2022-05-25 21:29:45 +01:00
gingerBill
1549d01bf7 Restrict swizzle to a power of two for #simd 2022-05-25 21:17:21 +01:00
gingerBill
b168bf9460 Rename simd_insert to simd_replace 2022-05-25 21:00:00 +01:00
gingerBill
0203bb657e Allow for non-constant simd vector compound types 2022-05-25 20:39:22 +01:00
gingerBill
53f0c6ef1a Add ranges for simd compounds literals 2022-05-25 20:31:31 +01:00
gingerBill
4c4480104d Add simd_extract and simd_insert 2022-05-25 20:27:14 +01:00
gingerBill
5c72974167 Simplify transmute for #simd 2022-05-25 19:04:25 +01:00
gingerBill
f21e9ee712 Allow basic casting of simd vectors 2022-05-25 18:59:47 +01:00
gingerBill
81dd727f75 Implement backend for simd intrinsics 2022-05-25 18:49:17 +01:00
gingerBill
3b54015e80 Mock out simd intrinsics 2022-05-25 17:54:05 +01:00
gingerBill
b032d5af87 Make #simd an opaque type 2022-05-25 17:26:18 +01:00
Jeroen van Rijn
3c5124ce68 Fix odin build examples\demo\ trailing slash handling. 2022-05-24 13:55:39 +02:00
Cedric Hutchings
3d9d85121d Clear up Mismatched BE types error message 2022-05-23 08:14:05 -04:00
gingerBill
a31d23a32a Merge pull request #1802 from odin-lang/remove-maybe-tag
Merge functionality of `#maybe` with the standard 'union' functionality
2022-05-23 12:35:06 +01:00
gingerBill
084f431aa5 Correct check_transmute operand logic 2022-05-23 12:19:33 +01:00
gingerBill
3ec70c5517 Merge functionality of #maybe with the standard 'union' functionality 2022-05-23 12:04:19 +01:00
gingerBill
d9f293b281 Add better error message for trying to dereference a multi-pointer 2022-05-23 11:50:05 +01:00
gingerBill
eba35a8f7d Allow multi pointers in intrinsics 2022-05-23 11:46:44 +01:00
gingerBill
438713af20 Allow transmute on constant expressions 2022-05-23 11:33:52 +01:00
gingerBill
184d1c57b1 Change atomic.wait32 and atomic.notify selection 2022-05-21 13:37:00 +01:00
gingerBill
dfbe68bcfe Begin to add support for experimental wasm64 2022-05-21 13:30:43 +01:00
gingerBill
da54d0ec8c Fix typo 2022-05-21 13:18:11 +01:00
gingerBill
b57edb89eb Unify abi for wasm32 and the future wasm64 2022-05-21 13:18:04 +01:00
gingerBill
e43eccbb91 Merge branch 'master' of https://github.com/odin-lang/Odin 2022-05-21 13:02:03 +01:00
gingerBill
e48f41165c Begin work on Atomics for wasm32 (wait and notify intrinsics) 2022-05-21 12:58:48 +01:00
gingerBill
9eb4cbcbd2 Improve ABI design for wasm32 targets 2022-05-21 12:32:50 +01:00
Cedric Hutchings
5c647e2f61 Fix typo. 2022-05-21 01:50:59 -04:00
gingerBill
542e45de26 Increase minimum macOS version to 10.12.0 2022-05-18 12:30:26 +01:00
Tobias Mollstam
846930a07f emit optnone and noinline for all procs when opt set to minimal 2022-05-18 07:07:20 +02:00
gingerBill
23cb96de02 Commit import _ changes 2022-05-15 16:37:05 +01:00
gingerBill
5bc866e420 Allow for import _ "foo" to allow for @(init) procedures; Remove using import code 2022-05-14 14:44:24 +01:00
gingerBill
b4df272eb5 Improve -vet shadowing to allow x := x if cond else y etc 2022-05-11 12:15:37 +01:00
gingerBill
dca2fbccff Improve ternary if type inference 2022-05-11 12:15:10 +01:00
gingerBill
53c70da0b8 Correct foreign import prefix behaviour for wasm 2022-05-06 11:16:24 +01:00
gingerBill
5931e2383b Remove unneeded #if defined 2022-05-04 16:58:40 +01:00
gingerBill
e4743b15b1 Add @(priority_index=<int>) for foreign import 2022-05-04 16:40:12 +01:00
gingerBill
9f95d6fa65 Minor move around for path sets 2022-05-04 16:17:24 +01:00
gingerBill
982a1aebb3 Remove stray line 2022-05-04 16:14:42 +01:00
gingerBill
cec049b7d3 Make the link order of foreign imports deterministic 2022-05-04 16:04:26 +01:00
Jeroen van Rijn
dc323cfa1d Small fix to deprecation warning. 2022-05-04 13:29:52 +02:00
Jeroen van Rijn
d9b0c05acf Typo. 2022-05-03 13:47:13 +02:00
Jeroen van Rijn
47f637d23b Add deprecation warnings for -opt and flag=value insted of flag:value. 2022-05-03 13:37:07 +02:00
Jeroen van Rijn
59f55a2119 Make big_int_from_string return an error if not an integer. 2022-05-03 13:15:49 +02:00
Jeroen van Rijn
8bac82320f Fix -opt: parsing. 2022-05-03 11:44:55 +02:00
gingerBill
8023c8abc7 Fix @(disable=...) 2022-05-02 14:10:02 +01:00
gingerBill
18ad6c33ef Implement syscall for arm32 2022-05-01 23:32:31 +01:00
gingerBill
0e27b27b81 Fix building issues with arm32 2022-05-01 23:28:32 +01:00
gingerBill
10a311092b Add basic arm32 ABI support (linux_arm32) 2022-05-01 23:15:06 +01:00