This is the mail archive of the
mailing list for the GCC project.
Re: SSE types and structures
On Fri, Jun 14, 2002 at 10:50:41AM +0200, Jan Hubicka wrote:
> I guess we want to 32bit align DFmode, DImode, XFmode and their complex
> variants, but not TFmode, SSE modes and MMX modes.
Why not TFmode? I'm thinking you shouldn't change that either.
> Unfortunately __m64 is typdefed to long long. This makes problems for
> x86-64 ABI, as then it will be passed in the integer register, instead
> of memory, as specified. What kind of breakage can cause if I retype it
> to let say... V8QI?
Another possibility is
typedef unsigned long long __m64 __attribute__((aligned(8)));
but that needs to be checked against Intel's compiler and
how it lays out __m64 in structures. It may be that we
cannot change it at all.