[llvm-bugs] [Bug 48638] New: [AMDGPU][MC][DOC] Inconsistent type names for signed integer

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 31 04:05:27 PST 2020


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

            Bug ID: 48638
           Summary: [AMDGPU][MC][DOC] Inconsistent type names for signed
                    integer
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            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

AMDGPU assembler documentation uses both 's' and 'i' symbols to refer signed
integer types - see https://llvm.org/docs/AMDGPU/AMDGPUAsmGFX10.html

For example, 32-bit signed integers are referred to as 's32':

    global_atomic_smax  vdst:opt:s32, vaddr, vdata:s32, saddr offset12s glc slc 

On the other hand, 'i16' is used to refer 16-bit signed integers:

    v_ldexp_f16_e64  vdst, src0:m, src1:i16  clamp

Documentations should use 'i' for signed integer types to match notation
employed for instruction suffices.

-- 
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/20201231/9df51a79/attachment.html>


More information about the llvm-bugs mailing list