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

Subversion Repositories openrisc_me

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

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

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.