SSE2 intrinsic source compatibility
H. J. Lu
hjl@lucon.org
Tue Jun 3 21:30:00 GMT 2003
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.
More information about the Gcc
mailing list