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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [opcodes/] [i386-dis.c] - Diff between revs 148 and 158

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

Rev 148 Rev 158
Line 6643... Line 6643...
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    /* 10 */
    /* 10 */
    { "bextr",  { Gv, Ev, Iq } },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
    { Bad_Opcode },
Line 8959... Line 8959...
    { VEX_W_TABLE (VEX_W_0F3ADF_P_2) },
    { VEX_W_TABLE (VEX_W_0F3ADF_P_2) },
  },
  },
 
 
  /* VEX_LEN_0F3AF0_P_3 */
  /* VEX_LEN_0F3AF0_P_3 */
  {
  {
    { "rorxS",          { Gdq, VexGdq, Edq, Ib } },
    { "rorxS",          { Gdq, Edq, Ib } },
  },
  },
 
 
  /* VEX_LEN_0FXOP_09_80 */
  /* VEX_LEN_0FXOP_09_80 */
  {
  {
    { "vfrczps",        { XM, EXxmm } },
    { "vfrczps",        { XM, EXxmm } },
Line 11159... Line 11159...
  const char *p;
  const char *p;
  struct dis_private priv;
  struct dis_private priv;
  int prefix_length;
  int prefix_length;
  int default_prefixes;
  int default_prefixes;
 
 
  if (info->mach == bfd_mach_x86_64_intel_syntax
 
      || info->mach == bfd_mach_x86_64
 
      || info->mach == bfd_mach_x64_32_intel_syntax
 
      || info->mach == bfd_mach_x64_32
 
      || info->mach == bfd_mach_l1om
 
      || info->mach == bfd_mach_l1om_intel_syntax)
 
    address_mode = mode_64bit;
 
  else
 
    address_mode = mode_32bit;
 
 
 
  if (intel_syntax == (char) -1)
 
    intel_syntax = (info->mach == bfd_mach_i386_i386_intel_syntax
 
                    || info->mach == bfd_mach_x86_64_intel_syntax
 
                    || info->mach == bfd_mach_x64_32_intel_syntax
 
                    || info->mach == bfd_mach_l1om_intel_syntax);
 
 
 
  if (info->mach == bfd_mach_i386_i386
 
      || info->mach == bfd_mach_x86_64
 
      || info->mach == bfd_mach_x64_32
 
      || info->mach == bfd_mach_l1om
 
      || info->mach == bfd_mach_i386_i386_intel_syntax
 
      || info->mach == bfd_mach_x86_64_intel_syntax
 
      || info->mach == bfd_mach_x64_32_intel_syntax
 
      || info->mach == bfd_mach_l1om_intel_syntax)
 
    priv.orig_sizeflag = AFLAG | DFLAG;
    priv.orig_sizeflag = AFLAG | DFLAG;
 
  if ((info->mach & bfd_mach_i386_i386) != 0)
 
    address_mode = mode_32bit;
  else if (info->mach == bfd_mach_i386_i8086)
  else if (info->mach == bfd_mach_i386_i8086)
 
    {
 
      address_mode = mode_16bit;
    priv.orig_sizeflag = 0;
    priv.orig_sizeflag = 0;
 
    }
  else
  else
    abort ();
    address_mode = mode_64bit;
 
 
 
  if (intel_syntax == (char) -1)
 
    intel_syntax = (info->mach & bfd_mach_i386_intel_syntax) != 0;
 
 
  for (p = info->disassembler_options; p != NULL; )
  for (p = info->disassembler_options; p != NULL; )
    {
    {
      if (CONST_STRNEQ (p, "x86-64"))
      if (CONST_STRNEQ (p, "x86-64"))
        {
        {
Line 11292... Line 11276...
    }
    }
 
 
  /* The output looks better if we put 7 bytes on a line, since that
  /* The output looks better if we put 7 bytes on a line, since that
     puts most long word instructions on a single line.  Use 8 bytes
     puts most long word instructions on a single line.  Use 8 bytes
     for Intel L1OM.  */
     for Intel L1OM.  */
  if (info->mach == bfd_mach_l1om
  if ((info->mach & bfd_mach_l1om) != 0)
      || info->mach == bfd_mach_l1om_intel_syntax)
 
    info->bytes_per_line = 8;
    info->bytes_per_line = 8;
  else
  else
    info->bytes_per_line = 7;
    info->bytes_per_line = 7;
 
 
  info->private_data = &priv;
  info->private_data = &priv;

powered by: WebSVN 2.1.0

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