[Qt-interest] 4.7.2 mingw binary and MMX/SSE support
Konstantin Tokarev
annulen at yandex.ru
Wed Mar 9 10:05:53 CET 2011
09.03.2011, 03:39, "Gabriel M. Beddingfield" <gabrbedd at gmail.com>:
> On Tuesday, March 08, 2011 03:31:15 pm Stephen Chu wrote:
>
>> Thanks for the pointer to the gcc extensions. It seems to
>> be a much easier way to do simple vectors.
>
> Actually... it's about the same. Using vectors is the whole point of SSE. If you look in the xmmintrin.h, you'll
> even see how it's pretty much the same:
>
> /* The Intel API is flexible enough that we must allow aliasing with other
> vector types, and their scalar components. */
> typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__));
>
> /* Internal data types for implementing the intrinsics. */
> typedef float __v4sf __attribute__ ((__vector_size__ (16)));
You can also use convenient Eigen library to operate with vectors with effective use of SIMD
on more platforms than x86/x86_64
--
Regards,
Konstantin
More information about the Qt-interest-old
mailing list