OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr43415.c] - Diff between revs 297 and 384

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 384
int main()
int main()
{
{
  unsigned long long table[256];
  unsigned long long table[256];
  unsigned int i;
  unsigned int i;
  for (i=0; i<256; ++i) {
  for (i=0; i<256; ++i) {
      unsigned long long j;
      unsigned long long j;
      unsigned char x=i;
      unsigned char x=i;
      for (j=0; j<5; ++j) {
      for (j=0; j<5; ++j) {
          x += x<<1;
          x += x<<1;
          x ^= x>>1;
          x ^= x>>1;
      }
      }
      for (j=0; j<5; ++j) {
      for (j=0; j<5; ++j) {
          x += x<<1;
          x += x<<1;
          x ^= x>>1;
          x ^= x>>1;
      }
      }
      for (j=0; j<5; ++j) {
      for (j=0; j<5; ++j) {
          x += x<<1;
          x += x<<1;
          x ^= x>>1;
          x ^= x>>1;
      }
      }
      for (j=0; j<5; ++j) {
      for (j=0; j<5; ++j) {
          x += x<<1;
          x += x<<1;
          x ^= x>>1;
          x ^= x>>1;
      }
      }
      for (j=0; j<5; ++j) {
      for (j=0; j<5; ++j) {
          x += x<<1;
          x += x<<1;
          x ^= x>>1;
          x ^= x>>1;
      }
      }
      table[i] ^= (((unsigned long long)x)<<16);
      table[i] ^= (((unsigned long long)x)<<16);
  }
  }
  for (i=0; i<256; ++i) {
  for (i=0; i<256; ++i) {
      if ((table[i]&0xff)==i)
      if ((table[i]&0xff)==i)
        return 1;
        return 1;
  }
  }
  return 0;
  return 0;
}
}
 
 
 
 

powered by: WebSVN 2.1.0

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