gingerBill
ae25eaf10c
Correct foreign import library usage
2021-11-04 17:25:37 +00:00
gingerBill
adcfca966e
Use Rtl*Memory procedures with -no-crt on Windows
2021-11-04 17:24:28 +00:00
gingerBill
d8e34bd9b7
Add core:math/linalg/hlsl
2021-11-04 17:08:59 +00:00
gingerBill
68046d0c08
Allow casting between matrix types of different element types
2021-11-04 16:50:59 +00:00
gingerBill
bc2bf1caeb
Add #load_hash(<filepath>, <string-hash-kind>)
2021-11-04 16:29:41 +00:00
gingerBill
d551144841
Add inverse for dmatN types
2021-11-04 16:09:19 +00:00
gingerBill
84540d7aa2
Add smoothstep
2021-11-04 15:57:27 +00:00
gingerBill
57eedfc4f4
Fix lb_emit_array_epi for matrix types
2021-11-04 15:01:31 +00:00
gingerBill
2718ade2bc
Add core:math/linalg/glsl to all_main.odin
2021-11-04 14:56:16 +00:00
gingerBill
95f36d4fa5
Minor reorganization
2021-11-04 14:54:55 +00:00
gingerBill
3accf4048e
Add f64 variants of all types and procedures
2021-11-04 14:52:03 +00:00
gingerBill
eb05879148
Add more comments
2021-11-04 14:25:34 +00:00
gingerBill
a882118c56
Add comments
2021-11-04 14:20:47 +00:00
gingerBill
57d15ac6e7
Remove unneeded suffixes
2021-11-04 14:11:34 +00:00
gingerBill
e3cfdf6982
Remove build tag
2021-11-04 14:11:04 +00:00
gingerBill
017fe10762
core:math/linalg/glsl - GLSL-like mathematics types and operations
2021-11-04 14:09:12 +00:00
gingerBill
7bb7a741c6
Make math procedure contextless; Add asinh, acosh, atanh
2021-11-04 14:07:05 +00:00
gingerBill
14351c5bf2
Simplify logic for procs.odin
2021-11-04 13:56:38 +00:00
gingerBill
7ef3c87dbb
Change RUNTIME_LINKAGE requirements
2021-11-04 13:52:53 +00:00
gingerBill
b2a2aa15c2
Add ODIN_BUILD_MODE
2021-11-04 12:49:39 +00:00
gingerBill
1ec2f8d537
Merge branch 'master' of https://github.com/odin-lang/Odin
2021-11-04 12:40:55 +00:00
gingerBill
6ded538546
@(linkage=<string>) for procedures and variables; @(require) for procedures; package runtime linkage improvements; Subsequence improvements to lb_run_remove_unused_function_pass
2021-11-04 12:40:50 +00:00
gingerBill
3fa7dabaa8
Correctly support -default-to-nil-allocator for all platforms
2021-11-04 11:03:21 +00:00
gingerBill
1980f32bd6
Correct demo.odin
2021-11-04 00:50:48 +00:00
gingerBill
9ab71ca0da
Add ODIN_NO_CRT global constant
2021-11-04 00:50:28 +00:00
gingerBill
3d06dddb72
Allow casting from floats to quaternions
2021-11-03 12:45:19 +00:00
gingerBill
9896205a06
Make runtime builtin matrix procedures contextless
2021-11-03 12:44:34 +00:00
gingerBill
8a626ef564
Minor comments about matrix printing
2021-11-03 11:34:47 +00:00
gingerBill
8429943569
Represent matrices in fmt as expected
2021-11-03 11:27:21 +00:00
gingerBill
edd12d505d
Correct fmt for matrices
2021-11-03 11:20:04 +00:00
gingerBill
69f978f22b
Correct lb_emit_matrix_flatten
2021-11-03 11:07:35 +00:00
gingerBill
229c98309e
Correct assertion usage
2021-11-03 11:02:47 +00:00
gingerBill
c20230509f
Correct index to offset calculation for matrix compound literals
2021-11-02 23:56:19 +00:00
gingerBill
f03e0bee73
Merge branch 'master' of https://github.com/odin-lang/Odin
2021-11-02 12:54:29 +00:00
gingerBill
c5cd97dd89
Improve wasm-import semantics to allow procedures from different import paths
2021-11-02 12:54:23 +00:00
gingerBill
a4b68b93f2
Modify ABI for the wasm32
2021-11-01 23:18:39 +00:00
gingerBill
e2e9b5d3b0
Remove comments
2021-11-01 23:04:00 +00:00
gingerBill
b01e0fbbc2
Correct typo in soa data type debug information generation
2021-11-01 23:00:42 +00:00
gingerBill
9a5ddc5218
Merge branch 'master' of https://github.com/odin-lang/Odin
2021-11-01 16:39:07 +00:00
gingerBill
0b4cbcf409
Correct debug info for matrix type
2021-11-01 16:39:02 +00:00
gingerBill
141299eb02
Change the behaviour change is for when a bit_set of range/enum and the underlying type has been specified
...
* If the lower bound is greater than zero, it will become zero (thus removing the compatification)
* If the lower bound is negative, it is an error
This means that an integer value N, maps directly to the N-th bit.
Example
```
foo :: enum u8 {
a = 2,
b = 3,
c = 4,
}
set0: bit_set[foo]
set0 += {.a, .b}
// internally set0 == 1<<(2-2) | 1<<(3-2)
set1: bit_set[foo; u32]
set1 += {.a, .b}
// internally set1 == 1<<(2-0) | 1<<(3-0)
```
2021-10-31 19:39:01 +00:00
gingerBill
5f51337a01
Add procs for wasm32
2021-10-31 19:00:01 +00:00
gingerBill
fca7142a3c
Correct _start export for wasm* targets
2021-10-31 16:31:20 +00:00
gingerBill
bfa33bf5d3
Disable wasm64
2021-10-31 15:48:56 +00:00
gingerBill
235dae552a
Ignore -use-separate-modules when targeting wasm32/wasm64
2021-10-31 15:35:09 +00:00
gingerBill
a36c1ad406
Add default_allocators_wasi.odin
2021-10-31 15:28:51 +00:00
gingerBill
32506a34ff
Separate out the ABI for wasm32 from 386
2021-10-31 15:23:39 +00:00
gingerBill
3224d04df8
Stub out os.open for wasi
2021-10-31 15:22:54 +00:00
gingerBill
c13c30b466
Update wasi to use string and slice types
2021-10-31 15:21:39 +00:00
gingerBill
0c1675c8b0
Correct string usage
2021-10-31 15:01:13 +00:00
gingerBill
22982586f1
Add basic support for wasi in package os
2021-10-31 13:45:00 +00:00
gingerBill
0d2c8dfeec
Separate os-specific things to separate file
2021-10-31 13:44:21 +00:00
gingerBill
305e965bcb
Add os_specific_wasi.odin
2021-10-31 13:08:19 +00:00
gingerBill
906c7ef0fc
Correct wasi linking
2021-10-31 13:04:28 +00:00
gingerBill
2a5b8f53fe
Add memmove and memset support for wasm
2021-10-31 12:47:50 +00:00
gingerBill
c6e08b059b
Move sys/wasi to sys/wasm/wasi
2021-10-31 12:30:10 +00:00
gingerBill
9a5216921c
Add wasi_wasm32
2021-10-31 01:08:17 +00:00
gingerBill
8a2078aa90
Add core:sys/wasi
2021-10-31 01:06:27 +00:00
gingerBill
841a96691b
Attempt to get wasm64 compiling with the correct features enabled
2021-10-31 00:37:37 +01:00
gingerBill
8ef6f9dd7b
Compile wasm64; Add lb_run_remove_unused_function_pass
2021-10-31 00:11:38 +01:00
gingerBill
5bc8a491a7
Begin work on supporting wasm64; Correct wasm32 compilation behaviour
2021-10-30 23:24:34 +01:00
gingerBill
87952fdb8e
big.Rat (Experimental)
2021-10-29 12:40:54 +01:00
gingerBill
c474e137ac
Merge branch 'master' of https://github.com/odin-lang/Odin
2021-10-29 00:13:28 +01:00
gingerBill
7b8b2f042c
Add debug type information for matrix
2021-10-29 00:13:22 +01:00
gingerBill
ef29ffeb21
Correct llvm_vector_shuffle_reduction
2021-10-28 15:09:20 +01:00
gingerBill
3794d2417d
Write a log(n) fallback for llvm_vector_reduce_add
...
This may be what LLVM does at any rate
2021-10-28 15:01:13 +01:00
gingerBill
70793236ab
Support llvm_vector_reduce_add if the LLVM intrinsic is not supported
2021-10-28 00:57:10 +01:00
gingerBill
0a1ef1e59d
Improve comment
2021-10-28 00:50:03 +01:00
gingerBill
44a43eae10
Merge branch 'master' of https://github.com/odin-lang/Odin
2021-10-28 00:49:14 +01:00
gingerBill
5b7f273165
Add matrix_type to demo.odin
2021-10-28 00:49:09 +01:00
gingerBill
90d587df13
Support matrix type in core:odin
2021-10-27 23:49:37 +01:00
gingerBill
793a6479ef
Fix typo
2021-10-27 23:37:04 +01:00
gingerBill
47bef7a557
Update doc-format
2021-10-27 23:34:56 +01:00
gingerBill
208ba2c116
Comment clean up
2021-10-27 23:30:12 +01:00
gingerBill
42a8ac7096
Add support for matrix type in core:odin/doc-format
2021-10-27 23:26:39 +01:00
gingerBill
ccab715bbc
Add support for matrix type in doc format
2021-10-27 23:26:17 +01:00
gingerBill
9e754cb0f1
Add slice.swap_between
2021-10-26 20:22:39 +01:00
gingerBill
802df73183
Remove unneeded call
2021-10-26 14:47:59 +01:00
gingerBill
9331ebebcc
Add #no_bounds_check to sorting procedures
2021-10-26 14:24:21 +01:00
gingerBill
c64674c39e
Remove unnecessary asserts
2021-10-26 13:38:48 +01:00
gingerBill
ce8ddd0c3f
Add vendor:ENet to all_vendor.odin
2021-10-26 12:50:48 +01:00
gingerBill
98490454b6
Remove unneeded semicolons
2021-10-26 12:50:34 +01:00
gingerBill
9522c42460
Change use of LLVMSizeOf to lb_sizeof
2021-10-26 12:17:39 +01:00
gingerBill
d165de0d4d
Move thread initialization variables in thread_unix.odin
2021-10-26 11:46:31 +01:00
gingerBill
5fb70c4c94
Merge branch 'master' of https://github.com/odin-lang/Odin
2021-10-26 11:44:32 +01:00
gingerBill
72cc92dc5c
Add llvm_get_inline_asm for future compatibility
2021-10-26 11:44:25 +01:00
gingerBill
12ebd422c6
Fix typos
2021-10-25 19:04:08 +01:00
gingerBill
7d715fe113
Add ODIN_LLVM_MINIMUM_VERSION_12
2021-10-25 16:05:22 +01:00
gingerBill
7ac156755b
Reorder code
2021-10-25 15:36:00 +01:00
gingerBill
973ca6824c
Rename hermitian_adjoint
2021-10-25 15:35:06 +01:00
gingerBill
9c7956be9e
Minor changes to where conditions
2021-10-25 15:16:34 +01:00
gingerBill
4475454632
Improve core_builtin_matrix.odin
2021-10-25 14:59:43 +01:00
gingerBill
f15825d2c6
Fix typo
2021-10-25 13:32:53 +01:00
gingerBill
a440d8d812
Improve use of vector muladd operations
2021-10-25 13:10:56 +01:00
gingerBill
aaaddd03a6
Improve internal procedures
2021-10-25 01:28:06 +01:00
gingerBill
d62c701a43
Improve matrix code generation for all supported platforms
...
Through assembly optimization
2021-10-25 01:03:16 +01:00
gingerBill
79ad6f4564
Remove assert
2021-10-25 01:02:38 +01:00
gingerBill
c60c7a7621
Add comments to Type_Info_Matrix
2021-10-25 00:47:12 +01:00
gingerBill
306bdf8869
Update alignment rules for matrix types as a compromise to keep zero padding
2021-10-25 00:46:50 +01:00
gingerBill
7a29f6cff0
Merge branch 'master' into new-matrix-type
2021-10-24 12:36:34 +01:00