Skip to content

[AMDGPU][MC] Enables sgpr or imm src1 for float VOP3 DPP, but excludi… #87382

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

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

Sisyph
Copy link
Contributor

@Sisyph Sisyph commented Apr 2, 2024

…ng VOPC.

Fixes support on GFX1150 and GFX12 where src1 of e64_dpp instructions should allow sgpr and imm operands.
PR #67461 added support for this with int operands, but it was missing a piece for float.
Changing VOPC e64_dpp will be in a different patch because there is a bug preventing that change.

Sisyph added a commit to Sisyph/llvm-project that referenced this pull request Apr 2, 2024
Allows src1 of VOP3 encoded VOPC to be an SGPR or inline immediate on
GFX1150Plus

The w32 and w64 _e64_dpp assembler only real instructions were unused,
and erroneously constructed in a way that bugged parsing of the new
instructions. They are removed.

This patch is a follow up to PR llvm#87382
Copy link
Contributor

@jayfoad jayfoad left a comment

Choose a reason for hiding this comment

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

I don't understand all the details of the implementation but this LGTM based on the tests.

…ng VOPC.

Fixes support on GFX1150 and GFX12 where src1 of e64_dpp instructions
should allow sgpr and imm operands.
PR llvm#67461 added support for this with int operands, but it was missing a
piece for float.
Changing VOPC e64_dpp will be in a different patch because there is a bug
preventing that change.
@Sisyph Sisyph force-pushed the main_src1vop3dpp branch from a4caeed to ee54e55 Compare April 3, 2024 14:02
@Sisyph Sisyph merged commit 6a13bbf into llvm:main Apr 3, 2024
Sisyph added a commit to Sisyph/llvm-project that referenced this pull request Apr 3, 2024
Allows src1 of VOP3 encoded VOPC to be an SGPR or inline immediate on
GFX1150Plus

The w32 and w64 _e64_dpp assembler only real instructions were unused,
and erroneously constructed in a way that bugged parsing of the new
instructions. They are removed.

This patch is a follow up to PR llvm#87382
Sisyph added a commit that referenced this pull request Apr 3, 2024
Allows src1 of VOP3 encoded VOPC to be an SGPR or inline immediate on
GFX1150Plus

The w32 and w64 _e64_dpp assembler only real instructions were unused,
and erroneously constructed in a way that bugged parsing of the new
instructions. They are removed.

This patch is a follow up to PR
#87382
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.

2 participants