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

[AMDGPU][MC][GFX11] Some VOP3.DPP8 opcodes cannot be decoded #56163

Closed
dpreobra opened this issue Jun 22, 2022 · 3 comments
Closed

[AMDGPU][MC][GFX11] Some VOP3.DPP8 opcodes cannot be decoded #56163

dpreobra opened this issue Jun 22, 2022 · 3 comments
Assignees
Labels
backend:AMDGPU bug Indicates an unexpected problem or unintended behavior mc Machine (object) code

Comments

@dpreobra
Copy link
Collaborator

An example of failed test:

0x00,0x00,0xc2,0xd4,0xe9,0x04,0x02,0x00,0x01,0x77,0x39,0x05

Expected output:

v_cmpx_eq_i32_e64_dpp v1, v2 dpp8:[7,6,5,4,3,2,1,0]

Actual result:

v_dot2acc_f32_f16 v156, v1, v187 ; encoding: [0x01,0x77,0x39,0x05]

See also bug #56065. The root cause is the same.
A fix is pending.

@dpreobra dpreobra added bug Indicates an unexpected problem or unintended behavior backend:AMDGPU mc Machine (object) code labels Jun 22, 2022
@dpreobra dpreobra self-assigned this Jun 22, 2022
@llvmbot
Copy link
Collaborator

llvmbot commented Jun 22, 2022

@llvm/issue-subscribers-bug

@llvmbot
Copy link
Collaborator

llvmbot commented Jun 22, 2022

@llvm/issue-subscribers-backend-amdgpu

dpreobra added a commit that referenced this issue Jun 23, 2022
Fix bug #56163.
Add W32/W64 tests for all VOP3.DPP opcodes.

Differential Revision: https://reviews.llvm.org/D128369
@dpreobra
Copy link
Collaborator Author

Fixed by commit dcb24f9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:AMDGPU bug Indicates an unexpected problem or unintended behavior mc Machine (object) code
Projects
None yet
Development

No branches or pull requests

2 participants