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 } */
17 for (int i
= 0; i
< N
; i
++)
26 /* { dg-final { scan-assembler-not {dls\s\S*,\s\S*} } } */
27 /* { dg-final { scan-assembler-not {le\slr,\s\S*} } } */