Skip to content

Add emitDispEmbBroadcastCount to display the embedded broadcasted element count. - #90123

Merged
BruceForstall merged 4 commits into
dotnet:mainfrom
Ruihan-Yin:EmbBroadcastSyntax
Aug 9, 2023
Merged

Add emitDispEmbBroadcastCount to display the embedded broadcasted element count.#90123
BruceForstall merged 4 commits into
dotnet:mainfrom
Ruihan-Yin:EmbBroadcastSyntax

Conversation

@Ruihan-Yin

Copy link
Copy Markdown
Member

Description

JitDisasm doesn't include embedded broadcast syntax in disassembly.
Eg.
vaddps zmm0, zmm0, dword ptr [reloc @RWD00]

This PR will add the missing tag with the broadcasted element count, so the new disassembly will look like:

vaddps zmm0, zmm0, dword ptr [reloc @RWD00] {1to16}

the embedded broadcasted element count.
@ghostghost added 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 labels Aug 7, 2023
@ghost

ghost commented Aug 7, 2023

Copy link
Copy Markdown

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

Issue Details

Description

JitDisasm doesn't include embedded broadcast syntax in disassembly.
Eg.
vaddps zmm0, zmm0, dword ptr [reloc @RWD00]

This PR will add the missing tag with the broadcasted element count, so the new disassembly will look like:

vaddps zmm0, zmm0, dword ptr [reloc @RWD00] {1to16}

Author:Ruihan-Yin
Assignees:-
Labels:

area-CodeGen-coreclr

Milestone:-

@JulieLeeMSFTJulieLeeMSFT added this to the 8.0.0 milestone Aug 7, 2023
Comment threadsrc/coreclr/jit/emitxarch.cpp Outdated
Comment threadsrc/coreclr/jit/emitxarch.cpp
rename the previous `emitGetMemOpSize` to `emitGetBaseMemOpSize`,
the new `emitGetMemOpSize` will check if EVEX.b is set and return the
memory size accordingly.
@Ruihan-Yin
Ruihan-Yin marked this pull request as ready for review August 8, 2023 17:58
added 2 missing break
Comment threadsrc/coreclr/jit/emit.h Outdated
Comment threadsrc/coreclr/jit/emitxarch.cpp Outdated
1. remove un-needed helper function.
2. move the Evexb check into the display function.
@BruceForstall
BruceForstall merged commit 6f40dbb into dotnet:mainAug 9, 2023
@ghostghost locked as resolved and limited conversation to collaborators Sep 9, 2023
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 SuperPMIcommunity-contributionIndicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Ruihan-Yin@tannergooding@BruceForstall@JulieLeeMSFT