This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
__m128 data type *not* auto aligned with GCC. :-/
- From: Ozzy <ozzy at orkysquad dot org>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 30 Dec 2002 20:58:54 +0200
- Subject: __m128 data type *not* auto aligned with GCC. :-/
Hi,
I'm working on a port from a win32 prg to linux.
My last problem is due to automatic data alignment under VisualC++ or
ICC when u are
using __m128 data types inside your sets of structures. In fact, i
haven't been able to get
the right/same structure bytes fields organisation with GCC while using
:
__attribute__((aligned(16)))
is this aligning something??????
or
#pragma pack(push,16)
(may get same structure size but not exactly padded as it was intended)
or
the combination of both but it doesn't work aswell. ;)
Anyhow, any help is welcome on the subject! I hope that 3.3 will fix
that problem which makes Instrinsics code portability a real nightmare!
:)=
bye,
Ozzy.