blob: 9d6bfbbb50e5c55097f5082fe63e19abc96b9c75 [file] [log] [blame]
/* { 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 } } */