From: FX <fxc...@gm...> - 2008-04-21 16:03:38
|
> There is a problem with mmintrin, and I don't know what it is. With an updated gcc targetting x86_64-pc-mingw32, I get: $ cat foo.c typedef int __m64 __attribute__ ((__vector_size__ (8), __may_alias__)); static void foo (__m64 __m1, __m64 __m2) { __builtin_ia32_paddq ((long long)__m1, (long long)__m2); } $ x86_64-pc-mingw32-gcc foo.c -msse2 foo.c: In function 'foo': foo.c:6: error: incompatible type for argument 1 of '__builtin_ia32_paddq' foo.c:6: error: incompatible type for argument 2 of '__builtin_ia32_paddq' $ x86_64-pc-mingw32-gcc -v Using built-in specs. Target: x86_64-pc-mingw32 Configured with: ../../trunk/configure --prefix=/home/FX/irun64 --build=i586-pc-mingw32 --target=x86_64-pc-mingw32 --with-gmp=/home/FX/local --enable-languages=c --disable-werror --disable-nls --disable-libssp --disable-bootstrap --with-sysroot=/home/FX/irun64 Thread model: win32 gcc version 4.4.0 20080421 (experimental) [trunk revision 134506] (GCC) -- FX Coudert http://www.homepages.ucl.ac.uk/~uccafco/ |