[llvm-bugs] [Bug 39324] New: [AMDGPU][MC][GFX9] Incorrect VAddr size for image_sample_b and image_sample_b_o with a16=1
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Oct 16 06:11:43 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=39324
Bug ID: 39324
Summary: [AMDGPU][MC][GFX9] Incorrect VAddr size for
image_sample_b and image_sample_b_o with a16=1
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
According to AMD doc, image_sample_b has the following address components:
- bias;
- at least one coordinate (1D).
Both components may be packed, so in case of a16=1 all address components fit
into one register:
image_sample_b v5, v1, s[8:15], s[12:15] dmask:0x1 a16
This looks like a valid code. However assembler expects at least 64-bit VAddr:
image_sample_b v5, v[1:2], s[8:15], s[12:15] dmask:0x1 a16
A similar problem exists with image_sample_b_o. These two are the only GFX9
instructions which have issues with VAddr size.
--
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/20181016/508981ce/attachment.html>
More information about the llvm-bugs
mailing list