[llvm-bugs] [Bug 45830] New: [AMDGPU][MC][GFX9+] Instructions v_add_i32 and v_sub_i32 do not support clamp modifier

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 7 07:57:35 PDT 2020


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

            Bug ID: 45830
           Summary: [AMDGPU][MC][GFX9+] Instructions v_add_i32 and
                    v_sub_i32 do not support clamp modifier
           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

sp3 supports clamp for v_add_i32 and v_sub_i32. Ilya verified that clamp works
on gfx9 HW.

An example of failed test:

    v_add_i32    v0, v1, v2 clamp

These opcodes were renamed to v_add_nc_i32 and v_sub_nc_i32 in gfx10. They
should also be corrected to support clamp.

-- 
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/20200507/8a1391c6/attachment.html>


More information about the llvm-bugs mailing list