Alphabetize my entry in MAINTAINER's DCO list.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / lob3.c
blobf5290063f2880c2d54bfd6b55180c4172464b1e6
1 /* Check that GCC does not generate Armv8.1-M low over head loop instructions
2 if causes VFP emulation library calls to happen inside the loop. */
3 /* { dg-do compile } */
4 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" "-mcpu=*" "-mfloat-abi=hard" } } */
5 /* { dg-options "-march=armv8.1-m.main -mthumb -O3 --save-temps -mfloat-abi=soft" } */
6 /* { dg-require-effective-target arm_softfloat } */
7 #include <stdlib.h>
8 #include "lob.h"
10 double a[N];
11 double b[N];
12 double c[N];
14 int
15 main (void)
17 for (int i = 0; i < N; i++)
19 a[i] = i;
20 b[i] = i * 2;
21 c[i] = a[i] + b[i];
24 return 0;
26 /* { dg-final { scan-assembler-not {dls\s\S*,\s\S*} } } */
27 /* { dg-final { scan-assembler-not {le\slr,\s\S*} } } */