Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/arm/thumb2-cmpneg2add-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
/* Use ADDS clobbering source operand, rather than CMN */ /* { dg-options "-mthumb -Os" } */ /* { dg-require-effective-target arm_thumb2_ok } */ /* { dg-final { scan-assembler "adds" } } */ /* { dg-final { scan-assembler-not "cmn" } } */ void foo1(void); void bar5(int x) { if (x == -15) foo1(); }