OSDN Git Service

[PowerPC] Support fp128 libcalls
authorFangrui Song <maskray@google.com>
Mon, 15 Jul 2019 05:02:32 +0000 (05:02 +0000)
committerFangrui Song <maskray@google.com>
Mon, 15 Jul 2019 05:02:32 +0000 (05:02 +0000)
commit327110d5cda069f1a79f2bb266c220c0c4dbc9f9
treebe673ac2e82ec4af36f2e2e8a272726b8f6b06f7
parentb0b7c84081906adeba7b33eeb8b4192aefe3f47c
[PowerPC] Support fp128 libcalls

On PowerPC, IEEE 754 quadruple-precision libcall names use "kf" instead of "tf".

In libgcc, libgcc/config/rs6000/float128-sed converts TF names to KF
names. This patch implements its 24 substitution rules.

Reviewed By: hfinkel

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366039 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringBase.cpp
test/CodeGen/PowerPC/fp128-libcalls.ll [new file with mode: 0644]