gcc/testsuite/gcc.target/riscv/pr110748-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target hard_float } */ |
| 3 | /* { dg-options "-march=rv64g -mabi=lp64d -O2" } */ |
| 4 | |
| 5 | |
| 6 | void zd(double *d) { *d = 0.0; } |
| 7 | void zf(float *f) { *f = 0.0; } |
| 8 | |
| 9 | /* { dg-final { scan-assembler-not "\tfmv\\.d\\.x\t" } } */ |
| 10 | /* { dg-final { scan-assembler-not "\tfmv\\.s\\.x\t" } } */ |