Re: [x86, 4/n] Replace builtins with vector extensions

2014-11-09 Thread Uros Bizjak
On Sat, Nov 8, 2014 at 1:49 PM, Marc Glisse wrote: > Hello, > > this patch uses &|^ for 128 bit integer vectors. I am doing the operations > in type __v2du because __builtin_ia32_pand128 was apparently taking __v2di > arguments, but using __v4su or any other should be equivalent. Even __int128 > w

[x86, 4/n] Replace builtins with vector extensions

2014-11-08 Thread Marc Glisse
Hello, this patch uses &|^ for 128 bit integer vectors. I am doing the operations in type __v2du because __builtin_ia32_pand128 was apparently taking __v2di arguments, but using __v4su or any other should be equivalent. Even __int128 would in principle be ok, but since it is not usually stored