Commit Graph

18360 Commits

Author SHA1 Message Date
gingerBill
6c2bb94ceb Merge pull request #7206 from ssenthilnathan3/fix/os-glob-clone
Fix os.glob not cloning pattern when no meta characters present
2026-08-04 10:52:43 +02:00
Senthilnathan
b838b1bf25 fixes os.glob not cloning pattern when no meta characters present 2026-08-04 12:19:03 +05:30
Jeroen van Rijn
77af2cbba1 Merge pull request #7204 from corleypc/soa-comments-fix
Cleans up obsolete comments in _append_soa_elems
2026-08-04 01:03:07 +02:00
Jeroen van Rijn
7175d3d6c5 Merge pull request #7205 from alexthed1rk/fix-simd-arm-sha-arch
Impl fix simd arm sha arch
2026-08-03 23:38:22 +02:00
Alexander Zhura
cc71be2a5b Impl fix simd arm sha arch 2026-08-04 00:19:32 +03:00
corley
478ecf130f another useless comment removed 2026-08-03 23:45:44 +03:00
corley
c720ee5353 cleans up obsolete comments 2026-08-03 23:26:44 +03:00
Laytan
014408297b Merge pull request #7200 from A1029384756/trace-tracking-allocator-improvements
[debug/trace] sync allocator with `core:mem`
2026-08-03 16:18:37 +02:00
A1029384756
1ac0b9bcdc [debug/trace] sync allocator with core:mem 2026-08-03 10:09:39 -04:00
gingerBill
dd796f5574 Merge pull request #7139 from bingis-khan/fix_nil_type_mismatch
Fix LLVM codegen for matching on `nil` for `union{}`
2026-08-03 16:06:55 +02:00
gingerBill
39e5d78aba Improve error handling on set in set comparisons to suggest using <= instead 2026-08-03 15:01:51 +01:00
gingerBill
23b45391d2 Merge pull request #7149 from corleypc/no-alias-dyn-arrays
Annotates the array parameter of dynamic array builtins with #no_alias
2026-08-03 15:43:03 +02:00
gingerBill
319143e4b7 Minor style cleanup 2026-08-03 14:42:44 +01:00
gingerBill
9914a57fc7 Add intrinsics.soa_copy_from_slice and use it within _append_soa_elems replacing the old handwritten unrolled approach 2026-08-03 14:41:04 +01:00
Jeroen van Rijn
a38d3abbcb Merge pull request #7144 from Yawning/fixes/riscv
RISC-V fixes/improvements
2026-08-03 13:37:43 +02:00
gingerBill
100877d312 Merge pull request #7196 from corleypc/make-soa-go-vroom
Make soa builtins go vroom
2026-08-03 13:26:17 +02:00
gingerBill
40c7fabeb9 Merge pull request #7195 from thePHTest/master
zero tracking_allocator.allocation_map and tracking_allocator.bad_free_array in destroy
2026-08-03 12:57:32 +02:00
corley
439edc5fa8 make soa builtins go vroom 2026-08-03 02:32:09 +03:00
Phil
3e24e2601c zero tracking_allocator.allocation_map and tracking_allocator.bad_free_array in destroy. Allows for re-using the struct again after an init. Otherwise, there would be dangling references. e.g. to tracking_allocator.allocation_map.data 2026-08-02 14:26:19 -07:00
Yawning Angel
711d385794 src: Add SpacemiT X-100 and A-100 microarchitectures
Generated featuregen against the vendor supplied (Bianbu) LLVM 21.1.8
package.
2026-08-02 22:09:22 +09:00
Yawning Angel
cd08f535c8 src: Use llvm.readsteadycounter on Linux RISC-V
Why `rdcycle` is kernel only while `rdtime` is not is a mystery to me.
2026-08-02 22:09:22 +09:00
Jeroen van Rijn
280f02f4ef Remove unused import 2026-08-02 15:08:08 +02:00
gingerBill
541563d472 Merge pull request #7187 from Riyyi/master
Update stale os.flags file doc
2026-08-02 14:53:10 +02:00
Jeroen van Rijn
447d880586 Add tests/core/text/scanner to CI 2026-08-02 13:19:15 +02:00
Jeroen van Rijn
7c4dd2ea53 Merge pull request #7176 from GPotoshin/scanner_octal_escape
Fix octal escape parsing by core:text/scanner
2026-08-02 13:17:27 +02:00
George Potoshin
bfd93d3e89 tests for scanner 2026-08-02 10:57:23 +02:00
Riyyi
47de593690 Update stale os.flags file doc 2026-08-02 03:15:30 +02:00
gingerBill
fa706198ba Merge pull request #7180 from BradLewis/fix/parser-field-specialization-end
Correct end position for fields with a specialization
2026-08-01 16:16:51 +02:00
Jeroen van Rijn
b2e7f25186 Merge pull request #7184 from alexthed1rk/impl-simd-arm-pmull
Impl simd arm pmull
2026-08-01 15:46:14 +02:00
Alexander Zhura
659ba07cf3 Impl simd arm pmull 2026-08-01 16:22:15 +03:00
George Potoshin
8f3418c914 support every quote 2026-08-01 15:05:45 +02:00
Jeroen van Rijn
f62bafdc07 Merge pull request #7183 from odin-lang/revert-7181-impl-simd-arm-pmull
Revert "Impl simd arm pmull"
2026-08-01 14:13:05 +02:00
Jeroen van Rijn
cfd0c4dc69 Revert "Impl simd arm pmull" 2026-08-01 14:04:22 +02:00
Jeroen van Rijn
f1f7c98a84 Merge pull request #7182 from BigBoyBarney/shrink
Follow up fix of `shrink_map`
2026-08-01 13:51:37 +02:00
Jeroen van Rijn
15a45897ab Merge pull request #7181 from alexthed1rk/impl-simd-arm-pmull
Impl simd arm pmull
2026-08-01 13:50:24 +02:00
Sylphrena
64f27153cc Follow up fix of map shrink 2026-08-01 13:30:34 +02:00
Alexander Zhura
c2bb93ea59 Impl simd arm pmull 2026-08-01 14:20:19 +03:00
Brad Lewis
e1dead4ce3 Correct end position for fields with a specialization 2026-08-01 19:42:01 +10:00
Jeroen van Rijn
defab8be57 Merge pull request #7178 from rstefanic/fix/gzip-example-doc
compress/gzip: Fix example code
2026-08-01 11:21:48 +02:00
Robert Stefanic
2bcf11e677 compress/gzip: Fix example code
I tried to compile this example and received the following error:

```
Error: Cannot assign value 'os.stdin.stream' of type 'File_Stream' to 'Stream' in a structure literal
        input = os.stdin.stream,
                ^~~~~~~~~~~~~~^
```

The example was fixed by passing the File_Stream to `os.to_stream`.

Signed-off-by: Robert Stefanic <rstefanic72@gmail.com>
2026-07-31 21:47:02 -04:00
Jeroen van Rijn
6996445834 Merge pull request #7172 from mocompute/fix-argon2id-constant-typo
Fix typo in constant name and a different comment
2026-08-01 00:35:12 +02:00
George Potoshin
487648d7fa fix octal escape parsing 2026-07-31 18:47:46 +02:00
Jeroen van Rijn
b2e9092c1c Merge pull request #7174 from alexthed1rk/impl-simd-arm-crc32
Impl simd arm crc32
2026-07-31 15:47:54 +02:00
Alexander Zhura
91e62c4187 Impl simd arm crc32 2026-07-31 16:17:27 +03:00
mo
8e4611fb74 Fix typo in constant name and a different comment 2026-07-31 22:38:54 +12:00
gingerBill
ed2cb5723f Merge pull request #7132 from Chaosus/fix_vet_tag_error_hint
Fix error hint for vet tag
2026-07-31 10:25:01 +02:00
gingerBill
cbb10d8ee7 Merge pull request #7168 from odin-lang/bill/rexcode
rexcode/x86: label addressing for RIP-relative disp and movabs imm
2026-07-30 23:30:47 +02:00
Flāvius
0f472409c4 rexcode/x86: label addressing for RIP-relative disp and movabs imm
Add mem_rip_label(label_id) so a RIP-relative memory operand can
reference a label: the encoder writes a placeholder disp32 and emits a
REL32 relocation (addend 0) at the field's byte offset, mirroring the
existing .RELATIVE jump/call path. This expresses lea reg, [rip + <label>]
(position-independent data addressing).

Add op_imm_label(label_id) for movabs reg, <label>: the imm stays kind
.IMMEDIATE (form matching unchanged) but is flagged so the encoder emits
an ABS64 relocation for the imm64 instead of a literal; imm_matches_inline
forces the full IMM64 form so a small id can't collapse to mov r64, imm32.

Both labeled forms bypass the contextless recipe fast-path (which cannot
append relocations) and fall back to the interpreter. Flags reuse spare
bits in Memory (disp_is_label) and Operand_Flags (imm_is_label) -- no
struct growth. Section 11 tests cover resolved/unresolved disp, the ABS64
movabs, and an end-to-end executed lea+load.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-30 15:05:16 -04:00
Jeroen van Rijn
057accb871 Merge pull request #7166 from Thomascountz/thomascountz/fix-raymath-subtract-deprecation
Fix typos in raymath deprecation messages
2026-07-30 20:48:27 +02:00
Thomas Countz
a4e22fbd31 Fix typo in raymath subtract deprecation 2026-07-30 20:38:24 +02:00