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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [opcodes/] [ppc-dis.c] - Diff between revs 18 and 166

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 18 Rev 166
Line 345... Line 345...
  int status;
  int status;
  unsigned long insn;
  unsigned long insn;
  const struct powerpc_opcode *opcode;
  const struct powerpc_opcode *opcode;
  const struct powerpc_opcode *opcode_end;
  const struct powerpc_opcode *opcode_end;
  unsigned long op;
  unsigned long op;
  ppc_cpu_t dialect_orig = dialect;
 
 
 
  status = (*info->read_memory_func) (memaddr, buffer, 4, info);
  status = (*info->read_memory_func) (memaddr, buffer, 4, info);
  if (status != 0)
  if (status != 0)
    {
    {
      (*info->memory_error_func) (status, memaddr, info);
      (*info->memory_error_func) (status, memaddr, info);
Line 384... Line 383...
      if (op > table_op)
      if (op > table_op)
        continue;
        continue;
 
 
      if ((insn & opcode->mask) != opcode->opcode
      if ((insn & opcode->mask) != opcode->opcode
          || (opcode->flags & dialect) == 0
          || (opcode->flags & dialect) == 0
          || (opcode->deprecated & dialect_orig) != 0)
          || (dialect != ~(ppc_cpu_t) PPC_OPCODE_ANY
 
              && (opcode->deprecated & dialect) != 0))
        continue;
        continue;
 
 
      /* Make two passes over the operands.  First see if any of them
      /* Make two passes over the operands.  First see if any of them
         have extraction functions, and, if they do, make sure the
         have extraction functions, and, if they do, make sure the
         instruction is valid.  */
         instruction is valid.  */

powered by: WebSVN 2.1.0

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