OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [frv/] [all-tls-local-exec-TLS.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-options "-ftls-model=local-exec -mfdpic -mTLS" } */
2
/* { dg-do compile } */
3
static __thread int x;
4
extern void bar ();
5
int *y;
6
 
7
void foo (void)
8
{
9
  bar ();
10
  y = &x;
11
}
12
/* { dg-final { scan-assembler "sethi.*tlsmoffhi\\(x\\)," } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.