Skip to content

Simd fixes#210

Merged
froggey merged 2 commits intofroggey:masterfrom
iskamag:simd-fixes
Apr 13, 2026
Merged

Simd fixes#210
froggey merged 2 commits intofroggey:masterfrom
iskamag:simd-fixes

Conversation

@iskamag
Copy link
Copy Markdown
Contributor

@iskamag iskamag commented Apr 13, 2026

No description provided.

@froggey
Copy link
Copy Markdown
Owner

froggey commented Apr 13, 2026

What's happening here is (:object-unscaled ,object 0 ,index-unboxed) is still scaling the index by 8, as while the scale for the slot is 1 (because of :object-unscaled the scale of the index is 8 by default and separate from the slot scaling. index-unboxed can't be used as the slot here as it's non constant, hence slot 0. Setting the index scale to 1 is the right way to go here, and using either :object or :object-unscaled is fine, I think other parts of the compiler use :object for this case too. LGTM 👍

@froggey froggey merged commit 65eb31d into froggey:master Apr 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants