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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr49496.c] - Blame information for rev 708

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR debug/49496 */
2
/* { dg-do compile } */
3
/* { dg-options "-O3 -fcompare-debug" } */
4
 
5
unsigned short u[8], s1[8], s2[8];
6
 
7
void bar (unsigned short *);
8
 
9
void
10
foo (void)
11
{
12
  unsigned short e[8];
13
  int i;
14
  for (i = 0; i < 8; i++)
15
    {
16
      int tmp = s1[i] * s2[i];
17
      e[i] = (tmp & 0xffff0000) >> 16;
18
    }
19
  bar (e);
20
}

powered by: WebSVN 2.1.0

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