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

            Bug ID: 30808
           Summary: [mc][gfx8] s_load_dword to support offsets up to 20
                    bits width
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedb...@nondot.org
          Reporter: artem.tama...@amd.com
                CC: andrey.kasau...@gmail.com, artem.tama...@amd.com,
                    i.am.permi...@gmail.com, llvm-bugs@lists.llvm.org,
                    nikolay.haus...@amd.com, sam.kol...@amd.com,
                    valery.pykh...@gmail.com
    Classification: Unclassified

Example of failing instruction:
> s_load_dword s[0], s[0:1], 256

With 255 assembles OK. GCN3 doc says that there are 20-bits in the instruction
for immediate unsigned byte offset. The bug if gfx8-specific.

Tested with r285055 (git# 797783e).

None lit tests available on hand.

-- 
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