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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [sh/] [sh2a-movi20s.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 'MOVI20S #imm20, Rn'.  */
2
/* { dg-do assemble {target sh*-*-*}}  */
3
/* { dg-options "-O0" } */
4
/* { dg-skip-if "" { "sh*-*-*" } "*" "-m2a -m2a-nofpu -m2a-single -m2a-single-only" }  */
5
/* { dg-final { scan-assembler "movi20s"} }  */
6
 
7
volatile long la;
8
 
9
void
10
testfun (void)
11
{
12
  la = -134217728;
13
  la = 134217216;
14
}

powered by: WebSVN 2.1.0

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