Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/msp430/emulate-srli.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-skip-if "" { *-*-* } { "-mcpu=msp430" } { "" } } */ /* { dg-options "-Os" } */ /* { dg-final { scan-assembler-not "mspabi_srli" } } */ /* { dg-final { scan-assembler "rrum" } } */ /* Ensure that HImode shifts with source operand in memory are emulated with a rotate instructions. */ unsigned int a; void foo (void) { a = a >> 4; }