std.math performance (SSE vs. real)

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 4 09:38:49 PDT 2014


On 4 July 2014 17:31, Daniel Murphy via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> "Iain Buclaw via Digitalmars-d"  wrote in message
> news:mailman.3268.1404486824.2907.digitalmars-d at puremagic.com...
>
>
>> You're confusing long double with size_t.  I did a cursory look up
>> msvc++ mangling, and long double is always 'O'.  The itanium spec says
>> that long double is 'e' - unless 128bits in which case it is 'g'.
>
>
> Yes, so msvc++ has two 64-bit floating types with different manglings, and D
> has one.  D does not have a type that can be used to match long double's
> mangling with msvc.

No, msvc++ has one mangle type.  Itanium has two, but you're never
going to run into a situation where there's a conflict because long
double can't be both 80bit and 128bit at the same time!


More information about the Digitalmars-d mailing list