Commit Graph
19600 Commits
Author SHA1 Message Date
DeadDonuts Corp. 0ade92df56 Fix glsl mix_vec4 and mix_dvec4 implementations
Fix mix implementation typo bug.
Line 763 and 766  never used the target value to progress y  channel.
2026-10-04 11:01:30 +02:00
Jeroen van Rijn 930cb5dab3 Merge pull request #7733 from BradLewis/fix/odin-parser-for-stmt-comma
Fix odin parser assert with invalid for-in stmt
2026-10-03 15:26:13 -07:00
Brad Lewis 66ccc1011c Fix odin parser assert with invalid for-in stmt 2026-10-04 09:11:04 +11:00
gingerBill b079c1a23b Merge pull request #7672 from MatzeOGH/fast_float_swar_parse
Second Part of the Fast Float Port (SWAR based scanning)
2026-10-03 22:31:02 +01:00
gingerBill 1688a2f9b1 Merge pull request #7728 from odin-lang/bill/map-improvements
`map` performance improvements
2026-10-03 18:18:22 +01:00
gingerBill 6fbe128c8f Remove duplicate test 2026-10-03 18:09:06 +01:00
gingerBill 9187b7acfc Remove map_cell_index_dynamic_const; Re-insert entries directly when growing/shrinking a map 2026-10-03 17:34:16 +01:00
gingerBill 3b9f962e44 Merge branch 'bill/map-improvements' of https://github.com/odin-lang/Odin into bill/map-improvements 2026-10-03 17:25:15 +01:00
gingerBill b4612c77c4 Merge branch 'master' into bill/map-improvements 2026-10-03 17:24:54 +01:00
gingerBill 2a57037287 Add map_erase_static and use when compiling for optimizations 2026-10-03 17:13:31 +01:00
gingerBill 1ad14bb824 Change how a map gets seeded with a folded multiply of the address as the seed instead 2026-10-03 17:06:42 +01:00
gingerBill 85f02a8304 Hash string and cstring map keys a word at a time with default_hasher_fixed 2026-10-03 16:50:33 +01:00
gingerBill 93e160582c Pass a copy of a value within a packed struct to a procedure by reference when its address is not known to be aligned to its type, and lower the alignment of loads and stores to that known from the GEPs leading to their address 2026-10-03 16:41:48 +01:00
gingerBill 70f6767776 Make lb_map_set_proc_for_type prefer to go through the runtime for unoptimized builds 2026-10-03 16:15:59 +01:00
gingerBill f86c53f13a Do Robin Hood displacement in __$map_set when no tombstone is in the way 2026-10-03 15:32:09 +01:00
Jeroen van Rijn 919b673294 Merge pull request #7726 from Kelimion/xxh3_nbs
Add a few more #no_bounds_check to XXH3.
2026-10-03 07:29:02 -07:00
gingerBill d783e8b1f6 Inline more of the code in default_hasher_fixed 2026-10-03 15:16:25 +01:00
Jeroen van Rijn d57f6d8232 Add a few more #no_bounds_check to XXH3. 2026-10-03 16:15:37 +02:00
gingerBill 24ff27e6c8 Hash fixed-size map keys a "word" at a time with default_hasher_fixed 2026-10-03 15:09:56 +01:00
gingerBill 0a57d94f08 Merge pull request #7720 from odin-lang/bill/llvm-backend-improvements
LLVM Backend Performance Improvements to Reduce Compile Times Part 1
2026-10-03 15:03:39 +01:00
gingerBill 0ea9b17c36 Fix the probe distance in __$map_get and store directly into an empty slot in __$map_set, which also improves a map's performance 2026-10-03 14:53:55 +01:00
gingerBill d8da5185c9 Store a constant holding a misaligned pointer directly rather than copying it from a constant global, which Apple's linker rejects 2026-10-03 14:47:38 +01:00
gingerBill a5a22bee86 Merge pull request #7725 from corleypc/fast-float-opt-out
Adds a #config for opting out of fast float in core:strconv
2026-10-03 14:06:34 +01:00
gingerBill 80dd40add7 Replace the division in map_cell_index_dynamic with a reciprocal multiply trick 2026-10-03 13:46:29 +01:00
corley b785a3fc77 adds a config for opting out of Eisel-Lemire 2026-10-03 15:39:22 +03:00
gingerBill 0b325449a4 Merge branch 'bill/llvm-backend-improvements' of https://github.com/odin-lang/Odin into bill/llvm-backend-improvements 2026-10-03 12:38:08 +01:00
gingerBill 5031e2733e Add the comparison procedures of types in the type table and map keys as dependencies making the backend no longer has to create missing procedures 2026-10-03 12:38:00 +01:00
Jeroen van Rijn 75472f70e5 Merge pull request #7721 from ARTurleite6/fix-chan-recv-direction
Accept `.Recv` channels in `chan.recv` and `chan.try_recv`
2026-10-03 04:21:39 -07:00
gingerBill 0af9216c43 Merge pull request #7723 from odin-lang/bill/mark-gen-parapoly-procs-correctly
Fix: Mark a generated polymorphic procedure before publishing it to other threads
2026-10-03 12:13:29 +01:00
gingerBill 6ac8b89243 Merge pull request #7722 from odin-lang/bill/odin-linker-improvements
Use a response file for MSVC-style linkers (`link.exe` and `radlink.exe`) when the command line exceeds the `CreateProcess` limit of 32KiB
2026-10-03 12:10:24 +01:00
gingerBill 9f2a5147bd Fix: Mark a generated polymorphic procedure before publishing it to other threads 2026-10-03 12:10:12 +01:00
gingerBill d31ed5ee5f Use a response file for MSVC-style linkers (link.exe and radlink.exe) when the command line exceeds the CreateProcess limit of 32KiB 2026-10-03 12:02:15 +01:00
Artur Leite d8a598b1a3 Accept .Recv channels in chan.recv and chan.try_recv 2026-10-03 13:01:17 +02:00
gingerBill e5cc35c445 Lower what LLVM's fast instruction selector cannot select before emitting objects, and declare debug variables through stack slots 2026-10-03 11:02:55 +01:00
gingerBill 6ed55b589b Merge pull request #7643 from dogue/master
[vendor:sdl2/sdl_render.odin]: add `RenderSetVSync` binding
2026-10-03 10:22:47 +01:00
gingerBill df8602c359 Merge pull request #7718 from Arthur031221/fix-concatenate-zero-arrays-s21
Preserve zero-initialized arrays in intrinsics.concatenate
2026-10-03 10:12:41 +01:00
gingerBill 8b4f855fc6 Fix a union constant from a field omitted in a constant compound literal being nil 2026-10-03 09:42:26 +01:00
gingerBill f670de9e80 Define and initialize global variables in their own modules 2026-10-03 08:28:31 +01:00
Arthur031221andblob1807 093357f63e Preserve zero-initialized arrays in intrinsics.concatenate
Co-authored-by: blob1807 <12388588+blob1807@users.noreply.github.com>
2026-10-03 11:26:45 +08:00
gingerBill 29106aaa1e Cache type layouts and union constantability, build nested constants once, create debug files lazily 2026-10-03 01:26:01 +01:00
gingerBill 3a45aaa539 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-10-02 23:40:30 +01:00
gingerBill e7b7705042 Setup the type info data in the default module's task rather than before the modules are generated in parallel 2026-10-02 23:30:24 +01:00
gingerBill 2ca1a21777 Merge pull request #7714 from louisnovy/fix-global-address-of-literal
Handle globals initialized with the address of a non constant literal
2026-10-02 23:25:10 +01:00
gingerBill 03f035db02 Merge pull request #7716 from odin-lang/bill/procedure-of-specializations
Fix `intrinsics.procedure_of` with parapoly specializations
2026-10-02 23:24:34 +01:00
gingerBill a7ded94e52 Begin the costliest modules first in each backend stage; run function passes in parallel with -debug; spread the instances of oversized modules over further modules; trim comments 2026-10-02 23:15:43 +01:00
gingerBill c628768c5e Strip constant parameters from specialized procedure types; fix calling a parenthesized polymorphic callee 2026-10-02 23:11:13 +01:00
gingerBill 735b2c7060 Pass a copy of a packed struct's field by reference when it may be under-aligned; lower load and store alignment to that known 2026-10-02 22:49:26 +01:00
Louis Novy 3b8e53a991 Handle globals initialized with the address of a non constant literal 2026-10-02 13:39:33 -04:00
gingerBill 63d28377bb Pass a copy of a value within a packed struct to a procedure by reference when its address is not known to be aligned to its type, and lower the alignment of loads and stores to that known from the GEPs leading to their address 2026-10-02 17:22:15 +01:00
gingerBill 1d3f982b50 Allow intrinsics.procedure_of on procedures without results or requiring a context; treat a specialized procedure's type as concrete 2026-10-02 17:10:03 +01:00