URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [mt-loopi1.c] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile { target mt-*-* } } */ /* { dg-options "-O2 -march=ms2" } */ /* { dg-final { scan-assembler "\tloopi " } } */ /* Make sure we generate loopi */ void Const (volatile int *ptr) { int i; for (i = 0; i != 10; i++) *ptr; }
Go to most recent revision | Compare with Previous | Blame | View Log