[GCC-XML] mmx, sse, sse2, sse3, etc...

Brad King brad.king at kitware.com
Fri Mar 10 12:07:34 EST 2006


Cyrus Harmon wrote:
> In particular, the reference to the built-in  
> __builtin_ia32_vec_init_v2si fails here:
> 
> /* Convert I to a __m64 object.  The integer is zero-extended to 64- 
> bits.  */
> static __inline __m64  __attribute__((__always_inline__, __nodebug__))
> _mm_cvtsi32_si64 (int __i)
> {
>   return (__m64) __builtin_ia32_vec_init_v2si (__i, 0);
> }

Look in the GCC_XML/Support/GCC/4.0/gccxml_builtins.h file.  You can add 
the proper signature for these builtins to solve the problem.  If you 
get it working send me a patch and I'll commit it to GCC-XML in CVS.

Thanks,
-Brad



More information about the gccxml mailing list