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

            Bug ID: 37949
           Summary: [X86] library call for rint. GCC: cvtss2si/cvtsd2si
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedb...@nondot.org
          Reporter: roland.sch...@intel.com
                CC: llvm-bugs@lists.llvm.org

lrintf/llrint are missed optimization opportunities compared to GCC.
GCC (at least since 4.8) with "-O3 -fno-math-errno" compiles them into
cvtss2si/cvtsd2si and only uses library calls without those flags. Clang always
compiles them into library calls.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to