(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
vsqrt-2.c
       1  /* PR target/64821 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-fdump-tree-optimized" } */
       4  #include <arm_neon.h>
       5  
       6  /* Check that we lower __builtin_aarch64_sqrt* into the internal function SQRT. */
       7  /* { dg-final { scan-tree-dump-times " __builtin_aarch64_sqrt" 0 "optimized" } } */
       8  /* { dg-final { scan-tree-dump-times " \\\.SQRT " 4 "optimized" } } */
       9  
      10  float64x1_t f64(float64x1_t a)
      11  {
      12        return vsqrt_f64 (a);
      13  }
      14  
      15  float64x2_t f64q(float64x2_t a)
      16  {
      17        return vsqrtq_f64 (a);
      18  }
      19  
      20  float32x2_t f32(float32x2_t a)
      21  {
      22        return vsqrt_f32 (a);
      23  }
      24  
      25  float32x4_t f32q(float32x4_t a)
      26  {
      27        return vsqrtq_f32 (a);
      28  }