summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/ppc/fixtfti.c
Commit message (Collapse)AuthorAgeFilesLines
* [PowerPC][compiler-rt][builtins]Add __fixtfti builtin on PowerPCLei Huang2019-11-251-0/+38
Implements __fixtfti builtin for PowerPC. This builtin converts a long double (IBM double-double) to a signed int128. The conversion relies on the unsigned conversion of the absolute value of the long double. Tests included for both positive and negative long doubles. Patch By: Baptiste Saleil Differential Revision: https://reviews.llvm.org/D69730
OpenPOWER on IntegriCloud