Skip to content

Remove CONFIG_INT128 checks from target/ppc/* #93

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

Open
wants to merge 8 commits into
base: ferst-master
Choose a base branch
from

Conversation

mferst
Copy link

@mferst mferst commented May 30, 2022

PPC-specific methods like avr_qw_not and avr_qw_add will hardly ever be tested and require a #ifdef CONFIG_INT128 inside each helper that uses them. Instead, we should use int128.h, which is shared with other archs and has unit tests.

We also take the opportunity to move some insns to decodetree and drop unnecessary uses of VECTOR_FOR_INORDER_I.

mferst added 7 commits May 30, 2022 09:33
Also drop VECTOR_FOR_INORDER_I usage since there is no need to access
the elements in any particular order, and move the instruction to
decodetree.
And also move the insn to decodetree.
And also move the insns to decodetree and remove the now unused
avr_qw_addc method.
And also move the insn to decodetree.
And also move the insn to decodetree
And also move the insns to decodetree.
And also move the insn to decodetree and remove the now unused
avr_qw_not, avr_qw_cmpu, and avr_qw_add methods.
@mferst mferst self-assigned this May 30, 2022
Copy link

@alqotel alqotel left a comment

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants