Skip to content
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

Misc. Power linkage cleanup #3868

Merged
merged 4 commits into from
May 22, 2019
Merged

Misc. Power linkage cleanup #3868

merged 4 commits into from
May 22, 2019

Conversation

0xdaryl
Copy link
Contributor

@0xdaryl 0xdaryl commented May 20, 2019

  • Remove and fold calculateParameterRegisterOffset from Linkage
  • Remove and fold calculateActualParameterOffset from Linkage
  • Fold and simplify code in Power linkage saveArguments
  • Unify float/double handling in Power linkage

@0xdaryl
Copy link
Contributor Author

0xdaryl commented May 20, 2019

@genie-omr build plinux

This is a Power-specific change. A full genie build is not required.

@0xdaryl
Copy link
Contributor Author

0xdaryl commented May 20, 2019

@ymanton @gita-omr, I'd appreciate a review from at least one of you please.

Copy link
Contributor

@ymanton ymanton left a comment

Choose a reason for hiding this comment

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

LGTM, one minor suggestion.

compiler/p/codegen/OMRLinkage.cpp Outdated Show resolved Hide resolved
0xdaryl added 4 commits May 21, 2019 12:41
The Power Linkage defines this function which is entirely short-circuited
on all implementations.  Remove it and fold code around it.

Signed-off-by: Daryl Maier <[email protected]>
The Power Linkage defines this function which is entirely short-circuited
on all implementations.  Remove it and fold code around it.

Signed-off-by: Daryl Maier <[email protected]>
* fold paths guarded with `all_saved` as it is only false

* simplify some instruction generation paths

Signed-off-by: Daryl Maier <[email protected]>
Unify handling of float and doubles in loadUpArguments/flushArguments.

Signed-off-by: Daryl Maier <[email protected]>
@0xdaryl
Copy link
Contributor Author

0xdaryl commented May 21, 2019

@genie-omr build plinux

@0xdaryl
Copy link
Contributor Author

0xdaryl commented May 22, 2019

Reviews and testing have completed. Would another committer (e.g., @Leonardo2718 @fjeremic ) mind merging this please?

@fjeremic fjeremic self-assigned this May 22, 2019
@fjeremic fjeremic merged commit c910b33 into eclipse-omr:master May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants