[all-commits] [llvm/llvm-project] d11ec6: [Clang] Enable IC/IF mode for __ibm128

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Mon Oct 11 02:41:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d11ec6f67e45c630ab87bfb6010dcc93e89542fc
      https://github.com/llvm/llvm-project/commit/d11ec6f67e45c630ab87bfb6010dcc93e89542fc
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2021-10-11 (Mon, 11 Oct 2021)

  Changed paths:
    M clang/lib/Basic/TargetInfo.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/test/CodeGenCXX/ibm128-declarations.cpp
    M clang/test/Sema/attr-mode.c

  Log Message:
  -----------
  [Clang] Enable IC/IF mode for __ibm128

As for 128-bit floating points on PowerPC, compiler should have three
machine modes:

- IFmode, always IBM extended double
- KFmode, always IEEE 754R 128-bit floating point
- TFmode, matches the semantics for long double

This commit adds support for IF mode with its complex variant, IC mode.

Reviewed By: rjmccall

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




More information about the All-commits mailing list