[llvm-bugs] [Bug 48846] New: [AMDGPU][MC] image_atomic instructions do not support tfe

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 22 06:49:15 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=48846

            Bug ID: 48846
           Summary: [AMDGPU][MC] image_atomic instructions do not support
                    tfe
           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

The following image atomic instructions are legal and may be assembled by sp3
w/o any issues:

    image_atomic_add v[5:6], v252, s[8:15] dmask:0x1 tfe
    image_atomic_add v[5:7], v252, s[8:15] dmask:0x3 tfe
    image_atomic_cmpswap v[5:7], v252, s[8:15] dmask:0x3 tfe
    image_atomic_cmpswap v[5:9], v252, s[8:15] dmask:0xf tfe

However only the first one may be assembled by llvm assembler and only for
GFX7-GFX9. For GFX10 all of these fail to assemble.

-- 
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/20210122/03eb2cc6/attachment.html>


More information about the llvm-bugs mailing list