Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/bf16_vstn.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do assemble { target { aarch64*-*-* } } } */ /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */ /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */ /* { dg-add-options arm_v8_2a_bf16_neon } */ #include <arm_neon.h> void test_vst1_bf16_x2 (bfloat16_t *ptr, bfloat16x4x2_t val) { vst1_bf16_x2 (ptr, val); } void test_vst1q_bf16_x2 (bfloat16_t *ptr, bfloat16x8x2_t val) { vst1q_bf16_x2 (ptr, val); } void test_vst1_bf16_x3 (bfloat16_t *ptr, bfloat16x4x3_t val) { vst1_bf16_x3 (ptr, val); } void test_vst1q_bf16_x3 (bfloat16_t *ptr, bfloat16x8x3_t val) { vst1q_bf16_x3 (ptr, val); } void test_vst1_bf16_x4 (bfloat16_t *ptr, bfloat16x4x4_t val) { vst1_bf16_x4 (ptr, val); } void test_vst1q_bf16_x4 (bfloat16_t *ptr, bfloat16x8x4_t val) { vst1q_bf16_x4 (ptr, val); } void test_vst1_lane_bf16 (bfloat16_t *ptr, bfloat16x4_t val) { vst1_lane_bf16 (ptr, val, 3); } void test_vst1q_lane_bf16 (bfloat16_t *ptr, bfloat16x8_t val) { vst1q_lane_bf16 (ptr, val, 7); } void test_vst1_bf16 (bfloat16_t *ptr, bfloat16x4_t val) { vst1_bf16 (ptr, val); } void test_vst1q_bf16 (bfloat16_t *ptr, bfloat16x8_t val) { vst1q_bf16 (ptr, val); } void test_vst2_bf16 (bfloat16_t *ptr, bfloat16x4x2_t val) { vst2_bf16 (ptr, val); } void test_vst2q_bf16 (bfloat16_t *ptr, bfloat16x8x2_t val) { vst2q_bf16 (ptr, val); } void test_vst3_bf16 (bfloat16_t *ptr, bfloat16x4x3_t val) { vst3_bf16 (ptr, val); } void test_vst3q_bf16 (bfloat16_t *ptr, bfloat16x8x3_t val) { vst3q_bf16 (ptr, val); } void test_vst4_bf16 (bfloat16_t *ptr, bfloat16x4x4_t val) { vst4_bf16 (ptr, val); } void test_vst4q_bf16 (bfloat16_t *ptr, bfloat16x8x4_t val) { vst4q_bf16 (ptr, val); } int main() { return 0; }