gingerBill
1f438d4e6c
Merge intrinsics.simd_sqrt with intrinsics.sqrt
2022-05-26 18:09:59 +01:00
gingerBill
421d45a7a7
Add intrinsics.fused_mul_add
2022-05-26 18:06:26 +01:00
gingerBill
20e7b5c88a
Support count_ones etc with #simd
2022-05-26 17:48:51 +01:00
gingerBill
7092273a8f
Rename simd_eq etc to simd_lanes_eq
2022-05-26 17:36:13 +01:00
gingerBill
d0e8a735ba
Add arithmetic operator support for simd vectors; Add intrinsics.simd_and_not
2022-05-26 17:09:46 +01:00
gingerBill
208226dba2
Improve #simd literal support
2022-05-26 14:55:10 +01:00
gingerBill
f308f37ba1
Remove need for simd.splat
2022-05-26 14:51:50 +01:00
gingerBill
c2610cb75e
Keep -vet happy
2022-05-26 13:56:35 +01:00
gingerBill
59e9df2609
simd.bit_not; simd.copysign
2022-05-26 13:49:27 +01:00
gingerBill
66b5a35ec3
Add simd_to_bits; correct fix typo causing issue with parapoly
2022-05-26 13:45:47 +01:00
gingerBill
f3f6c12a7c
Add simd_clamp
2022-05-26 11:58:55 +01:00
gingerBill
e331b0647e
Add simd_rotate_left simd_rotate_right`
2022-05-26 11:48:04 +01:00
gingerBill
35502816c7
Add simd_add_sat simd_sub_sat
2022-05-26 11:24:10 +01:00
gingerBill
7ec0236fbf
Add simd_reverse
2022-05-26 11:14:22 +01:00
gingerBill
0fd43c1a0b
Add simd.{sqrt, ceil, floor, trunc, nearest}
2022-05-26 11:02:02 +01:00
gingerBill
06337129d8
Remove intrinsics.odin.simd_vector in favour of #simd[N]T
2022-05-26 10:38:51 +01:00
gingerBill
b95ca80f85
Fix simd_shuffle
2022-05-26 00:39:34 +01:00
gingerBill
83d880a94a
Remove unneeded mask
2022-05-26 00:37:48 +01:00
gingerBill
cde6a2f7a5
Make simd_shuffle act closer to swizzle
2022-05-26 00:36:24 +01:00
gingerBill
c2f5cbdeb4
Allow integer vectors in select
2022-05-25 23:49:23 +01:00
gingerBill
8e57511ffa
Minor clean up
2022-05-25 23:42:25 +01:00
gingerBill
12d19d21c4
Document simd stuff in intrinsics.odin
2022-05-25 23:40:59 +01:00
gingerBill
7002c94a63
Add intrinsics.simd_select
2022-05-25 23:34:41 +01:00
gingerBill
57e69ea392
Add comments
2022-05-25 23:24:42 +01:00
gingerBill
09f936b04d
Correct casting between integer and boolean #simd
2022-05-25 23:24:32 +01:00
gingerBill
140c00aa0c
intrinsics.simd_shuffle
2022-05-25 23:01:33 +01:00
gingerBill
808ea30b48
Allow booleans for #simd
2022-05-25 22:16:44 +01:00
gingerBill
63d6c08d90
Add raw_simd_data
2022-05-25 22:09:38 +01:00
gingerBill
10e4de3c01
Add intrinsics.simd_reduce_*
2022-05-25 22:04:47 +01:00
gingerBill
8ac12886ed
Add core:simd
2022-05-25 21:30:10 +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
gingerBill
d8e77cd738
Add #optional_ok to dynlib.symbol_address
2022-05-25 11:53:32 +01:00
gingerBill
95d4ce4aa3
Fix lib_unix.odin
2022-05-25 11:46:26 +01:00
gingerBill
39393cca92
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-05-25 11:44:05 +01:00
gingerBill
acadbe050c
Make core:dynlib use the private interface convention of other packages
2022-05-25 11:43:56 +01:00
Jeroen van Rijn
233b32fd3e
Correct return value.
2022-05-25 00:47:29 +02:00
Jeroen van Rijn
3c5124ce68
Fix odin build examples\demo\ trailing slash handling.
2022-05-24 13:55:39 +02:00
Jeroen van Rijn
a8d78660ee
Merge pull request #1804 from wjlroe/consistent-os-get-env-across-unix
...
[os] Darwin,FreeBSD,OpenBSD: Rename os.getenv to os.get_env
2022-05-23 15:57:39 +02:00
Jeroen van Rijn
cc1df9591f
Merge pull request #1803 from cedric-h/master
...
Clear up Mismatched BE types error message
2022-05-23 15:48:24 +02:00
William Roe
54a326f046
[os] Darwin,FreeBSD,OpenBSD: Rename os.getenv to os.get_env
...
Make os.get_env consistent across Unixes
This matches the function name and API from env_windows.odin and os_linux.odin, which should be the same everywhere. Meaning:
* named get_env and not getenv
* return a string (empty if the environment variable is not found)
* accept a default value parameter for the allocator (defaulting to context.allocator)
* calls lookup_env which returns an extra found boolean value
This is so that you don't have to write platform/OS conditionals when getting environment variable values from the stdlib os.get_env/getenv function.
2022-05-23 13:48:55 +01:00