Commit Graph

17240 Commits

Author SHA1 Message Date
jakubtomsu
d5e4e61c1c implement floor, ceil and trunc with SIMD 2026-04-10 17:10:24 +02:00
jakubtomsu
47371791b3 faster vector_dot and vector_cross3 2026-04-10 17:08:40 +02:00
gingerBill
632b5e75fb Merge pull request #6544 from jakubtomsu/target-feature-fix
Fix target feature lookup, canonicalize target_features_set
2026-04-10 13:02:20 +01:00
jakubtomsu
15f4301afb Merge branch 'odin-lang:master' into target-feature-fix 2026-04-10 13:28:46 +02:00
jakubtomsu
10c7b134e1 de-duplicate and canonicalize target_features_set entries 2026-04-10 13:27:42 +02:00
jakubtomsu
00874e39ad fix 2026-04-10 12:53:28 +02:00
jakubtomsu
bf4aa9b556 stronger +/- checks in check_target_feature_is_enabled 2026-04-10 12:47:12 +02:00
gingerBill
c0754012e1 Merge pull request #6541 from Znarf64/fix-no-bounds-check
Fix #no_bounds_check (previously broken by fc41e4414)
2026-04-10 10:43:43 +01:00
Franz Hoeltermann
f43b604eb3 Fix #no_bounds_check (previously broken by fc41e4414)
arr[:end] expressions would previously emit bounds checks even
with #no_bounds_check, breaking spall
2026-04-10 02:21:36 +02:00
gingerBill
c87d1a3cf6 Comment out the uncompleted stuff 2026-04-08 15:42:40 +01:00
gingerBill
9a55e78418 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-04-08 15:37:58 +01:00
gingerBill
2414f428a5 Add core:simd/x86/avx.odin 2026-04-08 15:37:46 +01:00
Jeroen van Rijn
7684a83ab6 Merge pull request #6536 from tntmonty/InSourceOrderFix
Fix output of filename when outputting docs with the -in-source-order option.
2026-04-08 14:19:42 +02:00
Montgomery
56a1a81a38 Fix output of filename when outputting docs with the -in-source-order option. 2026-04-08 12:49:51 +01:00
gingerBill
68942ce53d Genericize simd_approx_recip_(sqrt) to allow for AVX and AVX512 intrinsics if enabled 2026-04-08 10:56:52 +01:00
Jeroen van Rijn
e558f9852e Add comment to os.exit 2026-04-08 10:17:43 +02:00
Jeroen van Rijn
a2ff9d076c Merge pull request #6528 from Faker-09/filepath_dir_empty_path_fix
filepath.dir empty path fix
2026-04-07 18:02:54 +02:00
Shane Shrybman
08ae38b9aa Fix filepath.dir to return '.' for an empty path 2026-04-07 11:31:33 -04:00
Shane Shrybman
c4893f617a Fix typo in filepath.dir description 2026-04-07 11:23:20 -04: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
gingerBill
30b6fab120 Fix simd.scatter/simd.gather for LLVM 22 2026-04-07 11:46:57 +01:00
gingerBill
ac1b5aea0f Add intrinsics.simd_odd_even; More core:simd operations 2026-04-07 11:35:20 +01:00
gingerBill
4dd884bba2 Merge pull request #6511 from lucypero/opt-default-docs
Add -debug default behavior usage docs
2026-04-04 14:03:02 +01:00
Jeroen van Rijn
b3c1725025 [core:terminal] Remove superfluous @(init) and @(fini) 2026-04-04 14:38:27 +02:00
Jeroen van Rijn
addbf1b6d7 Merge pull request #6517 from juaumjuaumjuaum/master
core/os: Add dir procedure
2026-04-04 12:09:57 +02:00
juaum
d06572c831 core/os: Add dir procedure 2026-04-04 10:13:19 +02:00
Lucy
7313e6708d add -o docs to usage 2026-04-02 12:17:38 -03:00
gingerBill
a896fb2b4c Merge pull request #6507 from LeandroLibanio28H/fixing-declaration-order-bugs
Fixing declaration order bugs
dev-2026-04
2026-04-02 14:32:02 +01:00
gingerBill
039c438af2 Fix possible utf16 out of bounds issue 2026-04-02 12:54:07 +01:00
gingerBill
1d8c44a98c Fix minor issues with Windows bindings 2026-04-02 12:52:17 +01:00
gingerBill
40e03765a4 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-04-02 10:25:23 +01:00
gingerBill
70c4f4bc45 Fix read_reg_string which was using the wrong size in bytes for the resulting buffer 2026-04-02 10:25:19 +01:00
Jeroen van Rijn
452f332b03 Merge pull request #6510 from bersK/aes_ecb_src_dst_check_fix
core/crypto/aes: Fix src size check in encrypt/decrypt_ecb()
2026-04-01 23:00:19 +02:00
Stefan Stefanov
b52cc45053 core/crypto/aes: Fix src size check
Fixed a faulty check that would check the `dst` twice instead of
checking the `src` and `dst` input parameters in `encrypt_ecb()` &
`decrypt_ecb()`.
2026-04-01 23:05:29 +03:00
Jeroen van Rijn
36d23a5a7d Merge pull request #6508 from Kelimion/fix-zlib
Revert fix for 6425
2026-04-01 19:16:27 +02:00
Jeroen van Rijn
fbf0c06cf4 Temporarily revert 6425 fix. 2026-04-01 18:58:16 +02:00
Jeroen van Rijn
74c5039168 Revert "Fix #6424"
This reverts commit 66be1a799b.
2026-04-01 18:41:39 +02:00
Leandro Libanio
8d63c1bbff publish partial struct fields during struct field checking
Fixes: #6506
2026-04-01 13:34:04 -03:00
Leandro Libanio
c8cd8dd2db allow in-progress union variants when validating union members
Fixes: #5961
2026-04-01 12:39:48 -03:00
gingerBill
69606e4e22 Compiler arena_alloc_array utility procedure 2026-03-30 13:15:41 +01:00
gingerBill
52701390ce Remove dead code in filename_from_path 2026-03-30 11:52:08 +01:00
gingerBill
4dceffd049 When parsing an incorrect for loop, remove assert
// caused by this:
```
for a
b, c := d()
```
2026-03-30 11:50:59 +01:00
Jeroen van Rijn
377a9c7be8 Merge pull request #6497 from Tejas-H5/delete-key-doc
Updated delete_key doc to mention iteration behaviour
2026-03-30 12:01:10 +02:00
Tejas Hegde
d27f34f233 Updated delete_key doc to mention iteration behaviour 2026-03-30 19:29:52 +10:30
Jeroen van Rijn
48258a4201 Merge pull request #6496 from imp0s5ible/imp-relative-path-fix
Fix #6495 - Handle starting separator during name comparison
2026-03-29 21:53:10 +02:00
imp0s5ible
0d8fe07388 Fix array-bounds-exceeded error
We didn't consider empty base/target strings and accessed the ith
element unconditionally. We now check to make sure `i` is in range.
2026-03-29 21:24:57 +02:00
imp0s5ible
1f2d978396 Fix #6495 - Handle starting separator during name comparison
During the loop comparing file/directory names, the starting character
in both will be a path separator in most cases.
Since a naive string equality will regard forward slashes and
backslashes as different, we must specially handle the first character
and exclude it from the equality comparison if necessary.
2026-03-29 21:11:22 +02:00