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] - Rev 689

Compare with Previous | Blame | View Log

/* { dg-do compile } */
/* { dg-options "-fgnu-tm -O3" } */
 
/* On x86-64, the vectorizer creates V2DI uses which we must handle.
   Similarly for other vector architectures.  */
 
void ** newElements;
 
__attribute__((transaction_safe))
long
TMqueue_push (void** queuePtr)
{
   long src;
   for (src = 1; src < 9; src++) {
     newElements[src+1] = queuePtr[src];
   }
   return 1;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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