diff options
author | Peter Bergner <bergner@vnet.ibm.com> | 2008-09-09 13:25:05 +0000 |
---|---|---|
committer | Peter Bergner <bergner@vnet.ibm.com> | 2008-09-09 13:25:05 +0000 |
commit | a08f0c757380a9ebc0d9d47d8c0741f466aadd3e (patch) | |
tree | 609b31405f610a747ab8339611356fb8434bf52d /gas/config/tc-ppc.c | |
parent | a9ab742235f3a8b10f1402ada34fe2d1bed6aee9 (diff) | |
download | gdb-a08f0c757380a9ebc0d9d47d8c0741f466aadd3e.zip gdb-a08f0c757380a9ebc0d9d47d8c0741f466aadd3e.tar.gz gdb-a08f0c757380a9ebc0d9d47d8c0741f466aadd3e.tar.bz2 |
gas/
* config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
Remove POWER5 and POWER6 tests.
gas/testsuite/
* gas/ppc/common.s: New test.
* gas/ppc/common.d: Likewise.
* gas/ppc/power4_32.s: Likewise.
* gas/ppc/power4_32.d: Likewise.
* gas/ppc/power6.s: Add attn, mtcr, mtcrf, mfcr, dcbz.
* gas/ppc/power6.d: Likewise.
* gas/ppc/ppc.exp: Run power4_32 test.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r-- | gas/config/tc-ppc.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 76a9e8e..648ed72 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -1428,15 +1428,8 @@ ppc_setup_opcodes (void) && ((op->flags & PPC_OPCODE_BOOKE64) == 0 || (ppc_cpu & PPC_OPCODE_BOOKE64) == PPC_OPCODE_BOOKE64 || (ppc_cpu & PPC_OPCODE_BOOKE) == 0) - && ((op->flags & (PPC_OPCODE_POWER4 | PPC_OPCODE_NOPOWER4)) == 0 - || ((op->flags & PPC_OPCODE_POWER4) - == (ppc_cpu & PPC_OPCODE_POWER4))) - && ((op->flags & PPC_OPCODE_POWER5) == 0 - || ((op->flags & PPC_OPCODE_POWER5) - == (ppc_cpu & PPC_OPCODE_POWER5))) - && ((op->flags & PPC_OPCODE_POWER6) == 0 - || ((op->flags & PPC_OPCODE_POWER6) - == (ppc_cpu & PPC_OPCODE_POWER6)))) + && ((ppc_cpu & PPC_OPCODE_POWER4) == 0 + || (op->flags & PPC_OPCODE_NOPOWER4) == 0)) { const char *retval; |