* gcc.target/powerpc/builtins-1-be.c <vclzb>: Rename duplicate test
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / p9-fpcvt-1.c
blob314749207d43447c6a4925219062477f49d0c444
1 /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */
2 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */
3 /* { dg-require-effective-target powerpc_p9vector_ok } */
4 /* { dg-options "-mcpu=power9 -O2" } */
6 void sc (signed char *p, double x) { *p = x; }
7 void uc (unsigned char *p, double x) { *p = x; }
8 void ss (signed short *p, double x) { *p = x; }
9 void us (unsigned short *p, double x) { *p = x; }
11 /* { dg-final { scan-assembler "stxsibx" } } */
12 /* { dg-final { scan-assembler "stxsihx" } } */
13 /* { dg-final { scan-assembler-not "mfvsrd" } } */
14 /* { dg-final { scan-assembler-not "mfvsrwz" } } */
15 /* { dg-final { scan-assembler-not "mtvsrd" } } */
16 /* { dg-final { scan-assembler-not "mtvsrwa" } } */
17 /* { dg-final { scan-assembler-not "mtvsrwz" } } */