HomePhabricator

[PowerPC][compiler-rt][builtins]Fix __fixunstfti builtin on PowerPC

Authored by lei on Nov 8 2019, 9:39 AM.

Description

[PowerPC][compiler-rt][builtins]Fix __fixunstfti builtin on PowerPC

__fixunstfti converts a long double (IBM double-double) to an unsigned 128 bit
integer. This patch enables it to handle a previously unhandled case in which
a negative low double may impact the result of the conversion.

Collaborated with @masoud.ataei and @renenkel.
Patch By: Baptiste Saleil

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

Details

Committed
leiNov 8 2019, 9:57 AM
Differential Revision
D69193: [compiler-rt][builtins][PowerPC] Fix __fixunstfti builtin on PowerPC
Parents
rG8204d9ff7ef5: Properly propagate is_variadic.
Branches
Unknown
Tags
Unknown