[cfe-dev] powerpc & double-double size
Hal Finkel
hfinkel at anl.gov
Fri Nov 15 14:36:37 PST 2013
----- Original Message -----
> From: "James Gregurich" <bayoubengal at mac.com>
> To: "cfe-dev at cs.uiuc.edu Developers" <cfe-dev at cs.uiuc.edu>
> Sent: Friday, November 15, 2013 4:29:40 PM
> Subject: Re: [cfe-dev] powerpc & double-double size
>
>
>
> 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.
>
>
Yes. Are you in fact targeting one of those platforms? (Do we need to add something else to the list?)
-Hal
>
>
>
>
>
>
>
>
> On Nov 15, 2013, at 1:28 PM, James Gregurich < bayoubengal at mac.com >
> wrote:
>
>
>
> I’m going through the documentation to look for how to do this, but
> I’m having a harding time finding the useful info. How do you
> configure the clang/llvm build to use a ‘double double’ size of 8
> bytes (as opposed to the excepted 16) on powerPC?
>
>
> gcc has a configure parameter of ' --with-long-double-64 ’ to do
> this, but I don’t see that flag in the llvm configure script.
>
>
> -James
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
More information about the cfe-dev
mailing list