[llvm-bugs] [Bug 37949] New: [X86] library call for rint. GCC: cvtss2si/cvtsd2si
llvm-bugs at lists.llvm.org
Tue Jun 26 22:11:55 PDT 2018
Bug ID: 37949
Summary: [X86] library call for rint. GCC: cvtss2si/cvtsd2si
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: Roland.Schulz at Intel.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs