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

            Bug ID: 35962
           Summary: [AMDGPU][MC] Incorrect encoding of VDATA for image
                    atomics
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedb...@nondot.org
          Reporter: dpreobrazhen...@luxoft.com
                CC: llvm-bugs@lists.llvm.org

VDATA specified in the instruction is not encoded; VADDR is encoded instead.
For example (VI):

image_atomic_add v6, v255, s[8:15] dmask:0x1

    0x00,0x01,0x48,0xf0,0xff,0xff,0x02,0x00 // VADDR=VDATA=0xff

image_atomic_add v252, v2, s[8:15] dmask:0x1

    0x00,0x01,0x48,0xf0,0x02,0x02,0x02,0x00 // VADDR=VDATA=0x02

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to