URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [frv/] [all-tls-local-exec-TLS.c] - Rev 847
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-options "-ftls-model=local-exec -mfdpic -mTLS" } */ /* { dg-do compile } */ static __thread int x; extern void bar (); int *y; void foo (void) { bar (); y = &x; } /* { dg-final { scan-assembler "sethi.*tlsmoffhi\\(x\\)," } } */
Go to most recent revision | Compare with Previous | Blame | View Log