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.c-torture/] [compile/] [pr38857.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
static const int vs_total_ac_bits = 2680;
2
typedef struct EncBlockInfo {
3
      short mb[64];
4
      unsigned char next[64];
5
} EncBlockInfo;
6
inline void dv_guess_qnos(EncBlockInfo* blks, int* qnos) {
7
      int size[5];
8
      int j, k, a, prev;
9
      EncBlockInfo* b;
10
      for(a=2; a==2 || vs_total_ac_bits < size[0]; a+=a){
11
         for (j=0; j<6*5; j++, b++) {
12
             for (k= b->next[prev]; k<64; k= b->next[k]) {
13
                 if(b->mb[k] < a && b->mb[k] > -a){
14
                     b->next[prev] = b->next[k];
15
                 }
16
                 else{
17
                     prev = k;
18
                 }
19
             }
20
         }
21
     }
22
}

powered by: WebSVN 2.1.0

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