diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2008-08-01 02:44:12 +0000 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2008-08-01 02:44:12 +0000 |
commit | 3823320924933c184884f72d6a29710cd186d334 (patch) | |
tree | ff81ba2d199a13baa1753edbe53472755613b83d /gas/config | |
parent | 6d76a53df9959a1b770a01b6ba0c190612d6cef9 (diff) | |
download | gdb-3823320924933c184884f72d6a29710cd186d334.zip gdb-3823320924933c184884f72d6a29710cd186d334.tar.gz gdb-3823320924933c184884f72d6a29710cd186d334.tar.bz2 |
gas/
* config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
<cell>: Likewise.
gas/testsuite/
* gas/ppc/cell.s: Add altivec instructions.
* gas/ppc/cell.d: Update expected output.
* gas/ppc/power6.d: New.
* gas/ppc/power6.s: Likewise.
* gas/ppc/ppc.exp (powerpc64*-*-*): Move cell from here to...
(powerpc*-*-*): Here. Run power6 test.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-ppc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index b4a9e1d..bded5f3 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -932,13 +932,14 @@ parse_cpu (const char *arg) { ppc_cpu = (PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_64 | PPC_OPCODE_POWER4 - | PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6); + | PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6 + | PPC_OPCODE_ALTIVEC); } else if (strcmp (arg, "cell") == 0) { ppc_cpu = (PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_64 | PPC_OPCODE_POWER4 - | PPC_OPCODE_CELL); + | PPC_OPCODE_CELL | PPC_OPCODE_ALTIVEC); } /* -mcom means assemble for the common intersection between Power and PowerPC. At present, we just allow the union, rather |