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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [cris/] [asm-b-1.c] - Rev 826

Compare with Previous | Blame | View Log

/* { dg-do assemble } */
/* { dg-options "-O2" } */
 
/* Checking that the "b" constraint is accepted, for all target variants.  */
 
long sys_ipc (void)
{
  long __gu_err = -14;
  long dummy_for_get_user_asm_64_;
  __asm__ __volatile__( "move.d [%1+],%0\n"
			: "=r" (__gu_err), "=b" (dummy_for_get_user_asm_64_)
			: "0" (__gu_err));
 
  return __gu_err;
}
 

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.