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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [asm-a.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-options "-O2" } */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target ilp32 } */
4
 
5
/* The problem was we were not striping the long cast here.
6
   Note this really should be invalid code but not for the
7
   current release (4.0) as we have people using it.  */
8
 
9
void blockCopy_MMX2(int*);
10
void postProcess_MMX2()
11
{
12
  int c, x,y, width;
13
  asm( "" :: "m" ((long)x));
14
  blockCopy_MMX2(&c);
15
}

powered by: WebSVN 2.1.0

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