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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [cris/] [asm-b-1.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do assemble } */
2
/* { dg-options "-O2" } */
3
 
4
/* Checking that the "b" constraint is accepted, for all target variants.  */
5
 
6
long sys_ipc (void)
7
{
8
  long __gu_err = -14;
9
  long dummy_for_get_user_asm_64_;
10
  __asm__ __volatile__( "move.d [%1+],%0\n"
11
                        : "=r" (__gu_err), "=b" (dummy_for_get_user_asm_64_)
12
                        : "0" (__gu_err));
13
 
14
  return __gu_err;
15
}

powered by: WebSVN 2.1.0

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