Diff for /qemu/sh4-dis.c between versions 1.1.1.6 and 1.1.1.7

version 1.1.1.6, 2018/04/24 18:24:40 version 1.1.1.7, 2018/04/24 18:34:27
Line 1163  const sh_opcode_info sh_table[] = Line 1163  const sh_opcode_info sh_table[] =
 #define INCLUDE_SHMEDIA  #define INCLUDE_SHMEDIA
 #endif  #endif
   
 static void print_movxy  
   (const sh_opcode_info *, int, int, fprintf_ftype, void *);  
 static void print_insn_ddt (int, struct disassemble_info *);  
 static void print_dsp_reg (int, fprintf_ftype, void *);  
 static void print_insn_ppi (int, struct disassemble_info *);  
   
 static void  static void
 print_movxy (const sh_opcode_info *op, int rn, int rm,  print_movxy (const sh_opcode_info *op, int rn, int rm,
              fprintf_ftype fprintf_fn, void *stream)               fprintf_function fprintf_fn, void *stream)
 {  {
   int n;    int n;
   
Line 1247  print_movxy (const sh_opcode_info *op, i Line 1241  print_movxy (const sh_opcode_info *op, i
 static void  static void
 print_insn_ddt (int insn, struct disassemble_info *info)  print_insn_ddt (int insn, struct disassemble_info *info)
 {  {
   fprintf_ftype fprintf_fn = info->fprintf_func;    fprintf_function fprintf_fn = info->fprintf_func;
   void *stream = info->stream;    void *stream = info->stream;
   
   /* If this is just a nop, make sure to emit something.  */    /* If this is just a nop, make sure to emit something.  */
Line 1332  print_insn_ddt (int insn, struct disasse Line 1326  print_insn_ddt (int insn, struct disasse
 }  }
   
 static void  static void
 print_dsp_reg (int rm, fprintf_ftype fprintf_fn, void *stream)  print_dsp_reg (int rm, fprintf_function fprintf_fn, void *stream)
 {  {
   switch (rm)    switch (rm)
     {      {
Line 1377  print_insn_ppi (int field_b, struct disa Line 1371  print_insn_ppi (int field_b, struct disa
 {  {
   static const char *sx_tab[] = { "x0", "x1", "a0", "a1" };    static const char *sx_tab[] = { "x0", "x1", "a0", "a1" };
   static const char *sy_tab[] = { "y0", "y1", "m0", "m1" };    static const char *sy_tab[] = { "y0", "y1", "m0", "m1" };
   fprintf_ftype fprintf_fn = info->fprintf_func;    fprintf_function fprintf_fn = info->fprintf_func;
   void *stream = info->stream;    void *stream = info->stream;
   unsigned int nib1, nib2, nib3;    unsigned int nib1, nib2, nib3;
   unsigned int altnib1, nib4;    unsigned int altnib1, nib4;
Line 1520  print_insn_ppi (int field_b, struct disa Line 1514  print_insn_ppi (int field_b, struct disa
 int  int
 print_insn_sh (bfd_vma memaddr, struct disassemble_info *info)  print_insn_sh (bfd_vma memaddr, struct disassemble_info *info)
 {  {
   fprintf_ftype fprintf_fn = info->fprintf_func;    fprintf_function fprintf_fn = info->fprintf_func;
   void *stream = info->stream;    void *stream = info->stream;
   unsigned char insn[4];    unsigned char insn[4];
   unsigned char nibs[8];    unsigned char nibs[8];

Removed from v.1.1.1.6  
changed lines
  Added in v.1.1.1.7


unix.superglobalmegacorp.com