Patch eece6ba283bd changed the src1 type of v_ldexp_f16 from i32 to
i16. Though semantically src1 is an i16, the hardware reads this operand as an
f16 type, which primarily enables floating point inline constants.
Therefore this patch changes the operand type to f16. It maintains the
current behavior where floating point source modifiers are not allowed
on src1. SDWA sext modifier continues to be allowed.
The test asm and disasm test changes in eece6ba283bd are reverted,
because the floating point inline constants are allowed.
Details
Details
- Reviewers
arsenm foad - Commits
- rGab927a998397: [AMDGPU] Fix operand class of v_ldexp_f16 src1
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo