Skip to content

Conversation

kunalspathak
Copy link
Contributor

My #113860 exposed a bug in encoding of sve_mov, where we were wrongly skipping the encoding the Zm field and giving wrong instruction.

Fixes: #113939

@Copilot Copilot AI review requested due to automatic review settings April 3, 2025 23:22
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 3, 2025
@kunalspathak
Copy link
Contributor Author

@dotnet/jit-contrib @dotnet/arm64-contrib

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/coreclr/jit/emitarm64sve.cpp:10399

  • Please verify that using id->idReg2() in this branch correctly handles the Zm field encoding for sve_mov as intended, ensuring consistency with the instruction specification.
code |= insEncodeReg_V<20, 16>(id->idReg2()); // mmmmm

Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@kunalspathak
Copy link
Contributor Author

superpmi-diff failures are because osx/arm64 failed to download collection.

@kunalspathak kunalspathak merged commit 14fb8d6 into dotnet:main Apr 4, 2025
112 of 116 checks passed
@kunalspathak kunalspathak deleted the sve-mov branch April 4, 2025 04:51
@github-actions github-actions bot locked and limited conversation to collaborators May 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JIT: Wrong result with ConditionalExtractAfterLastActiveElement
2 participants