On Wed, Oct 24, 2018 at 02:27:07PM +0200, Richard Biener wrote: > If vec_sel is really a bitwise merge then there's no choice but using > BIT_{AND,IOR,NOT}_EXPR for open-coding it. I suppose the > original builtin expanded to an UNSPEC because there's nothing > in RTL besides bitwise operations describing the semantics.
The machine instructions vsel/xxsel work by bit, yes. Segher