mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-01 04:29:57 +00:00
Long doubles are required to be aligned to 128 bits and svr4 32 bits.
Clang was already getting this right. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197694 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1427abbf6b
commit
f779a6cacc
@ -52,10 +52,6 @@ static std::string getDataLayoutString(const PPCSubtarget &ST) {
|
||||
else
|
||||
Ret += "-f64:32:64";
|
||||
|
||||
// Set support for 128 floats depending on the ABI.
|
||||
if (!ST.isPPC64() && ST.isSVR4ABI())
|
||||
Ret += "-f128:64:128";
|
||||
|
||||
// PPC64 has 32 and 64 bit registers, PPC32 has only 32 bit ones.
|
||||
if (ST.isPPC64())
|
||||
Ret += "-n32:64";
|
||||
|
Loading…
Reference in New Issue
Block a user