[llvm-bugs] [Bug 35161] New: [X86] Legacy scalar sqrt, rsqrt, and rcp intrinsics should select EVEX instructions when available

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 1 11:49:47 PDT 2017


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

            Bug ID: 35161
           Summary: [X86] Legacy scalar sqrt, rsqrt, and rcp intrinsics
                    should select EVEX instructions when available
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: craig.topper at gmail.com
                CC: llvm-bugs at lists.llvm.org

int_x86_sse_rcp_ss, int_x86_sse_rsqrt_ss, int_x86_sse_sqrt_ss, and
int_x86_sse2_sqrt_sd should use EVEX instructions when possible. 

RCP and RSQRT may require more thought. The EVEX versions come in 2 precisions
and we don't EVEX->VEX either of those. Though we do use RSQRT14/RCP14 for the
packed legacy intrinsics with AVX512VL

-- 
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/20171101/c428a4b3/attachment-0001.html>


More information about the llvm-bugs mailing list