OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr21255-4.c] - Blame information for rev 645

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile { target "sh*-*-*" } } */
2
/* { dg-options "-O2 -fomit-frame-pointer" } */
3
 
4
double
5
f ()
6
{
7
  double r;
8
 
9
  asm ("mov %S1,%S0; mov %R1,%R0" : "=r" (r) : "i" (f));
10
/* { dg-error "invalid operand to %S" "" {target "sh*-*-*" }  9 } */
11
/* { dg-error "invalid operand to %R" "" {target "sh*-*-*" }  9 } */
12
  return r;
13
}

powered by: WebSVN 2.1.0

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