Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <5B5552F3-D771-4CF9-97D9-EBE861F386F5@mac.com>
Date: Fri, 15 Nov 2013 16:30:22 -0600
From: James Gregurich <bayoubengal@....com>
To: musl@...ts.openwall.com
Subject: Re: question float.h & powerpc


After digging through llvm source code all day and finding

    if (getTriple().getOS() == llvm::Triple::FreeBSD ||
        getTriple().getVendor() == llvm::Triple::ELLCC) {
      LongDoubleWidth = LongDoubleAlign = 64;
      LongDoubleFormat = &llvm::APFloat::IEEEdouble;
    }


I believe the answer to my question is to build my own llvm 3.4 rather than using Apple’s clang which is based on llvm 3.3 and probably doesn’t have this code in it.




On Nov 15, 2013, at 1:47 PM, James Gregurich <bayoubengal@....com> wrote:

> thanks for the info.
> 
> I’m researching the clang docs right now to see how to do it. I don’t understand why the ellcc guys wouldn’t have addressed this already, but I haven’t asked them yet.
> 
> Fortunately, I doubt our codebase actually uses double-double, but the toolchain still needs to build correctly so I don’t want to hack it.
> 
> On Nov 15, 2013, at 1:42 PM, Rich Felker <dalias@...ifal.cx> wrote:
> 
>> GCC has options to easily switch the compiler to using 64-bit long
>> double on powerpc. I'm not sure about clang, though.
> 


Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.