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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [sh/] [pr21255-4.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile { target { sh*-*-* && nonpic } } } */
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.