[llvm-bugs] [Bug 38970] New: [X86][AVX] Improve vXi64 to vXf32 ISD::UINT_TO_FP lowering

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 16 10:43:44 PDT 2018


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

            Bug ID: 38970
           Summary: [X86][AVX] Improve vXi64 to vXf32 ISD::UINT_TO_FP
                    lowering
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    spatel+llvm at rotateright.com

https://godbolt.org/z/wQprpd

vXi64 to vXf32 uitofp currently performs a fully scalarized conversion,
including branching depending on whether the uint is out of signed bounds.
Vectorising at least part of this would avoid the branching.

Note: the example 'alt' code hasn't been fully tested, its merely an example.

-- 
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/20180916/cfd65178/attachment.html>


More information about the llvm-bugs mailing list