Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[arm64] sxtb, sxth, sxtw instructions disassembly incorrect #35303

Closed
BruceForstall opened this issue Apr 22, 2020 · 3 comments · Fixed by #35379
Closed

[arm64] sxtb, sxth, sxtw instructions disassembly incorrect #35303

BruceForstall opened this issue Apr 22, 2020 · 3 comments · Fixed by #35379
Assignees
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone

Comments

@BruceForstall
Copy link
Member

The JIT disassembly for the sxtw instruction is:

sxtw    x0, x21

It should instead use the w register form in the second position:

sxtw    x0, w21
@BruceForstall BruceForstall added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 22, 2020
@BruceForstall BruceForstall added this to the Future milestone Apr 22, 2020
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Apr 22, 2020
@BruceForstall
Copy link
Member Author

cc @kunalspathak (since you are looking at arm64 disassembly issues)

@BruceForstall BruceForstall removed the untriaged New issue has not been triaged by the area owner label Apr 22, 2020
@echesakov
Copy link
Contributor

sxtb and sxth as well

IN0291: 000A48  93401D47          sxtb    x7, x10
IN0292: 000A4C  93403D65          sxth    x5, x11

@echesakov echesakov changed the title [arm64] sxtw instruction disassembly incorrect [arm64] sxtb, sxth, sxtw instructions disassembly incorrect Apr 22, 2020
@echesakov
Copy link
Contributor

echesakov commented Apr 23, 2020

I am going to fix this since I am working nearby

@echesakov echesakov self-assigned this Apr 23, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
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 a pull request may close this issue.

3 participants