> could you take a look at the small simplify-rtx bit of this patch to see > if the general approach makes sense to you? > > (this targets 4.9 and passes bootstrap+testsuite on x86_64-linux) > > The point of this transformation is to avoid writing a second define_insn > in config/i386/sse.md as in the older patch: > http://gcc.gnu.org/ml/gcc-patches/2012-12/msg00028.html > > (similar patches for multiplication, division, etc will follow, and this > will avoid an extra entry in sse.md for each of these operations)
I'm not a specialist of vector support though. You should ask RTH instead here (CCed), who has a far more comprehensive view of this stuff than me. -- Eric Botcazou