[llvm-bugs] [Bug 28244] New: [mc] image_gather4/load/get/sample* -- issues with modifiers, with vgpr_a size etc.
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jun 21 08:47:53 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28244
Bug ID: 28244
Summary: [mc] image_gather4/load/get/sample* -- issues with
modifiers, with vgpr_a size etc.
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AMDGPU
Assignee: artem.tamazov at amd.com
Reporter: artem.tamazov at amd.com
CC: llvm-bugs at lists.llvm.org, nikolay.haustov at amd.com
Classification: Unclassified
Created attachment 16620
--> https://llvm.org/bugs/attachment.cgi?id=16620&action=edit
00123.tests_tg_gfx7_asm_lit1_bug.06.08.min.image_gather_etc-modifiers.zip -
TESTS SHALL BE VERIFIED
Preliminary information on failures (to be verified).
The following ones have problems with some combinations of modifiers:
> image_gather4*
> image_load
> image_load_mip
> image_get_lod
> image_get_resinfo
> image_sample
> image_sample_b
> image_sample_b_cl
> image_sample_c
> image_sample_c_b
> image_sample_c_b_cl
> image_sample_c_cd
> image_sample_c_cl
> image_sample_c_d
> image_sample_c_l
> image_sample_c_lz
> image_sample_cl
> image_sample_l
> image_sample_lz
In the following ones, vgpr_a should have 11 elements while assembler expects
4:
> image_sample_d_cl_o
> image_sample_d_o
> image_sample_cd_cl_o
> image_sample_cd_o
> image_sample_c_d_cl_o
> image_sample_c_d_o
> image_sample_c_cd_cl_o
> image_sample_c_cd_o
Here, vgpr_a should have 10 elements while assembler expects 4:
> image_sample_d
> image_sample_cd
> image_sample_d_cl
> image_sample_cd_cl
> image_sample_c_d_cl
> image_sample_c_cd_cl
Similarly, vgpr_a should have 5 elements while assembler expects 4:
> image_sample_b_cl_o
> image_sample_b_o
> image_sample_c_b_cl_o
> image_sample_c_b_o
> image_sample_c_cl_o
> image_sample_c_l_o
> image_sample_c_lz_o
> image_sample_c_o
> image_sample_cl_o
> image_sample_l_o
> image_sample_lz_o
> image_sample_o
The issue needs to be carefully verified/investigated.
Some GFX7 lit tests attached (both failing and passing ones). These tests are
not guaranteed to be valid, though.
Tested with r273139 (git # 4a94acfea8bfd6eb6b5809dd40f03e1fa42e673a)
--
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/20160621/42d0a16c/attachment.html>
More information about the llvm-bugs
mailing list