| 1 |
/* { dg-do assemble } */ |
| 2 |
/* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */ |
| 3 |
/* { dg-add-options arm_v8_2a_bf16_neon } */ |
| 4 |
/* { dg-additional-options "-save-temps -O2 -mfloat-abi=hard" } */ |
| 5 |
/* { dg-final { check-function-bodies "**" "" } } */ |
| 6 |
|
| 7 |
#include "arm_neon.h" |
| 8 |
|
| 9 |
/* |
| 10 |
**test_vst1_bf16: |
| 11 |
** vst1.16 {d0}, \[r0\] |
| 12 |
** bx lr |
| 13 |
*/ |
| 14 |
void |
| 15 |
test_vst1_bf16 (bfloat16_t *a, bfloat16x4_t b) |
| 16 |
{ |
| 17 |
vst1_bf16 (a, b); |
| 18 |
} |
| 19 |
|
| 20 |
/* |
| 21 |
**test_vst1q_bf16: |
| 22 |
** vst1.16 {d0-d1}, \[r0\] |
| 23 |
** bx lr |
| 24 |
*/ |
| 25 |
void |
| 26 |
test_vst1q_bf16 (bfloat16_t *a, bfloat16x8_t b) |
| 27 |
{ |
| 28 |
vst1q_bf16 (a, b); |
| 29 |
} |