------- Comment #5 from ubizjak at gmail dot com 2008-05-29 14:30 ------- Please note that psrlq doesn't implement x[N] << y[N] shift, but x[N] << y shift. That is, all elements are shifted by the same value. Please see Intel instruction reference.
Also, psrlq doesn't support memory operands. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36370