This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
SSE2 intrinsic source compatibility
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 3 Jun 2003 14:27:01 -0700
- Subject: SSE2 intrinsic source compatibility
There is a source compatibility issue between gcc and icc. On icc,
there is
typedef union __declspec(align(8)) {__int64 __m;} __m64;
In gcc, we have
typedef int __m64 __attribute__ ((__mode__ (__V2SI__)));
The problem is icc takes
_m64 foo = { 0xFFFFFFFFFFFFFFFF };
_m64 bar [] = { 0xFFFFFFFFFFFFFFFF };
while gcc takes
__m64 foo = {0xFFFFFFFF, 0xFFFFFFFF};
__m64 bar [] = {{0xFFFFFFFF, 0xfFFFFFFF}};
How hard to make gcc to take icc notation?
H.J.