396 Commits

Author SHA1 Message Date
gingerBill
a91725f305 Add simd.interleave + simd.deinterleave 2026-05-19 21:32:09 +01:00
gingerBill
1e1f37fcef n -> num_appended for append return values 2026-05-18 14:33:35 +01:00
gingerBill
d4508e39de Merge pull request #6677 from BigBoyBarney/builtin-fix
Fix `make_aligned` and `new_aligned` to be builtin
2026-05-12 14:31:26 +01:00
Sylphrena
b603e7400f Fix make_aligned and new_aligned to be builtin 2026-05-11 21:54:31 +02:00
gingerBill
b0ee0bb635 Add @(fast_math={...}) + intrinsics.Fast_Math_Flags 2026-05-11 11:55:07 +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
gingerBill
09c7b75f79 Remove Odin_Endian_Type.Unknown 2026-05-05 10:18:19 +01:00
Ignacy Koper
183a4c2d7f removed Haiku from base:runtime package
Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-04-28 19:27:24 +02:00
gingerBill
2fbc83d774 Fix typos 2026-04-28 15:07:56 +01:00
gingerBill
7b97530443 Add intrinsics.c_var_* 2026-04-28 15:00:53 +01:00
Ignacy Koper
3e64a72bad removed Essence from supported targets
Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-04-27 11:10:48 +02:00
blob1807
f2c3b00885 Remove accidentally 7
Remove a miss typed seven added in commit 6e09ce9
2026-04-22 22:22:13 +10:00
jakubtomsu
c55797356f default NATIVE_SIMD_BIT_WIDTH to 128 2026-04-10 16:30:44 +02:00
jakubtomsu
0475456ac0 add native SIMD bit width constant 2026-04-09 20:43:14 +02:00
gingerBill
6f7226e692 Add intrinsics.simd_pairwise_(add|sub) 2026-04-07 15:45:50 +01:00
gingerBill
6e09ce9a04 intrinsics.to_bits_signed; simd.signbit 2026-04-07 15:25:41 +01:00
gingerBill
5de18d30f3 Add intrinsics.simd_approx_recip and intrinsics.simd_approx_recip_sqrt 2026-04-07 14:35:04 +01:00
gingerBill
885db93e20 Add intrinsics.simd_sums_of_n 2026-04-07 13:18:03 +01:00
Tejas Hegde
d27f34f233 Updated delete_key doc to mention iteration behaviour 2026-03-30 19:29:52 +10:30
jakubtomsu
382ca331be runtime align_forward procs as source of truth 2026-03-26 19:38:49 +01:00
jakubtomsu
7053e6720f remove type_bit_field_size accident 2026-03-23 17:18:01 +01:00
jakubtomsu
a097f3c938 add type_field_bit_offset/size intrinsics 2026-03-23 16:42:30 +01:00
WojtaZam
1f9f2dc0da fix Error: Missing return statement at the end of the procedure pop_fixed_capacity_dynamic_array 2026-03-17 20:19:46 +01:00
Shane Shrybman
af2d8ca679 FCD array proc group add _elems 2026-03-15 21:45:44 -04:00
gingerBill
55f398b734 Add #no_bounds_check to appropriate procedures 2026-03-15 16:00:40 +00:00
gingerBill
a0685f0511 Add intrinsics.likely and intrinsics.unlikely 2026-03-15 15:39:52 +00:00
gingerBill
ad1a10b8af use intrinsics.mem_copy instead of a for-loop 2026-03-15 11:48:49 +00:00
gingerBill
310def1e71 Fix append_fixed_capacity_elems 2026-03-15 11:42:24 +00:00
gingerBill
c6772dfd06 Merge branch 'master' into bill/fixed-capacity-dynamic-array 2026-03-15 11:41:01 +00:00
Jeroen van Rijn
27667ce36b iff -> if and only if (⟺) 2026-03-13 11:54:15 +01:00
gingerBill
8e23c58620 Add intrinsics type_fixed_capacity_dynamic_array_len_offset and type_is_fixed_capacity_dynamic_array 2026-03-12 17:39:44 +00:00
gingerBill
c7308d86d4 Fix tests as they are not direct matches to small_array 2026-03-12 17:33:54 +00:00
gingerBill
26eb58b589 Move raw closer to usage 2026-03-12 17:03:07 +00:00
gingerBill
6c61b1d46c Remove loc being passed 2026-03-12 16:59:58 +00:00
gingerBill
fac8471019 Fix typos 2026-03-12 16:59:11 +00:00
gingerBill
6e9d6bfbe5 Fixed tests 2026-03-12 16:55:46 +00:00
gingerBill
6a03cf5d68 Add "remove" procedures to fixed capacity dynamic arrays 2026-03-12 09:40:31 +00:00
gingerBill
535b70b82e Add other @builtin procedures for fixed capacity dynamic arrays 2026-03-12 09:37:27 +00:00
gingerBill
f1dbe9c242 [dynamic; N]T proof of concept: fixed capacity dynamic array (akin to small_array.Small_Array(N, T)) 2026-03-11 16:46:33 +00:00
Jeroen van Rijn
0087d6d62e Add preserve/* to base:runtime
```odin
none :: proc "preserve/none" () {}
most :: proc "preserve/most" () {}
all  :: proc "preserve/all"  () {}

print_cc :: proc(type: any) {
	ti := type_info_of(type.id)
	p := ti.variant.(runtime.Type_Info_Procedure)
	fmt.println(p.convention)
}

main :: proc() {
	print_cc(none)
	print_cc(most)
	print_cc(all)
}
```
2026-03-08 15:05:23 +01:00
Gavin Rohrer
93b1e97402 fix documentation of assign_at 2026-03-07 10:07:15 -05:00
gingerBill
217b4967b0 Improve docs for type_info_underlying 2026-03-04 14:07:24 +00:00
gingerBill
029c96ce22 Separate type_info_core and type_info_underlying 2026-03-04 14:03:24 +00:00
Jeroen van Rijn
ed74233ace Add bit_set to runtime.type_info_core. 2026-03-04 14:55:11 +01:00
gingerBill
2cb8155946 Add missing @(require_results) 2026-03-03 12:27:44 +00:00
gingerBill
a5e1eb56ab Add explicit_underlying: bool RTTI field for bit_set; add runtime.type_info_underlying 2026-03-03 12:26:42 +00:00
gingerBill
30d87a2fd7 Merge pull request #6324 from Faker-09/dynamic_array_move_assert
Small optimization for dynamic arrays
2026-02-24 08:11:34 +00:00
Jeroen van Rijn
ea80eab75a [core:sys/info] Remove @(init) where practical 2026-02-23 23:09:37 +01:00
Shane Shrybman
3fd9c915ed Move assert(a.allocator.procedure != nil) out of the common path into the if check 2026-02-23 12:20:57 -05:00
Shane Shrybman
25fde8a03a For #soa dynamic arrays. Move assert(a.allocator.procedure != nil) out of the common path into the if check 2026-02-23 11:35:16 -05:00