[llvm-bugs] [Bug 39298] New: [AMDGPU][MC][GFX7] Could 16-bit instructions use inline literals?
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Oct 15 07:58:37 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=39298
Bug ID: 39298
Summary: [AMDGPU][MC][GFX7] Could 16-bit instructions use
inline literals?
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AMDGPU
Assignee: unassignedbugs at nondot.org
Reporter: dpreobrazhensky at luxoft.com
CC: llvm-bugs at lists.llvm.org
GFX7 has only a few 16-bit opcodes, for example v_cvt_f32_f16. Could these
opcodes correctly use inline constants or should they be handled as literals?
Current implementation enables inline constants with v_cvt_f32_f16:
v_cvt_f32_f16_e32 v0, -1 ; encoding: [0xc1,0x16,0x00,0x7e]
In our discussion with Artem (dated back to 03 February, 2017) it was decided
to disable 16-bit incline constants for test generator. They are encoded as
32-bit literals. This result in failures for v_cvt_f32_f16 and
v_cvt_f32_f16_e64.
Could anybody clarify if CI HW supports 16-bit inline constants?
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181015/78f06620/attachment.html>
More information about the llvm-bugs
mailing list