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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr26833.c] - Rev 774

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

void yasm_lc3b__parse_insn( int num_info, int *num_operands
 , int *operands, int op)
{
  int found = 0;
  int i;
  for (; num_info>0 && !found; num_info--)
   {
    int mismatch = 0;
     for(i = 0;op && (i<*num_operands)&& !mismatch; i++)
     {
       if (!(int)(operands[i] & 0x1))
         mismatch = 1;
       if (mismatch)
         break;
     }
    if (!mismatch)
      found = 1;
  }
}
 

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

powered by: WebSVN 2.1.0

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