Debian Codegraph @

gcc/testsuite/gcc.target/arm/simd/bf16_mmla_1.c

raw
1 /* { dg-do assemble } */
2 /* { dg-require-effective-target arm_hard_ok } */
3 /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
4 /* { dg-add-options arm_v8_2a_bf16_neon } */
5 /* { dg-additional-options "-save-temps -O2 -mfloat-abi=hard" } */
6 /* { dg-final { check-function-bodies "**" "" } } */
7
8 #include <arm_neon.h>
9
10 /*
11 **test_vmmlaq_f32:
12 ** ...
13 ** vmmla.bf16 q0, q1, q2
14 ** bx lr
15 */
16 float32x4_t
17 test_vmmlaq_f32 (float32x4_t r, bfloat16x8_t x, bfloat16x8_t y)
18 {
19 return vbfmmlaq_f32 (r, x, y);
20 }