gcc/testsuite/gcc.target/s390/vector/long-double-caller-abi-scan.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O3 -march=z14 -mzarch" } */ |
| 3 | #include <assert.h> |
| 4 | |
| 5 | long double long_double_callee (long double x, int n, ...); |
| 6 | |
| 7 | int |
| 8 | main () |
| 9 | { |
| 10 | assert (long_double_callee (1.L, 2, 2.L, 3.L) == 6.L); |
| 11 | } |
| 12 | |
| 13 | /* { dg-final { scan-assembler-times {\n\tvst\t} 3 } } */ |