URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [microblaze/] [others/] [sdata_var5.c] - Rev 691
Compare with Previous | Blame | View Log
/* { dg-options "-mxl-gp-opt -G 16" } */ /* { dg-final { scan-assembler "\.sdata\[^2]+" } } */ struct test_s { int a; int b; int c; int d; } global = { 1, 2, 3, 4 }; int testfunc () { /* { dg-final { scan-assembler "\lwi\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r13" } } */ return global.a; }