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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do assemble } */
2
/* { dg-options "-O3 -funroll-all-loops" } */
3
 
4
extern char inbuf[];
5
extern char outbuf[];
6
extern unsigned insize;
7
extern unsigned inptr;
8
static int max_len;
9
static int peek_bits;
10
void build_tree() {
11
  int len;
12
  char *prefixp;
13
  max_len = inbuf[inptr++];
14
  peek_bits = ((max_len) <= (12) ? (max_len) : (12));
15
  prefixp = &outbuf[1<<peek_bits];
16
  for (len = 1;
17
       len <= peek_bits;
18
       len++) {
19
  }
20
  while (prefixp > outbuf) *--prefixp = 0;
21
}

powered by: WebSVN 2.1.0

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