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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [sh/] [sh2a-movrt.c] - Blame information for rev 753

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

Line No. Rev Author Line
1 691 jeremybenn
/* Testcase to check generation of a SH2A specific instruction for
2
   'MOVRT Rn'.  */
3
/* { dg-do assemble {target sh*-*-*}}  */
4
/* { dg-options "-O1" }  */
5
/* { dg-skip-if "" { "sh*-*-*" } "*" "-m2a -m2a-nofpu -m2a-single -m2a-single-only" }  */
6
/* { dg-final { scan-assembler "movrt"} }  */
7
 
8
int
9
foo (void)
10
{
11
  int a, b, g, stop;
12
  if (stop = ((a + b) % 2 != g))
13
    ;
14
  return stop;
15
}

powered by: WebSVN 2.1.0

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