[PATCH] D64067: [X86][PPC] Support -mlong-double-64
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 3 21:18:35 PDT 2019
MaskRay added a comment.
`-mlong-double-128` is not supported now. The mangling scheme of `-mlong-double-64` is consistent with gcc on x86 and ppc.
% g++ a.cc -S -o - | grep '^_Z3foo'
_Z3fooe:
% g++ a.cc -S -o - -mlong-double-64 | grep '^_Z3foo'
_Z3fooe:
% g++ a.cc -S -o - -mlong-double-128 | grep '^_Z3foo'
_Z3foog:
% powerpc64le-linux-gnu-g++ a.cc -S -o - -mlong-double-64 | grep '^_Z3foo'
_Z3fooe:
% powerpc64le-linux-gnu-g++ a.cc -S -o - -mlong-double-128 -mabi=ibmlongdouble | grep '^_Z3foo'
_Z3foog:
% powerpc64le-linux-gnu-g++ a.cc -S -o - -mlong-double-128 -mabi=ieeelongdouble | grep '^_Z3foo'
_Z3fooU10__float128:
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64067/new/
https://reviews.llvm.org/D64067
More information about the cfe-commits
mailing list