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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2
/* { dg-options "-O -frerun-cse-after-loop -fschedule-insns2 -fselective-scheduling2 -fno-tree-ch -funroll-loops --param=max-sched-extend-regions-iters=2 --param=max-sched-region-blocks=15" } */
3
extern void *memcpy(void *dest, const void *src, __SIZE_TYPE__ n);
4
 
5
void bar (void *, void *, void *);
6
 
7
void foo
8
  (void *p, char *data, unsigned data_len)
9
{
10
  int buffer[8];
11
  int buf2[8];
12
  unsigned i;
13
  for (i = 0; i + 8 <= data_len; i += 8)
14
    bar (p, buffer, data + i);
15
  memcpy (buf2, data + i, data_len);
16
}

powered by: WebSVN 2.1.0

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