Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_load_from_array.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-require-effective-target arm_v8_1m_mve_ok } */ /* { dg-add-options arm_v8_1m_mve } */ /* { dg-additional-options "-O2" } */ #include "arm_mve.h" uint16x8_t foo (void) { static uint16_t const a[] = {0, 1, 2, 3, 4, 5, 6, 7}; return vld1q (a); } uint16_t b[] = {0, 1, 2, 3, 4, 5, 6, 7}; void bar (uint16x8_t value) { vst1q (b, value); }