]> granicus.if.org Git - clang/commit
[X86][PowerPC] Support -mlong-double-128
authorFangrui Song <maskray@google.com>
Fri, 12 Jul 2019 02:32:15 +0000 (02:32 +0000)
committerFangrui Song <maskray@google.com>
Fri, 12 Jul 2019 02:32:15 +0000 (02:32 +0000)
commit586c626a72115fe7a32b7cee305081b83aea6731
treeb2762e9f8a683b0b037d525eb335987992b9f88d
parent27cd6f0ade36b2399fb0198ce5a2ecf17e9bde38
[X86][PowerPC] Support -mlong-double-128

This patch makes the driver option -mlong-double-128 available for X86
and PowerPC. The CC1 option -mlong-double-128 is available on all targets
for users to test on unsupported targets.

On PowerPC, -mlong-double-128 uses the IBM extended double format
because we don't support -mabi=ieeelongdouble yet (D64283).

Reviewed By: rnk

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365866 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Basic/TargetInfo.cpp
lib/Basic/Targets/PPC.cpp
lib/Basic/Targets/X86.h
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/ppc64-long-double.cpp
test/CodeGen/x86-long-double.cpp
test/Driver/mlong-double-128.c [new file with mode: 0644]