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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [sh/] [sh2a-movi20s.c] - Rev 826

Compare with Previous | Blame | View Log

/* Testcase to check generation of 'MOVI20S #imm20, Rn'.  */
/* { dg-do assemble {target sh*-*-*}}  */
/* { dg-options "-O0" } */
/* { dg-skip-if "" { "sh*-*-*" } "*" "-m2a -m2a-nofpu -m2a-single -m2a-single-only" }  */
/* { dg-final { scan-assembler "movi20s"} }  */
 
volatile long la;
 
void
testfun (void)
{
  la = -134217728;
  la = 134217216;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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