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] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
void yasm_lc3b__parse_insn( int num_info, int *num_operands
2
 , int *operands, int op)
3
{
4
  int found = 0;
5
  int i;
6
  for (; num_info>0 && !found; num_info--)
7
   {
8
    int mismatch = 0;
9
     for(i = 0;op && (i<*num_operands)&& !mismatch; i++)
10
     {
11
       if (!(int)(operands[i] & 0x1))
12
         mismatch = 1;
13
       if (mismatch)
14
         break;
15
     }
16
    if (!mismatch)
17
      found = 1;
18
  }
19
}

powered by: WebSVN 2.1.0

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