Skip to content

Conversation

@SingleAccretion
Copy link
Contributor

@SingleAccretion SingleAccretion commented Feb 4, 2022

This time, we were overestimating mov [addr], imm (by 4 bytes).

Another small step towards CLS_VAR deletion.

A small number of positive diffs.

@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 Feb 4, 2022
@ghost
Copy link

ghost commented Feb 4, 2022

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

Issue Details

This, time, we were overestimating mov [addr], imm (by 4 bytes).

Another small step towards CLS_VAR deletion.

We are expecting a small number of positive diffs.

Author: SingleAccretion
Assignees: -
Labels:

area-CodeGen-coreclr, community-contribution

Milestone: -

Comment on lines -2783 to +2789
Copy link
Contributor Author

@SingleAccretion SingleAccretion Feb 4, 2022

Choose a reason for hiding this comment

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

mov reg, imm64 does not get here as this is for the M-format instructions, so there is no need to check for it.

Also, this comment is intentionally copied verbatim from emitInsSizeAM.

@SingleAccretion SingleAccretion force-pushed the Fix-Size-Estimate-For-Movs branch from 25fe641 to 1a2400a Compare February 5, 2022 18:06
@SingleAccretion SingleAccretion marked this pull request as ready for review February 6, 2022 15:36
@SingleAccretion
Copy link
Contributor Author

@dotnet/jit-contrib

@BruceForstall BruceForstall merged commit 829fe59 into dotnet:main Feb 8, 2022
@SingleAccretion SingleAccretion deleted the Fix-Size-Estimate-For-Movs branch February 9, 2022 19:08
@ghost ghost locked as resolved and limited conversation to collaborators Mar 12, 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 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.

2 participants