gingerBill
de0d2ae178
Optimize append_elem for different optimization levels
...
* For `-o:size` and below, uses the type erased approach
* For `-o:speed` and above, the inlined form is used
This is necessary because a generic `mem_copy_non_overlapping` cannot be optimized when type erasure is used, meaning in a hot path where `append_elem` is used a lot; thus `mem_copy_non_overlapping` becomes a bottleneck.
2026-06-19 11:19:16 +01:00
gingerBill
7ef82c367c
Remove __copy_bits
2026-06-15 17:48:33 +01:00
gingerBill
ee5d5d6882
Remove the now defunct __write_bits and __read_bits
2026-06-15 16:57:27 +01:00
gingerBill
6feb33a79b
Heavily improve reading and writing to bit fields
2026-06-15 16:53:15 +01:00
Sylphrena
0aa85a035f
Added optional allocator error to map_insert
2026-06-13 20:00:02 +02:00
gingerBill
671a187600
Minor style change in intrinsics.odin
2026-06-09 13:25:21 +01:00
juaumjuaumjuaum
bf2d33f0e5
Swap panic_contextless and unimplemented_contexless documentation
...
They were swaped
2026-06-02 00:00:45 +02:00
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