Skip to content

Conversation

@TIHan
Copy link
Contributor

@TIHan TIHan commented Dec 9, 2021

This improves the ARM64 JIT disassembly by displaying the ext register by its correct size in 'cmp', 'add', and 'sub'.
This should handle more cases from: #36846

Left is without the change. Right is with the change.
These are the only diffs.
before_after1
before_after2

@dotnet/jit-contrib

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Dec 9, 2021
@ghost
Copy link

ghost commented Dec 9, 2021

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

Issue Details

Currently work-in-progress as it currently regresses a few 'add' and 'sub' instructions.

Various JIT disassembly fixes for ARM64.
before_after1

Author: TIHan
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@TIHan TIHan force-pushed the arm64-jit-disassem-fixes1 branch from 33b29aa to eafa3b4 Compare December 9, 2021 18:18
@TIHan TIHan force-pushed the arm64-jit-disassem-fixes1 branch from eafa3b4 to 813a10f Compare December 9, 2021 18:58
@TIHan TIHan changed the title [WIP] Improve ARM64 JIT disassembly Improve ARM64 JIT disassembly Dec 13, 2021
@TIHan
Copy link
Contributor Author

TIHan commented Dec 13, 2021

This is ready.

@AndyAyersMS
Copy link
Member

@BruceForstall PTAL

This should handle more cases from: #36846

Are you planning on handling more of these cases in subsequent changes, or are we done?

@TIHan
Copy link
Contributor Author

TIHan commented Dec 14, 2021

Are you planning on handling more of these cases in subsequent changes, or are we done?

I'm planning on making more PRs in the future to fix more cases.

@BruceForstall BruceForstall self-requested a review December 15, 2021 00:16
@TIHan TIHan merged commit fcaf311 into dotnet:main Dec 15, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jan 14, 2022
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.

3 participants