This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch to rename SH mulu and muls instructions


Hi Joern,

  May I have permission to apply the following patch please ?  It 
  renames the mulu and muls instructions to mulu.w and muls.w

  This patch is at the behest of Toshiyasu Morita, who submitted a
  case about it (101828).  A similar patch for the gcc files has
  been submitted to the gcc-patches list.

Cheers
	Nick


Tue Sep  7 15:34:27 1999  Nick Clifton  <nickc@cygnus.com>

	* opcodes/sh-opc.h: Rename mulu to mulu.w and muls to muls.w.

Index: opcodes/sh-opc.h
===================================================================
RCS file: /cvs/binutils/binutils/opcodes/sh-opc.h,v
retrieving revision 1.1.1.1
diff -p -r1.1.1.1 sh-opc.h
*** sh-opc.h	1999/05/03 07:29:00	1.1.1.1
--- sh-opc.h	1999/09/07 14:31:40
*************** sh_opcode_info sh_table[] = {
*** 309,319 ****
  
  /* 0000nnnn00101001 movt <REG_N>        */{"movt",{A_REG_N},{HEX_0,REG_N,HEX_2,HEX_9}},
  
! /* 0010nnnnmmmm1111 muls <REG_M>,<REG_N>*/{"muls",{ A_REG_M,A_REG_N},{HEX_2,REG_N,REG_M,HEX_F}},
  
  /* 0000nnnnmmmm0111 mul.l <REG_M>,<REG_N>*/{"mul.l",{ A_REG_M,A_REG_N},{HEX_0,REG_N,REG_M,HEX_7}},
  
! /* 0010nnnnmmmm1110 mulu <REG_M>,<REG_N>*/{"mulu",{ A_REG_M,A_REG_N},{HEX_2,REG_N,REG_M,HEX_E}},
  
  /* 0110nnnnmmmm1011 neg <REG_M>,<REG_N> */{"neg",{ A_REG_M,A_REG_N},{HEX_6,REG_N,REG_M,HEX_B}},
  
--- 309,319 ----
  
  /* 0000nnnn00101001 movt <REG_N>        */{"movt",{A_REG_N},{HEX_0,REG_N,HEX_2,HEX_9}},
  
! /* 0010nnnnmmmm1111 muls.w <REG_M>,<REG_N>*/{"muls.w",{ A_REG_M,A_REG_N},{HEX_2,REG_N,REG_M,HEX_F}},
  
  /* 0000nnnnmmmm0111 mul.l <REG_M>,<REG_N>*/{"mul.l",{ A_REG_M,A_REG_N},{HEX_0,REG_N,REG_M,HEX_7}},
  
! /* 0010nnnnmmmm1110 mulu.w <REG_M>,<REG_N>*/{"mulu.w",{ A_REG_M,A_REG_N},{HEX_2,REG_N,REG_M,HEX_E}},
  
  /* 0110nnnnmmmm1011 neg <REG_M>,<REG_N> */{"neg",{ A_REG_M,A_REG_N},{HEX_6,REG_N,REG_M,HEX_B}},
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]