[all-commits] [llvm/llvm-project] 71f476: [PowerPC][compiler-rt][builtins]Fix __fixunstfti b...

Lei Huang via All-commits all-commits at lists.llvm.org
Fri Nov 8 09:58:36 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 71f4761431a79794b5be24c1d863bcc0c4577e60
      https://github.com/llvm/llvm-project/commit/71f4761431a79794b5be24c1d863bcc0c4577e60
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M compiler-rt/lib/builtins/ppc/fixunstfti.c
    M compiler-rt/test/builtins/Unit/ppc/fixunstfti_test.h

  Log Message:
  -----------
  [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




More information about the All-commits mailing list