[llvm-commits] [LLVM, SelectionDAG] fix for #9905: Failure in code selection for llvm intrinsics sqrt/exp

Stepan Dyatkovskiy stpworld at narod.ru
Thu Dec 1 01:14:59 PST 2011


Hi all. Please find the patch and regression tests in attachment for review.
This patch for ARM. It fixes selection for several instructions that 
works with v4f32 arguments: FSQRT, FSIN, FCOS, FPOWI, FPOW, FLOG, FLOG2, 
FLOG10, FEXP, FEXP2.
I'm still worrying about FCOPYSIGN, FNEG, FABS, FCEIL, FTRUNC, FRINT, 
FNEARBYINT, FFLOOR. I could not found a way to add this instructions 
with v2f32 argument to DAG. It seems that it is impossible in ToT. So 
these instructions was not fixed.

-Stepan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9905-regtests.patch
Type: text/x-patch
Size: 15968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111201/46bf9a36/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9905.patch
Type: text/x-patch
Size: 2787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111201/46bf9a36/attachment-0001.bin>


More information about the llvm-commits mailing list