[GCC-XML] mmx, sse, sse2, sse3, etc...
Cyrus Harmon
ch-gccxml at bobobeach.com
Fri Mar 10 14:11:13 EST 2006
Thanks for the tip. BTW, my initial attempt at this gives me the
following in the XML file:
...
<Unimplemented id="_35793" tree_code="9"
tree_code_name="vector_type" node="0x7cba80"/>
...
for the following:
typedef float __m128 __attribute__ ((__vector_size__ (16)));
So it seems that GCC-XML at least recognizes that it can't deal with
these. I really don't anticipate needing these types anytime soon,
but rather I'm just trying to get the QuickTime headers to get
gccxml'ed appropriately on x86/macos. I can probably keep commenting
out buts until it works, but I thought I would pass this along.
Cyrus
On Mar 10, 2006, at 9:07 AM, Brad King wrote:
> 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