[all-commits] [llvm/llvm-project] 2abc33: [PowerPC] [Clang] Define macros to identify quad-f...

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Wed Nov 11 18:26:35 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2abc33683b2b702c00c366d56c6285fda6d1e436
      https://github.com/llvm/llvm-project/commit/2abc33683b2b702c00c366d56c6285fda6d1e436
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)

  Changed paths:
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/test/CodeGen/ppc64-long-double.cpp

  Log Message:
  -----------
  [PowerPC] [Clang] Define macros to identify quad-fp semantics

We have option -mabi=ieeelongdouble to set current long double to
IEEEquad semantics. Like what GCC does, we need to define
__LONG_DOUBLE_IEEE128__ macro in this case, and __LONG_DOUBLE_IBM128__
if using PPCDoubleDouble.

Reviewed By: steven.zhang

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




More information about the All-commits mailing list