[llvm-bugs] [Bug 45925] New: [AMDGPU][MC][GFX7+] Instructions v_mul_i32_i24_e64 and v_mul_u32_u24_e64 do not support clamp modifier

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 14 04:03:15 PDT 2020


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

            Bug ID: 45925
           Summary: [AMDGPU][MC][GFX7+] Instructions v_mul_i32_i24_e64 and
                    v_mul_u32_u24_e64 do not support clamp modifier
           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

_sdwa variants of these opcodes do support clamp while _e64 versions do not.
sp3 supports clamp for both _sdwa and _e64 variants.

An example of a failed test:

    v_mul_u32_u24_e64 v5, v1, v2 clamp

An example of a passed test:

    v_mul_u32_u24_sdwa v5, v1, v2 clamp dst_sel:DWORD

-- 
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/20200514/90fb0310/attachment.html>


More information about the llvm-bugs mailing list