[all-commits] [llvm/llvm-project] 15b37e: [builtins] Omit 80-bit builtins on Android and MSVC

Ryan Prichard via All-commits all-commits at lists.llvm.org
Thu Jul 16 15:11:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 15b37e1cfa5f09af376a47a1bc67d67bb5c7848b
      https://github.com/llvm/llvm-project/commit/15b37e1cfa5f09af376a47a1bc67d67bb5c7848b
  Author: Ryan Prichard <rprichard at google.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M compiler-rt/lib/builtins/CMakeLists.txt

  Log Message:
  -----------
  [builtins] Omit 80-bit builtins on Android and MSVC

long double is a 64-bit double-precision type on:
 - MSVC (32- and 64-bit x86)
 - Android (32-bit x86)

long double is a 128-bit quad-precision type on x86_64 Android.

The assembly variants of the 80-bit builtins are correct, but some of
the builtins are implemented in C and require that long double be the
80-bit type passed via an x87 register.

Reviewed By: compnerd

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




More information about the All-commits mailing list