10 lines
301 B
C
10 lines
301 B
C
/* { dg-do compile } */
|
|
|
|
void clkgen_switch(unsigned int base, unsigned int offset, int val)
|
|
{
|
|
volatile unsigned int __attribute__ ((uncached)) *dest =
|
|
(volatile unsigned int __attribute__ ((uncached)) *) (base + offset);
|
|
*dest = val;
|
|
}
|
|
/* { dg-final { scan-assembler-times "st\.di" 2 } } */
|