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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [20050111-1.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR middle-end/19084, rtl-optimization/19348 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
/* { dg-options "-O2 -march=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
5
 
6
unsigned int
7
foo (unsigned long long x)
8
{
9
  unsigned int u;
10
 
11
  if (x == 0)
12
    return 0;
13
  u = (unsigned int) (x >> 32);
14
  return u;
15
}
16
 
17
unsigned long long
18
bar (unsigned short x)
19
{
20
  return (unsigned long long) x << 32;
21
}

powered by: WebSVN 2.1.0

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