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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tm/] [vector-1.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm -O3" } */
3
 
4
/* On x86-64, the vectorizer creates V2DI uses which we must handle.
5
   Similarly for other vector architectures.  */
6
 
7
void ** newElements;
8
 
9
__attribute__((transaction_safe))
10
long
11
TMqueue_push (void** queuePtr)
12
{
13
   long src;
14
   for (src = 1; src < 9; src++) {
15
     newElements[src+1] = queuePtr[src];
16
   }
17
   return 1;
18
}

powered by: WebSVN 2.1.0

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