Evandro Menezes <e.mene...@samsung.com> wrote: > > I got the scalar version going, but I'm stuck with the vector version. > As you can see above, I need to use the complement of the mask produced > by FCMEQ to squelch the offending vector element. However, the way in > which FCMEQ is defined in GCC, it produces an integer vector and the > SIMD AND only takes integer vectors. I'm stuck at how to pass an FP > vector to AND and then its integer vector back to an FP insn.
You can use gen_rtx_SUBREG(mcmp, xsqrt, 0) to change the mode to an integer vector on the AND instruction and back to mode for the destination. Wilco