This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]