https://bugs.llvm.org/show_bug.cgi?id=48597
Bug ID: 48597
Summary: [AMDGPU][MC][GFX8+] VOP3 v_interp incorrectly handles
constants and literals
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AMDGPU
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
VOP3 INTERP instructions with src3 being a constant or a literal result in
/*invalid immediate*/.
Examples:
v_interp_p2_f16 v5, v2, attr0.x, 0
v_interp_p2_f16 v5, v2, attr0.x, 1
v_interp_p2_f16 v5, v2, attr0.x, 1234
v_interp_p2_f16 v5, v2, attr0.x, 1.0
These instructions are assembled fine but operands cannot be printed:
v_interp_p2_f16 v5, v2, attr0.x, /*invalid immediate*/
v_interp_p2_f16 v5, v2, attr0.x, /*invalid immediate*/
v_interp_p2_f16 v5, v2, attr0.x, /*invalid immediate*/
v_interp_p2_f16 v5, v2, attr0.x, /*invalid immediate*/
VOP3 INTERP instructions with src1 being a constant or a literal result in an
exception.
An example of failed test:
v_interp_p2_f16 v5, 0, attr0.x, v0
Note that sp3 does not allow constants and literals for src operands of these
instructions.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs