(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
fold-vec-madd-float.c
       1  /* Verify that overloaded built-ins for vec_madd with float
       2     inputs produce the right results.  */
       3  
       4  /* { dg-do compile } */
       5  /* { dg-require-effective-target powerpc_vsx_ok } */
       6  /* { dg-options "-mvsx -O2" } */
       7  
       8  #include <altivec.h>
       9  
      10  vector float
      11  testf_l (vector float vf2, vector float vf3, vector float vf4)
      12  {
      13    return vec_madd (vf2, vf3, vf4);
      14  }
      15  
      16  /* { dg-final { scan-assembler-times "xvmaddmsp|xvmaddasp" 1 } } */
      17