While I was there, I decided to improve another bit of VEC_SELECT simplification (this supersedes the patch in the father of this message). Adding Uros in Cc: because I am touching the x86 backend. Sorry to add yet another insn variant, but I don't see how we can avoid it here. The x86 and RTL parts are independent, but the testcases need both. bootstrap+testsuite on x86_64-linux. (for next stage1 I assume) 2012-12-02 Marc Glisse PR target/43147 PR target/44551 gcc/ * simplify-rtx.c (simplify_binary_operation_1) : Improve VEC_SELECT and VEC_CONCAT subcases. * config/i386/sse.md (*sse_shufps__single): New. gcc/testsuite/ * gcc.target/i386/pr43147.c: New testcase. * gcc.target/i386/pr44551.c: New testcase. -- Marc Glisse