Commit Graph

990 Commits

Author SHA1 Message Date
kalsprite
2a48374df3 abi harness note on vararg exclusion; add quaternions & complex 2026-08-14 22:51:42 -07:00
kalsprite
0fb1721e45 i386: return a complex of eight bytes or fewer in EAX:EDX, not through a hidden pointer
abi test: cover bare f16, complex, rawptr, enum and bit_set
2026-08-14 21:09:26 -07:00
kalsprite
f15d9ea4c7 abi test: cover cstring and uint family 2026-08-14 18:53:31 -07:00
kalsprite
9047c60ec1 arm32: default to arm1176jzf-s so the gnueabihf triple actually has an FPU,
arm32: implement AAPCS32 homogeneous float aggregates incl unions,
arm32: fix reversed arguments in the small-struct return coercion,abi test: __aeabi_uldivmod so the arm32 corpus links
2026-08-14 18:08:11 -07:00
kalsprite
1e2d91c38b i386: pass and return bare vectors directly, coercing only 8-byte integer vectors,
i386: treat a bit_field as the aggregate it is in C, fixing a segfault on return,
abi test: document the i386 microarch baseline; do not read a signal exit as a type index
2026-08-14 17:38:21 -07:00
kalsprite
2c947bb173 add riscv abi to ci; uneven unions, bare scalars 2026-08-13 22:49:55 -07:00
kalsprite
32f90a04db add optimization on to harness 2026-08-13 22:11:53 -07:00
kalsprite
a50c9e0a1d switch test harness to odin 2026-08-13 21:51:53 -07:00
kalsprite
1ffcc43b39 generator typo 2026-08-13 21:34:17 -07:00
kalsprite
416619b71b cover every 8-byte bare vector type 2026-08-13 21:30:56 -07:00
kalsprite
5c5bb38115 enhance abi harness; dont delete build dir 2026-08-13 20:24:38 -07:00
kalsprite
039ee3b63e add alignment canaries 2026-08-13 00:20:27 -07:00
kalsprite
e621a924f5 darwin align(16) max 2026-08-13 00:04:19 -07:00
kalsprite
f5ab81cfa1 simd fix; generator fix 2026-08-12 23:47:27 -07:00
kalsprite
1638bd7e9c fix windows ci 2026-08-12 23:16:51 -07:00
kalsprite
9a2164ac2e abi test harness 2026-08-12 23:05:14 -07:00
kalsprite
a3573c83cd fix long -> int64_t for win64 2026-08-12 18:52:33 -07:00
gingerBill
fa342bb540 Merge pull request #7292 from kalsprite/sysv_source_type
amd64/arm64: classify aggregates from the source type
2026-08-12 19:43:29 +02:00
Mihail Moskov
6a81351de3 fixes float to 128-bit int/uint conversion 2026-08-12 19:25:46 +03:00
Jeroen van Rijn
44b2f201f5 Remove log 2026-08-12 14:09:07 +02:00
Jeroen van Rijn
e5bf7ba6e3 Skip some tests on riscv 2026-08-12 13:59:51 +02:00
kalsprite
2285f4e061 sysv abi 2026-08-11 16:53:57 -07:00
Mihail Moskov
9e73c20197 adds the pop procedure family for soa arrays 2026-08-11 15:21:23 +03:00
corley
87912a8b88 fixes range loop over array elements in soa containers 2026-08-11 03:20:13 +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
gingerBill
769184db41 Merge pull request #7259 from corleypc/soa-swizzle-fix
Fixes swizzles on array elements in soa containers
2026-08-09 12:05:07 +02:00
corley
7b45adf8e9 fixes swizzling for array elements in soa arrays/slices 2026-08-09 03:17:04 +03:00
Michael Tesař
60061fe4ba Register issue 7012 regression test 2026-08-09 00:15:46 +02:00
Michael Tesař
d01ec95ebe Create regression test 2026-08-09 00:01:14 +02:00
kalsprite
3756aae0f8 incorp specialized-vs-generic poly 2026-08-07 17:58:35 -07:00
kalsprite
b475525997 Merge branch 'master' into poly 2026-08-07 17:41:30 -07:00
kalsprite
3dc7741e06 correct windows limb size 2026-08-07 15:18:46 -07:00
kalsprite
5393a11ee1 untyped integral float index conversion to int 2026-08-07 14:49:25 -07:00
kalsprite
114cbd7432 add proc group test matrix 2026-08-07 11:30:06 -07:00
Jeroen van Rijn
e140512954 Update test_issue_7188.odin
Add missing commas.
2026-08-07 20:05:53 +02:00
gingerBill
bc32696a5a Merge pull request #7239 from catermujo/push-oyzvqkzwnlzz
llvm: handle #soa fixed compound literals for vars
2026-08-07 19:58:11 +02:00
jack gleeson
2162e7605e core/unicode/utf8: Fix truncated text for grapheme clusters 2026-08-07 10:36:14 -06:00
Isabella Basso
e94d3d4871 llvm: handle #soa fixed compound literals for vars 2026-08-06 16:43:52 -03:00
Jeroen van Rijn
1daec0865c Merge pull request #7234 from michtesar/fix/net-percent-encode
Fix percent encoding for bytes < 0x10
2026-08-06 13:54:36 +02:00
Michael Tesař
a1cb87c1c4 Add decode roundtrip test 2026-08-06 07:14:50 +02:00
Michael Tesař
56d8293ae0 Restore formatting and remove unused import 2026-08-05 23:58:33 +02:00
Michael Tesař
f7f95ad763 Add percent_encode_test to test percent 2026-08-05 23:40:57 +02:00
gingerBill
cce7159a55 Merge pull request #7208 from Taylbr/poly-proc-fix
Fix: Polymorphic procedures resolving to nil + further fixes
2026-08-05 16:56:34 +02:00
gingerBill
cd1e8293d7 Merge pull request #7185 from subotac/fix/variadic-tuple-arguments
fix: pack tuple results into variadic arguments
2026-08-05 16:56:24 +02:00
Jeroen van Rijn
ddf60b459d #+build !netbsd 2026-08-05 12:28:39 +02:00
Jeroen van Rijn
fd3d182ee5 Assuage NetBSD CI 2026-08-05 12:12:08 +02:00
Brody
21fd0c4645 fix: bad merge 2026-08-05 00:40:13 +10:00