gcc/testsuite/gcc.target/s390/zvector/vec_extend_to_fp32_hi.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O3 -mzarch -march=arch14 -mzvector" } */ |
| 3 | |
| 4 | #include <vecintrin.h> |
| 5 | |
| 6 | vector float |
| 7 | test_vec_extend_to_fp32_hi (vector unsigned short int a) |
| 8 | { |
| 9 | return vec_extend_to_fp32_hi (a, 0); |
| 10 | } |
| 11 | |
| 12 | /* { dg-final { scan-assembler-times "vclfnh\t" 1 } } */ |