Skip to content

Improve ARM64 JIT disassembly - #62557

Merged
TIHan merged 2 commits into
dotnet:mainfrom
TIHan:arm64-jit-disassem-fixes1
Dec 15, 2021
Merged

Improve ARM64 JIT disassembly#62557
TIHan merged 2 commits into
dotnet:mainfrom
TIHan:arm64-jit-disassem-fixes1

Conversation

@TIHan

@TIHanTIHan commented Dec 9, 2021

Copy link
Copy Markdown
Contributor

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

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

ghost commented Dec 9, 2021

Copy link
Copy Markdown

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:-

Comment threadsrc/coreclr/jit/codegenarm64.cpp Outdated
Comment threadsrc/coreclr/jit/codegenarm64.cpp Outdated
@TIHan
TIHanforce-pushed the arm64-jit-disassem-fixes1 branch from 33b29aa to eafa3b4CompareDecember 9, 2021 18:18
@TIHan
TIHanforce-pushed the arm64-jit-disassem-fixes1 branch from eafa3b4 to 813a10fCompareDecember 9, 2021 18:58
@TIHanTIHan changed the title [WIP] Improve ARM64 JIT disassemblyImprove ARM64 JIT disassemblyDec 13, 2021
@TIHan

Copy link
Copy Markdown
ContributorAuthor

This is ready.

@AndyAyersMS

Copy link
Copy Markdown
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
Copy Markdown
ContributorAuthor

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:mainDec 15, 2021
@ghostghost locked as resolved and limited conversation to collaborators Jan 14, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclrCLR 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

@TIHan@AndyAyersMS@BruceForstall