Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Ruihan-Yin
Copy link
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.
@ghost ghost 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
Copy link

ghost commented Aug 7, 2023

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

@JulieLeeMSFT JulieLeeMSFT added this to the 8.0.0 milestone Aug 7, 2023
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
1. remove un-needed helper function.
2. move the Evexb check into the display function.
@BruceForstall BruceForstall merged commit 6f40dbb into dotnet:main Aug 9, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 9, 2023
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 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.

4 participants