http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54079
--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2012-07-24 10:45:32 UTC --- Probably there is a compelling reason you don't use tmmintrin.h. Anyway, the error is a bit unfortunate, you have to pass 8*N to the builtin.