Commit Graph

18582 Commits

Author SHA1 Message Date
Mihail Moskov
639606ae63 fixes non_zero_append_elem_fixed_capacity_string 2026-08-12 14:06:21 +03:00
gingerBill
d4d0436a09 Merge pull request #7314 from kalsprite/max_field_align
struct layout: apply #max_field_align
2026-08-12 11:30:35 +02:00
gingerBill
e92d24e88a Merge pull request #7315 from kalsprite/mm_shuffle_value
check_builtin: don't clear the operand value on the simd success path
2026-08-12 11:30:17 +02:00
kalsprite
c61cf7d684 dont clear value on ok 2026-08-11 23:37:41 -07:00
kalsprite
586f87c0e1 apply max field align 2026-08-11 23:15:29 -07:00
kalsprite
f053a40359 check_matrix_type_hint: require the element type and layout to match 2026-08-11 23:07:07 -07:00
kalsprite
419050f82a fix four more guards using && where they need || 2026-08-11 22:52:33 -07:00
kalsprite
3f7d961bf6 check enumerated array length 2026-08-11 22:39:12 -07:00
kalsprite
0dbd55168f hoist if stmt 2026-08-11 22:25:44 -07:00
kalsprite
973d90d7b1 enforce matrix size limits on mul; overflow dims 2026-08-11 21:31:36 -07:00
kalsprite
6b6bf9a8ee clarify shared fields behavior 2026-08-11 21:07:53 -07:00
kalsprite
a594c9960c reject a lane count that exceeds the bit_set limit 2026-08-11 20:55:12 -07:00
kalsprite
613067a677 make endiant types partition 2026-08-11 20:13:47 -07:00
kalsprite
2a50eaa84d improve err msgs 2026-08-11 19:52:31 -07:00
kalsprite
e31bf47913 correct error guard 2026-08-11 19:44:08 -07:00
kalsprite
fef29f0f42 reject unspec poly 2026-08-11 18:59:37 -07:00
kalsprite
882be52d66 bound constant arguments before range-checking them 2026-08-11 18:08:32 -07:00
kalsprite
0ed628b22f fix byte swap on untyped intlike types 2026-08-11 17:46:31 -07:00
kalsprite
d785843eed bitfield missing field offsets 2026-08-11 17:34:36 -07:00
kalsprite
2285f4e061 sysv abi 2026-08-11 16:53:57 -07:00
Jeroen van Rijn
549bedcff9 Merge pull request #7291 from A1029384756/master
[llvm_backend] fix duplicated name for temporary `.ll` files
2026-08-12 01:08:48 +02:00
A1029384756
a08682bcd3 [llvm_backend] fix duplicated name for .ll files 2026-08-11 16:30:35 -04:00
gingerBill
94d188c75f Merge pull request #7269 from kalsprite/simd_fixes
remove dead simd_rem
2026-08-11 21:44:53 +02:00
gingerBill
73424d60e0 Merge pull request #7289 from Znarf64/enum-value-init-doc
Use enum value init expression instead of numeric value in doc format
2026-08-11 21:44:32 +02:00
Mihail Moskov
8c23c01c71 minor wording tweaks 2026-08-11 15:30:00 +03:00
Mihail Moskov
9e73c20197 adds the pop procedure family for soa arrays 2026-08-11 15:21:23 +03:00
Franz Hoeltermann
a311d8f6df Use enum value init expression instead of numeric value in doc format 2026-08-11 13:51:06 +02:00
Jeroen van Rijn
5f321d687c Merge pull request #7284 from kalsprite/i386_sret
i386: return aggregates through the hidden pointer on System V targets
2026-08-11 12:30:19 +02:00
Jeroen van Rijn
06cad2ece4 Merge pull request #7283 from kalsprite/i386_byval
i386: pass aggregate arguments by value on the stack
2026-08-11 12:02:54 +02:00
Jeroen van Rijn
03b564a602 Merge pull request #7282 from kalsprite/riscv_padded_assert
riscv64: fix ABI classification for padded, over-aligned, and pointer-bearing structs
2026-08-11 11:57:09 +02:00
kalsprite
37e1c98b1f i386: return aggregates through the hidden pointer on System V targets 2026-08-10 22:08:15 -07:00
kalsprite
b3c254d629 i386: pass aggregate arguments by value on the stack 2026-08-10 21:48:10 -07:00
kalsprite
aec971197a riscv64: a pointer is not an integer in the FP calling convention 2026-08-10 21:34:08 -07:00
kalsprite
a50660b5bb apply the FP rules to over-aligned structs 2026-08-10 21:11:43 -07:00
kalsprite
2f39bd797d riscv abi bug 2026-08-10 20:57:47 -07:00
Jeroen van Rijn
9932b4d2d4 Merge pull request #7277 from corleypc/range-soa-array-elem-fix
Fixes range loop over array elements in soa containers
2026-08-11 03:57:56 +02:00
corley
87912a8b88 fixes range loop over array elements in soa containers 2026-08-11 03:20:13 +03:00
Jeroen van Rijn
6d5dbdce13 Merge pull request #7274 from karl-zylinski/claude/grapheme-clusters-text-field-e36817
Add `text` field to `utf8.Grapheme`, fix caret translation by grapheme
2026-08-10 13:30:53 +02:00
Jeroen van Rijn
1810318551 Merge pull request #7273 from alexthed1rk/fix-simd-arm-neon-table-lookup
Impl fix simd arm neon table lookup on be
2026-08-10 13:28:24 +02:00
Alexander Zhura
59b09aa559 Impl fix simd arm neon table lookup on be 2026-08-10 14:07:05 +03:00
Karl Zylinski
1f9b4c4555 Add text field to utf8.Grapheme, fix caret translation by grapheme
`decode_grapheme_iterate` already computed the text of each grapheme
cluster, but `decode_grapheme_clusters` discarded it, forcing callers to
reconstruct each cluster's range by looking ahead to the next grapheme's
`byte_index`. Store it on `Grapheme` instead; it is a slice of the input
string, so no allocation is involved.

`core:text/edit` was using `Grapheme.width` -- the number of monospace
cells -- as a byte count when moving the caret by grapheme, so it landed
in the middle of a cluster for anything wider than one byte per cell. Use
`len(Grapheme.text)`, and add a test package for the translations.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-10 12:27:31 +02:00
Jeroen van Rijn
3ac03e27b2 Merge pull request #7270 from corleypc/soa-array-elem-indexing-fix
Fixes chain indexing for array elements in soa containers
2026-08-09 21:55:47 +02:00
corley
e374541599 fixes chained indexing for soa containers with array element type 2026-08-09 22:23:32 +03:00
kalsprite
1a631b2f3f Fix constant string16 carrying UTF-8, and inverted slice indices reaching substring (#7268)
* str16 fix

* remove stale call
2026-08-09 21:22:13 +02:00
kalsprite
ffd7ef024c remove dead simd_rem 2026-08-09 12:04:08 -07:00
Jeroen van Rijn
fa68265491 Add Box3d WASM object 2026-08-09 20:23:34 +02:00
nic-vdwalt
f26ed4dccd vendor: add Box3D support for WebAssembly (#7266)
vendor: add Box3D support for WebAssembly

Generate the WASM object directly from the existing build script so vendor binaries stay out of source control while JS target checks remain reproducible.
2026-08-09 20:19:41 +02:00
Jeroen van Rijn
9b45ef8239 Merge pull request #7267 from kalsprite/rol
Fix Name Canonicalization Rotate Left Typo
2026-08-09 20:12:34 +02:00
kalsprite
acb8806a96 fix rol typo 2026-08-09 11:00:03 -07:00
Jeroen van Rijn
d6d16b1e58 Merge pull request #7265 from harold-b/hb.fix-parser-attrib-misisng-end
Fix unparenthesized attributes missing end position in its AST node
2026-08-09 19:49:08 +02:00