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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr32224.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
typedef unsigned long int *mp_ptr;
3
typedef const unsigned long int *mp_srcptr;
4
gmpz_export (void *data)
5
{
6
  mp_srcptr zp;
7
  int count, i;
8
  mp_ptr __dst = ((mp_ptr) data);
9
  mp_srcptr __src = (zp);
10
 
11
  for (i = 0; i < count; i++)
12
  {
13
    __asm__ ("checkme": "=r" (*__dst):"0" (*(__src)));
14
    __src++;
15
  }
16
}
17
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

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