[PATCH] D125506: [PowerPC] Implement XL compat __fnabs and __fnabss builtins.
Amy Kwan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 12 16:08:05 PDT 2022
amyk created this revision.
amyk added reviewers: PowerPC, power-llvm-team, nemanjai, lei.
amyk added a project: LLVM.
Herald added subscribers: shchenz, hiraditya.
Herald added a project: All.
amyk requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This patch implements the following floating point negative absolute value
builtins that required for compatibility with the XL compiler:
double __fnabs(double);
float __fnabss(float);
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D125506
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Basic/Targets/PPC.cpp
clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-fnabs.c
llvm/include/llvm/IR/IntrinsicsPowerPC.td
llvm/lib/Target/PowerPC/P10InstrResources.td
llvm/lib/Target/PowerPC/P9InstrResources.td
llvm/lib/Target/PowerPC/PPCBack2BackFusion.def
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/lib/Target/PowerPC/PPCInstrVSX.td
llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-fnabs.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125506.429085.patch
Type: text/x-patch
Size: 10868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220512/2c57edd1/attachment.bin>
More information about the llvm-commits
mailing list