Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/arm/neon-vmla-1.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-require-effective-target arm_neon_hw } */ /* { dg-options "-O2 -ftree-vectorize -ffast-math" } */ /* { dg-add-options arm_neon } */ /* { dg-final { scan-assembler "vmla\\.i32" } } */ /* Verify that VMLA is used. */ void f1(int n, int a, int x[], int y[]) { int i; for (i = 0; i < n; ++i) y[i] = a * x[i] + y[i]; }