This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] ppc: enable altivec instrutions by default
- From: matthew green <mrg at cygnus dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 12 Dec 2001 14:32:34 +1100
- Subject: [patch] ppc: enable altivec instrutions by default
- Organisation: Red Hat, Asia-Pacific.
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