This is the mail archive of the binutils@sources.redhat.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]

Correction to AltiVec patch



Glad to see the AltiVec patches have made it into the tree.
There is an error in opcodes/ppc-opc.c - the suffix for vslw should be 388, not
338.  Here is a patch from the 000708 snapshot:

*** ppc-opc.c	Sat Jul  8 22:35:50 2000
--- ppc-opc.c	Sat Jul  8 22:36:44 2000
***************
*** 1520,1526 ****
  { "vsldoi",    VXA(4,  44), VXA_MASK,	PPCVEC,		{ VD, VA, VB, SHB } },
  { "vslh",      VX(4,  324), VX_MASK,	PPCVEC,		{ VD, VA, VB } },
  { "vslo",      VX(4, 1036), VX_MASK,	PPCVEC,		{ VD, VA, VB } },
! { "vslw",      VX(4,  338), VX_MASK,	PPCVEC,		{ VD, VA, VB } },
  { "vspltb",    VX(4,  524), VX_MASK,	PPCVEC,		{ VD, VB, UIMM } },
  { "vsplth",    VX(4,  588), VX_MASK,	PPCVEC,		{ VD, VB, UIMM } },
  { "vspltisb",  VX(4,  780), VX_MASK,	PPCVEC,		{ VD, SIMM } },
--- 1520,1526 ----
  { "vsldoi",    VXA(4,  44), VXA_MASK,	PPCVEC,		{ VD, VA, VB, SHB } },
  { "vslh",      VX(4,  324), VX_MASK,	PPCVEC,		{ VD, VA, VB } },
  { "vslo",      VX(4, 1036), VX_MASK,	PPCVEC,		{ VD, VA, VB } },
! { "vslw",      VX(4,  388), VX_MASK,	PPCVEC,		{ VD, VA, VB } },
  { "vspltb",    VX(4,  524), VX_MASK,	PPCVEC,		{ VD, VB, UIMM } },
  { "vsplth",    VX(4,  588), VX_MASK,	PPCVEC,		{ VD, VB, UIMM } },
  { "vspltisb",  VX(4,  780), VX_MASK,	PPCVEC,		{ VD, SIMM } },


					Randy Fisher
					rfisher@ecn.purdue.edu

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