[Bug target/64821] [AArch64] Improve target folding for vsqrt_f64 intrinsic

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 10 01:05:32 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64821

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2015-02-16 00:00:00         |2022-1-9

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is a testcase:
  #include <arm_neon.h>
  float64x1_t f(float64x1_t a)
  {
      return vsqrt_f64 (a);
  }

We should fold the __builtin_aarch64_sqrtdf into the internal function .SQRT
which is indepdent of -fno-math-errno .


More information about the Gcc-bugs mailing list