Commit Graph

18346 Commits

Author SHA1 Message Date
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
Jeroen van Rijn
b879dec48d Merge pull request #7165 from GPotoshin/core_scanner_issue_7135
A fix to the issue #7153 and a test
2026-07-30 20:00:50 +02:00
George Potoshin
6a14e5e068 #7153 2026-07-30 19:24:36 +02:00
Jeroen van Rijn
d8fbde85d1 Merge pull request #7164 from jerksto/fix-define-negative-exponent
Don't assert on -define: values with an exponent
2026-07-30 17:20:49 +02:00
jerksto
ff949ac6fd Don't assert on -define: values with an exponent 2026-07-30 10:59:10 -04:00
Jeroen van Rijn
0d9ee8fe3e Merge pull request #7162 from BunterSchatten/fix-windows-run-spaces
handle spaces in args for 'odin run . -- <args>' on Windows
2026-07-30 14:43:28 +02:00
David Bader
edc522a05c add assert to make sure old and new double_dash_pos are the same 2026-07-30 13:38:52 +02:00
David Bader
7130f042dc define out unused run_args on Windows 2026-07-30 13:38:51 +02:00
David Bader
16ee03828b handle spaces in args for 'odin run . -- <args>' on Windows 2026-07-30 13:38:51 +02:00
David Bader
894d44346e run_args_start_idx is identical to double_dash_pos, no need to check again 2026-07-30 13:38:50 +02:00
Jeroen van Rijn
83fd812ff3 Merge pull request #7152 from BigBoyBarney/shrink
Shrink map to minimum capacity with `shrink`
2026-07-30 13:21:52 +02:00
Jeroen van Rijn
07f7b2c8a4 Merge pull request #5464 from peperronii/master
core:thread get_name/set_name
2026-07-30 12:52:16 +02:00
Jeroen van Rijn
9c0285316d Merge pull request #7160 from mocompute/fix-7137-dumb-terminal
Respect TERM=dumb in test runner to prevent ANSI sequences, color
2026-07-30 12:18:56 +02:00