On 1/14/2012 9:58 PM, Sean Cavanaugh wrote:
MS has three types, __m128, __m128i and __m128d (float, int, double)

Six if you count AVX's 256 forms.

On 1/7/2012 6:54 PM, Peter Alexander wrote:
On 7/01/12 9:28 PM, Andrei Alexandrescu wrote:
I agree with Manu that we should just have a single type like __m128 in
MSVC. The other types and their conversions should be solvable in a
library with something like strong typedefs.


The trouble with MS's scheme, is given the following:

    __m128i v;
    v += 2;

Can't tell what to do. With D,

   int4 v;
   v += 2;

it's clear (add 2 to each of the 4 ints).

Reply via email to