gingerBill
1c1f5e2231
Complete SSE2
2022-05-27 22:56:11 +01:00
gingerBill
20c5033b38
Add pack and unpack
2022-05-27 17:07:48 +01:00
gingerBill
20fe6d102a
Add load and stores and sets
2022-05-27 16:58:35 +01:00
gingerBill
4e30a64d9f
Add more sse2 intrinsics
2022-05-27 16:49:52 +01:00
gingerBill
c48ef7d70b
Add shifts
2022-05-27 16:39:54 +01:00
gingerBill
e079a7009d
Begin work on sse2.odin
2022-05-27 16:09:31 +01:00
gingerBill
f383bf3136
Add _mm_stream_ps
2022-05-27 14:59:09 +01:00
gingerBill
609ddf28b7
Add intrinsics nontemporal_store and nontemporal_load
2022-05-27 14:56:36 +01:00
gingerBill
2185dada56
Change package name
2022-05-27 14:26:02 +01:00
gingerBill
0b08080119
Add core:simd/x86 SSE
...
Proof of Concept to show intrinsics specific to a certain target platform
2022-05-27 14:23:31 +01:00
gingerBill
952f294bce
Add loads of aliases of vector types
2022-05-27 12:20:48 +01:00
gingerBill
1ff8b97dae
Add prefix of lanes_
2022-05-26 20:44:37 +01:00
gingerBill
70451f9335
Support reverse_bits for #simd
2022-05-26 20:40:48 +01:00
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
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
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
jason
10deb2e88b
fix mmap call in virtual_linux.odin
2022-05-25 21:51:36 -04: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
140c00aa0c
intrinsics.simd_shuffle
2022-05-25 23:01:33 +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
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
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
gingerBill
3ec70c5517
Merge functionality of #maybe with the standard 'union' functionality
2022-05-23 12:04:19 +01:00
gingerBill
8c1499dbc2
Make raw_data return [^]T types
2022-05-23 11:48:05 +01:00
gingerBill
7d2eedee73
Unify raw_data in core:mem with core:runtime
2022-05-23 11:47:12 +01:00
Cedric Hutchings
f25a3f2a7d
Add enums for getting Scancodes from WM_KEYDOWN
...
https://docs.microsoft.com/en-us/windows/win32/inputdev/about-keyboard-input
2022-05-22 15:34:49 -04:00
gingerBill
5609221831
Merge pull request #1792 from jasonKercher/os2_linux
...
Os2 linux
2022-05-22 17:18:28 +01:00
gingerBill
577fa2d29b
Update time procedures for js targets
2022-05-21 16:35:06 +01:00
gingerBill
10f1d8c604
Fix typo
2022-05-21 13:38:38 +01:00