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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr30505.c] - Rev 149

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

/* PR inline-asm/30505 */
/* { dg-do compile { target ilp32 } } */
/* { dg-options "-O2" } */
 
unsigned long long a, c;
unsigned int b, d;
 
void
test ()
{
  unsigned int e, f;
 
  __asm__ ("divl %5;movl %1, %0;movl %4, %1;divl %5"
	   : "=&rm" (e), "=a" (f), "=d" (d)
	   : "1" ((unsigned int) (a >> 32)), "g" ((unsigned int) a),
	     "rm" (b), "2" (0)
	   : "cc");
  c = (unsigned long long) e << 32 | f;
}
 

Go to most recent revision | 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.