1 /* { dg-options "-O" } */
3 #pragma GCC target "+simd+fp16"
6 f1 (__Float16x4_t x
, __Float16x4_t y
)
12 f2 (__Float16x4_t x
, __Float16x4_t y
)
18 f3 (__Float16x4_t x
, __Float16x8_t y
)
24 f4 (__Float16x4_t x
, __Float16x8_t y
)
30 f5 (__Float16x8_t x
, __Float16x4_t y
)
36 f6 (__Float16x8_t x
, __Float16x4_t y
)
42 f7 (__Float16x8_t x
, __Float16x8_t y
)
48 f8 (__Float16x8_t x
, __Float16x8_t y
)
53 /* { dg-final { scan-assembler-times {\tfmul\tv0.4h, v0.4h, v1.h\[0\]} 2 } } */
54 /* { dg-final { scan-assembler-times {\tfmul\tv0.4h, v0.4h, v1.h\[3\]} 1 } } */
55 /* { dg-final { scan-assembler-times {\tfmul\tv0.4h, v0.4h, v1.h\[7\]} 1 } } */
57 /* { dg-final { scan-assembler-times {\tfmul\tv0.8h, v0.8h, v1.h\[0\]} 2 } } */
58 /* { dg-final { scan-assembler-times {\tfmul\tv0.8h, v0.8h, v1.h\[3\]} 1 } } */
59 /* { dg-final { scan-assembler-times {\tfmul\tv0.8h, v0.8h, v1.h\[7\]} 1 } } */