RFC: More ia64 intrinsics
Mark Mitchell
mark@codesourcery.com
Sat Jun 21 00:49:00 GMT 2003
On Fri, 2003-06-20 at 15:23, H. J. Lu wrote:
> On Fri, Jun 20, 2003 at 12:54:09PM -0700, Mark Mitchell wrote:
> >
> > > Ok, I will do that. There is another issue. Intel intrinsics uses
> > > __int64 for 64bit integer type. It is used in
> > >
> > > unsigned __int64
> > > const __int64
> > >
> > > I can't use typedef. I can do
> > >
> > > #define __int64 long long
> > >
> > > But I don't know if it is a good idea. __int64 is a builtin type in
> > > Intel compiler so that it isn't a problem. Any suggestions?
> >
> > Use <stdint.h> and grab int64_t?
> >
> > Or make __int64 a builtin type, as with the Intel compiler.
> >
> > For builtins, you can usually use DImode internally.
>
> __int64 is used in intrinsic prototype. How do I add __int64 to ia64
You can add it to ia64 only. There are machine specific builtin types
for this purpose. You will have to look around to see how this is done;
I don't know off the top of my head.
--
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC
More information about the Gcc
mailing list