Commit Graph

4929 Commits

Author SHA1 Message Date
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
fa07e45eda Merge pull request #1249 from Yawning/feature/math-bits-improvements
core:math/bits: Improve add/sub/mul_u64
2021-10-28 00:19:57 +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
Yawning Angel
ee724f183a core:math/bits: Improve add/sub/mul_u64
* `add_u32`/`add_u64`/`add_uint` are now constant time
 * `sub_u32`/`sub_u64`/`sub_uint` are now constant time
 * `mul_u64` now uses `u128`
2021-10-27 12:37:35 +00:00
gingerBill
c4d2aae0ed Merge pull request #1245 from odin-lang/new-matrix-type
`matrix` type
2021-10-26 21:08:08 +01:00
gingerBill
c722665c32 Merge pull request #1230 from jockus/master
Convert all vendor:OpenGL functions taking GLboolean to bool
2021-10-26 21:04:20 +01:00
gingerBill
8868bcf57a Merge pull request #1234 from Skytrias/master
fix strip-semicolon using original file handle size
2021-10-26 21:04:02 +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
549a383cf0 Merge branch 'master' into new-matrix-type 2021-10-26 12:53:47 +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
bb334007cf Merge pull request #1240 from graphitemaster/vendor-enet
vendor ENet
2021-10-26 12:49:14 +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
de0fbb0445 Merge pull request #1243 from ProkopRandacek/patch-1
glfw.WindowShouldClose should return a bool
2021-10-25 19:41:58 +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
Dale Weiler
37d3a8a861 fixes for windows 2021-10-24 10:54:46 -04:00
gingerBill
7a29f6cff0 Merge branch 'master' into new-matrix-type 2021-10-24 12:36:34 +01:00
gingerBill
c9e6862332 Add id to thread.Thread 2021-10-24 12:30:25 +01:00
Prokop Randacek
b77e2f59ed The better option 2021-10-24 13:07:13 +02:00
Prokop Randáček
cac8582de1 WindowShouldClose should return a bool 2021-10-24 12:52:54 +02:00
gingerBill
b4df51e483 Merge branch 'master' into new-matrix-type 2021-10-23 19:24:47 +01:00