Commit Graph

6315 Commits

Author SHA1 Message Date
gingerBill
63a59210b0 Merge pull request #6711 from krnowak/krnowak/generic-procs
Be more thorough in detecting generic procedure types
2026-05-21 12:21:30 +01:00
kalsprite
98d6e0c26a ARM chunking logic, improved docs 2026-05-20 17:55:29 -07:00
kalsprite
ae4b94fbd0 fix overloaded call 2026-05-20 16:57:05 -07:00
Krzesimir Nowak
b924da10a0 Be more thorough in detecting generic procedure types 2026-05-20 22:11:25 +02:00
gingerBill
a91725f305 Add simd.interleave + simd.deinterleave 2026-05-19 21:32:09 +01:00
gingerBill
c66de5ee3c Improve vector to integer transmute LLVM IR 2026-05-19 18:32:05 +01:00
gingerBill
f231ef0596 Support simd.byte_swap 2026-05-19 15:44:31 +01:00
gingerBill
a3240373ac Allow simd.(reduce_any|reduce_all) to work with #simd integers 2026-05-19 15:33:45 +01:00
gingerBill
2094cd4768 Add suggestion for ternary if with simd 2026-05-19 15:27:34 +01:00
gingerBill
cfef365c9f Add another suggestion of #simd shifting 2026-05-19 14:53:50 +01:00
gingerBill
046771c94a Merge branch 'master' of https://github.com/odin-lang/Odin 2026-05-19 14:52:56 +01:00
gingerBill
0a87628a76 Add suggestion when trying to use << and >> with #simd 2026-05-19 14:52:46 +01:00
gingerBill
f370632888 Add suggestion when trying to index a #simd array 2026-05-19 14:47:06 +01:00
gingerBill
c19540dda4 Merge pull request #6696 from Spooky309/no-thread-local
Honour -no-thread-local for variables declared at procedure scope
2026-05-18 16:28:39 +01:00
gingerBill
9501894e80 Merge pull request #6701 from Creativty/fix_poly_proc_nil
Fix nil typing when procedure call argument
2026-05-18 15:00:18 +01:00
Abderrahim Indjaren
d02c5e1a21 add: check duplicates in type switches 2026-05-18 03:15:55 +01:00
Abderrahim Indjaren
d37284ce55 fix: nil keeps its type instead of taking expected type 2026-05-17 18:49:49 +01:00
Spooky309
765776d136 Honour no-thread-local for variables declared at procedure scope 2026-05-16 10:56:17 +01:00
gingerBill
1d1f72fa1a Merge pull request #6683 from jasonKercher/oslinux-statx
core:os (Linux): Convert (f)stat calls to statx
2026-05-13 14:03:05 +01:00
jason
bb9cddabac linux.Stat -> linux.Statx
This provides access to os.Stat.creation_time for Linux.
Added a cast to string_interner.cpp for 32-bit compiles.
2026-05-12 18:24:08 -04:00
gingerBill
e0781c0e40 Just change the type when transposing #row_major to #column_major matrix types 2026-05-12 17:19:49 +01:00
gingerBill
3715544202 Merge pull request #6670 from Creativty/fix_dynamic_cap_doc
Handle Fixed Capacity Dynamic Arrays in write_expr_to_string
2026-05-12 14:29:09 +01:00
gingerBill
26d72060a5 Merge pull request #6668 from Creativty/fix_parapoly_return
Fix deferred_return and segfault in docs writer
2026-05-12 14:28:42 +01:00
gingerBill
cd073bc797 Remove bad merge issue 2026-05-12 10:48:04 +01:00
gingerBill
8ac7819bf5 zero allocation 2026-05-12 10:44:01 +01:00
gingerBill
86a6f69793 General clean up 2026-05-11 14:01:50 +01:00
gingerBill
7d0dba1b82 Improve code generation for intrinsics.transpose 2026-05-11 13:41:30 +01:00
gingerBill
b752ff4bdb Add a minor optimization for row_major * row_major 2026-05-11 13:28:54 +01:00
gingerBill
58e4e6be24 Improve matrix * vector code generation 2026-05-11 13:14:02 +01:00
gingerBill
b0ee0bb635 Add @(fast_math={...}) + intrinsics.Fast_Math_Flags 2026-05-11 11:55:07 +01:00
gingerBill
65ff188c1c Add optimization edge case for square mat * mat 2026-05-11 11:16:27 +01:00
Abderrahim Indjaren
7954e3bdbe add: cap dynamic array is now handled in write_expr_to_string 2026-05-10 15:48:32 +01:00
Abderrahim Indjaren
ebd50de56c fix: no more deferred_return in generic parapoly type name
fix: segfault on accessing empty tags array in docs writer
2026-05-09 23:07:57 +01:00
gingerBill
daa6bb1aee Fix check_multi_expr_with_type_hint to use return rather than break 2026-05-08 14:34:44 +01:00
gingerBill
d21fea404b Merge pull request #6631 from heavyrain266/deprecate-haiku
removed Haiku from supported targets
2026-05-06 15:52:36 +01:00
Krzesimir Nowak
34b198019f Better error reporting for unary decrement/increment operators
There was a missing routing for those operators in parse_stmt
function.
2026-05-05 15:16:49 +02:00
gingerBill
7788ca0242 Fix minor indentation problem 2026-05-05 12:16:42 +01:00
gingerBill
b083b980f7 Fix variable based procedure groups 2026-05-05 12:09:27 +01:00
gingerBill
ea5175d865 Support s: [2]u16 = "hi" 2026-05-02 12:11:39 +01:00
gingerBill
9869c492f5 Fix #6642 2026-05-02 11:26:49 +01:00
Ionut Ciuperca
b043ff2c87 Fix compiler warning on linux.
The resulting compiler binary would also crash with a core dump when
trying to compile odin code with it.
2026-04-30 06:48:37 +01:00
gingerBill
2358cffb85 Merge pull request #6630 from Znarf64/fix_typeid_arrays
Fix type info not being generated for types only used in []typeid literals
2026-04-28 21:09:16 +01:00
Ignacy Koper
d1915fa6f5 removed Haiku from compiler targets, and tests
Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-04-28 19:27:23 +02:00
Franz Hoeltermann
0199c96f47 Fix type info not being generated for types only used in []typeid literals 2026-04-28 17:04:52 +02:00
gingerBill
8da640da58 Merge pull request #6629 from odin-lang/bill/va_arg
`intrinsics.c_va_*`
2026-04-28 15:32:00 +01:00
gingerBill
162eab5052 Increase matrix maximum element count from 16 to 64, allowing for matrix[8, 8]T 2026-04-28 15:19:06 +01:00
gingerBill
7b97530443 Add intrinsics.c_var_* 2026-04-28 15:00:53 +01:00
gingerBill
bb291cfcd0 Use a for loop when doing array casts which are too long. 2026-04-28 13:45:57 +01:00
gingerBill
1f50cda5d6 Merge pull request #6623 from heavyrain266/deprecate-essence
removed Essence from supported targets
2026-04-28 11:11:09 +01:00
gingerBill
31184535a0 Merge pull request #6605 from odin-lang/bill/array-cast
Native Array Casting Semantics
2026-04-28 11:07:31 +01:00