Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[interp] Add a few super instructions#50361

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@BrzVlad
Copy link
Member

For operations with constants that fit into a single instruction slot (2 byte)

We still need to use this opcode in more places, instead of the generic ldc.i8
We depend on the cprop pass to init local_ref_count. We only add a super instruction if the definition of the an intermediary result is done in the same basic block (the dreg is local var) and it is not used anywhere else, otherwise we can't clear the instruction.
By removing also 2 additional ldloca instructions, and enabling cprop for these vars that no longer have their address taken.
@ghost
Copy link

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

Issue Details

For operations with constants that fit into a single instruction slot (2 byte)

Author:BrzVlad
Assignees:-
Labels:

area-Codegen-Interpreter-mono

Milestone:-

@BrzVladBrzVlad merged commitddb88a4 intodotnet:mainMar 30, 2021
@ghostghost locked asresolvedand limited conversation to collaboratorsApr 29, 2021
@karelzkarelz added this to the6.0.0 milestoneMay 20, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

1 more reviewer

@vargazvargazvargaz approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

6.0.0

Development

Successfully merging this pull request may close these issues.

3 participants

@BrzVlad@vargaz@karelz

[8]ページ先頭

©2009-2025 Movatter.jp