News for hackers. Stuff that matters.
Re:The Art of Assembly Language Programming (Linux edition) ... by DarkShikari on Saturday June 18, 2011 @09:05PM (#2669925)
I'm not sure you looked at what I posted. __builtin_ia32_psadbw is right there on the list of builtins. I've used __builtin_ia32_psadbw128 in GCC myself. It compiles directly to PSADW instructions. Perhaps you confused what I was talking about with GCC's auto-vectorization?

Those aren't gcc vectors, those are intrinsics. Vectors use something like this:

    typedef uint32_t v4si __attribute__((vector_size (16)));
    v4si v16 = {v,v,v,v};
__builtin functions that act on __m128 values are separate from "GCC vector instructions".

There are no comments on this comment yet.