(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
p9-fpcvt-1.c
       1  /* { dg-do compile } */
       2  /* { dg-require-effective-target powerpc_p9vector_ok } */
       3  /* { dg-options "-mdejagnu-cpu=power9 -O2" } */
       4  
       5  void sc (signed char    *p, double x) { *p = x; }
       6  void uc (unsigned char  *p, double x) { *p = x; }
       7  void ss (signed short   *p, double x) { *p = x; }
       8  void us (unsigned short *p, double x) { *p = x; }
       9  
      10  /* { dg-final { scan-assembler     "stxsibx" } } */
      11  /* { dg-final { scan-assembler     "stxsihx" } } */
      12  /* { dg-final { scan-assembler-not "mfvsrd"  } } */
      13  /* { dg-final { scan-assembler-not "mfvsrwz" } } */
      14  /* { dg-final { scan-assembler-not "mtvsrd"  } } */
      15  /* { dg-final { scan-assembler-not "mtvsrwa" } } */
      16  /* { dg-final { scan-assembler-not "mtvsrwz" } } */