[Bug target/43175] __builtin_ia32_vec_perm_v4si doesn't work with AVX

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Feb 25 15:10:00 GMT 2010



------- Comment #4 from ubizjak at gmail dot com  2010-02-25 15:10 -------
I think that this code:

  i[0].s[0] = 0;
  i[0].s[1] = 1;
  i[0].s[2] = 2;
  i[0].s[3] = 3;
  i[0].s[4] = 4;
  i[0].s[5] = 5;
  i[0].s[6] = 6;
  i[0].s[7] = 7;

is also wrong. You have i[1].s[4].


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43175



More information about the Gcc-bugs mailing list