Alejandro Martinez Vicente <alejandro.martinezvice...@arm.com> writes: > Hi, > > I updated the patch to address Wilco's comment and style issues.
OK, thanks. As discussed internally, I think for GCC 10 we should instead make the vectoriser replace copysign with logic ops if the target has no better implementation. This would be similar to the existing code for lowering multiplications by a constant on targets that don't have general multiplication. But this optimisation is important for SPEC, and at the moment we have it for Advanced SIMD and not SVE, which with stretched reasoning you could call a regression introduced by the SVE port. So the patch seems OK for GCC 9 as a functionally-correct contingency until we can do this "properly". Sorry that this is stretching stage 4 rules a bit. I don't think we have any other similar patches queued up for GCC 9. Richard