One important prerequisite for implementing
a new datatype is an update to the ABI(s)
describing how that datatype is handled
when it is a parameter or a return type.

Does anyone know if any of the ABIs
has been updated for int128_t?
E.g. the x64 ABI or the SPARC ABI.

I.e. I assume that gcc has implemented
something, but is that implementation
ad-hoc, or standard?

This is not to say there are any plans
for doing anything yet,
but it would be nice to know
for sizing the project.

Thanks for any info,
Peter.


On 06/06/10 06:27, ольга крыжановская wrote:
Why aren't there any plans? It makes porting gcc/Linux applications
even harder, i.e. I tried to have a look in the Bluetooth stack but it
is littered with int128.

Olga

2010/6/2 Dave Pagan <[email protected]>:
Hi Olga,

Sorry for the delayed response.

No, Sun Studio does not currently support int128. And, for now, there aren't
any current plans to implement it.

--Dave

ольга крыжановская wrote:

Any one?

Olga

2010/5/17 ольга крыжановская <[email protected]>:


Does Sun Studio 12 or a newer version support int128_t and uint128_t?
We're looking into supporting very large flag fields (> 2048 bits) and
a larger integer data type would help.

gcc on Linux seems to support at least this:

#include <stdlib.h>
#include <stdio.h>

int main()
{
       __int128_t x =1;

       printf ("%lld\n", (long long)x);

       return EXIT_SUCCESS;
}

printf() doesn't have to be supported, just the 128 integer data type.

Olga
--
     ,   _                                    _   ,
    { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
     /\/\     Solaris/BSD//C/C++ programmer   /\/\
     `--`                                      `--`







_______________________________________________
tools-compilers mailing list
[email protected]

Reply via email to