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]
Other format: [Raw text]

[patch] ppc: enable altivec instrutions by default




hi folks.


this allows gas to assemble altivec instructions without any special
flags.  there are no testsuite regressions with this change.


OK to commit?


.mrg.



2001-12-12  matthew green  <mrg@redhat.com>

	* ppc-opc.c (PPCVEC): Include PPC_OPCODE_ANY.


Index: ppc-opc.c
===================================================================
RCS file: /cvs/src/src/opcodes/ppc-opc.c,v
retrieving revision 1.24
diff -p -r1.24 ppc-opc.c
*** ppc-opc.c	2001/11/17 22:34:17	1.24
--- ppc-opc.c	2001/12/12 03:25:06
*************** extract_tbr (insn, dialect, invalid)
*** 1578,1584 ****
  #define PPC405	PPC403
  #define PPC750	PPC
  #define PPC860	PPC
! #define PPCVEC	PPC_OPCODE_ALTIVEC | PPC_OPCODE_ANY
  #define	POWER   PPC_OPCODE_POWER | PPC_OPCODE_ANY
  #define	POWER2	PPC_OPCODE_POWER | PPC_OPCODE_POWER2 | PPC_OPCODE_ANY
  #define PPCPWR2	PPC_OPCODE_PPC | PPC_OPCODE_POWER | PPC_OPCODE_POWER2 | PPC_OPCODE_ANY
--- 1578,1584 ----
  #define PPC405	PPC403
  #define PPC750	PPC
  #define PPC860	PPC
! #define PPCVEC	PPC_OPCODE_ALTIVEC | PPC_OPCODE_ANY | PPC_OPCODE_PPC
  #define	POWER   PPC_OPCODE_POWER | PPC_OPCODE_ANY
  #define	POWER2	PPC_OPCODE_POWER | PPC_OPCODE_POWER2 | PPC_OPCODE_ANY
  #define PPCPWR2	PPC_OPCODE_PPC | PPC_OPCODE_POWER | PPC_OPCODE_POWER2 | PPC_OPCODE_ANY


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