URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [microblaze/] [others/] [sdata_var3.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-options "-mxl-gp-opt" } */ extern int a; /* { dg-final { scan-assembler "\.sdata2" } } */ const int global1 = 10; extern const int global2; int testfunc () { /* { dg-final { scan-assembler "\lwi\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r2" } } */ return global2 + global1; }
Go to most recent revision | Compare with Previous | Blame | View Log