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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [mips/] [const-anchor-1.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* Derive a constant (0x1233ffff) from an intermediate value
2
   (0x1234000) used to build another constant.  */
3
/* { dg-options "-O" } */
4
/* { dg-final { scan-assembler-not "0x12330000|305332224" } } */
5
/* { dg-final { scan-assembler "addiu\t\\\$5,\\\$\[0-9\]*,-1" } } */
6
 
7
NOMIPS16 void f ()
8
{
9
  g (0x12340001, 0x1233ffff);
10
}

powered by: WebSVN 2.1.0

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