llvm-project/clang/lib
Fangrui Song 6bd02a442c [PowerPC] Support -mabi=ieeelongdouble and -mabi=ibmlongdouble
gcc PowerPC supports 3 representations of long double:

* -mlong-double-64

  long double has the same representation of double but is mangled as `e`.
  In clang, this is the default on AIX, FreeBSD and Linux musl.

* -mlong-double-128

  2 possible 128-bit floating point representations:

  + -mabi=ibmlongdouble
    IBM extended double format. Mangled as `g`
    In clang, this is the default on Linux glibc.
  + -mabi=ieeelongdouble
    IEEE 754 quadruple-precision format. Mangled as `u9__ieee128` (`U10__float128` before gcc 8.2)
    This is currently unavailable.

This patch adds -mabi=ibmlongdouble and -mabi=ieeelongdouble, and thus
makes the IEEE 754 quadruple-precision long double available for
languages supported by clang.

Reviewed By: hfinkel

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

llvm-svn: 366044
2019-07-15 07:25:11 +00:00
..
ARCMigrate Change std::{lower,upper}_bound to llvm::{lower,upper}_bound or llvm::partition_point. NFC 2019-07-03 08:13:17 +00:00
AST Initialize the non-trivial C union bits I added to RecordDeclBitfields 2019-07-13 03:59:55 +00:00
ASTMatchers Revert "[clang] Fixing windows buildbot after D61552" 2019-06-20 10:34:02 +00:00
Analysis [analyzer] exploded-graph-rewriter: Improve source location dumps. 2019-07-12 02:10:33 +00:00
Basic [PowerPC] Support -mabi=ieeelongdouble and -mabi=ibmlongdouble 2019-07-15 07:25:11 +00:00
CodeGen [SystemZ] Add support for new cpu architecture - arch13 2019-07-12 18:14:51 +00:00
CrossTU [analyzer] Add analyzer option to limit the number of imported TUs 2019-07-08 12:37:10 +00:00
DirectoryWatcher [DirectoryWatcher][NFC] Silence warnings in release build 2019-07-12 22:25:17 +00:00
Driver [PowerPC] Support -mabi=ieeelongdouble and -mabi=ibmlongdouble 2019-07-15 07:25:11 +00:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format clang-format: Add new style option AlignConsecutiveMacros 2019-07-02 15:53:14 +00:00
Frontend [PowerPC] Support -mabi=ieeelongdouble and -mabi=ibmlongdouble 2019-07-15 07:25:11 +00:00
FrontendTool [clang-ifs] Clang Interface Stubs, first version (second landing attempt). 2019-06-20 16:59:48 +00:00
Headers [SystemZ] Add support for new cpu architecture - arch13 2019-07-12 18:14:51 +00:00
Index [Concepts] Concept definitions (D40381) 2019-07-10 21:25:49 +00:00
Lex Delete dead stores 2019-07-12 14:04:34 +00:00
Parse [Concepts] Concept definitions (D40381) 2019-07-10 21:25:49 +00:00
Rewrite [Rewrite] Extend to further accept CharSourceRange 2019-07-06 02:55:06 +00:00
Sema Fix uninitialized variable analyzer warning. NFCI. 2019-07-14 19:13:09 +00:00
Serialization [Sema] Diagnose default-initialization, destruction, and copying of 2019-07-13 01:47:15 +00:00
StaticAnalyzer Delete dead stores 2019-07-12 14:04:34 +00:00
Tooling Re-land [JSONCompilationDatabase] Strip distcc/ccache/gomacc wrappers from parsed commands. 2019-07-12 23:38:31 +00:00
CMakeLists.txt Reland [clang] DirectoryWatcher 2019-07-12 20:34:10 +00:00