[llvm-bugs] [Bug 48711] New: [AMDGPU][MC] Incorrect handling of carry in/out operands in VOP3

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 11 04:44:43 PST 2021


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

            Bug ID: 48711
           Summary: [AMDGPU][MC] Incorrect handling of carry in/out
                    operands in VOP3
           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

Assembler expects that carry-in and carry-out operands are registers. However
when a constant is specified, it breaks assembler. 

Assembler should be corrected to detect these cases and issue a meaningful
error message.

Examples of failed tests:

    // VI
    v_addc_u32 v1, -1, v2, v3, vcc
    v_addc_u32 v1, vcc, v2, v3, 0

    // GFX10, ws=32
    v_add_co_ci_u32_e64 v5, 0, v1, v2, s1
    v_add_co_ci_u32_e64 v5, s0, v1, v2, 1

-- 
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/20210111/1444780f/attachment.html>


More information about the llvm-bugs mailing list