[Power9] Add lib calls for float128 operations with no equivalent PPC instructions
authorLei Huang <lei@ca.ibm.com>
Thu, 5 Jul 2018 15:21:37 +0000 (15:21 +0000)
committerLei Huang <lei@ca.ibm.com>
Thu, 5 Jul 2018 15:21:37 +0000 (15:21 +0000)
commit5612b90694ed2c6b37c89ac9a643b34c873452b0
tree8e093cf8d7f5138a00271544835a9a31a90dc4da
parentefe84b9d12d09f0fd3e58ee2833cbeda3c0d903c
[Power9] Add lib calls for float128 operations with no equivalent PPC instructions

Map the following instructions to the proper float128 lib calls:
  pow[i], exp[2], log[2|10], sin, cos, fmin, fmax

Differential Revision: https://reviews.llvm.org/D48544

llvm-svn: 336361
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/f128-arith.ll