Skip to content

JIT: Don't show code bytes for loongarch64 disasm unless it was told to do so #112486

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

Merged
merged 2 commits into from
Feb 23, 2025

Conversation

hez2010
Copy link
Contributor

@hez2010 hez2010 commented Feb 12, 2025

Keep the same behavior with other architectures. We were using the incorrect knob.

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Feb 12, 2025
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Feb 12, 2025
Copy link
Contributor

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

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 wasn't able to review any files in this pull request.

Files not reviewed (1)
  • src/coreclr/jit/emitloongarch64.cpp: Language not supported

Copy link

@xen0n xen0n left a comment

Choose a reason for hiding this comment

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

The previous logic seems similar to that of the aarch64 port, except the aarch64 code early-returns on !emitComp->opts.disCodeBytes. We probably want to emit the instruction hex when disCodeBytes && !disDiffable.

@hez2010
Copy link
Contributor Author

hez2010 commented Feb 14, 2025

PTAL

Copy link

@xen0n xen0n left a comment

Choose a reason for hiding this comment

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

Thanks!

@hez2010
Copy link
Contributor Author

hez2010 commented Feb 19, 2025

cc @jakobbotsch Can you take a look?

@jakobbotsch
Copy link
Member

@shushanhf can you also approve?

Copy link
Contributor

@shushanhf shushanhf left a comment

Choose a reason for hiding this comment

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

sorry for late response.
LGTM
Thanks

@jakobbotsch jakobbotsch merged commit 2a51ee3 into dotnet:main Feb 23, 2025
120 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-loongarch64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants