Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/aarch64/sve/acle/general/unoptimized_1.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 run { target aarch64_sve_hw } } */ #include <arm_sve.h> svfloat32_t foo (float *ptr) { svbool_t pg = svptrue_pat_b32 (SV_VL1); svfloat32_t res = svld1 (pg, ptr); return res; } int main (void) { svbool_t pg = svptrue_pat_b32 (SV_VL1); float x[1] = { 1 }; if (svptest_any (pg, svcmpne (pg, foo (x), 1.0))) __builtin_abort (); return 0; }