diff options
author | Alan Modra <amodra@gmail.com> | 2006-10-24 01:27:29 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-10-24 01:27:29 +0000 |
commit | ede602d7c88efaaccf5c0679e0382298ae989d95 (patch) | |
tree | bc7447faf2f165356db03bf1034546388d2cf999 /opcodes/ppc-dis.c | |
parent | 2941e768e4dbb9a0cc4cc7a4cc348319cab40729 (diff) | |
download | gdb-ede602d7c88efaaccf5c0679e0382298ae989d95.zip gdb-ede602d7c88efaaccf5c0679e0382298ae989d95.tar.gz gdb-ede602d7c88efaaccf5c0679e0382298ae989d95.tar.bz2 |
Add powerpc cell support.
Diffstat (limited to 'opcodes/ppc-dis.c')
-rw-r--r-- | opcodes/ppc-dis.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c index 8b3996a..d144892 100644 --- a/opcodes/ppc-dis.c +++ b/opcodes/ppc-dis.c @@ -74,6 +74,10 @@ powerpc_dialect (struct disassemble_info *info) dialect |= PPC_OPCODE_POWER4 | PPC_OPCODE_POWER5; if (info->disassembler_options + && strstr (info->disassembler_options, "cell") != NULL) + dialect |= PPC_OPCODE_POWER4 | PPC_OPCODE_CELL | PPC_OPCODE_ALTIVEC; + + if (info->disassembler_options && strstr (info->disassembler_options, "power6") != NULL) dialect |= PPC_OPCODE_POWER4 | PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6 | PPC_OPCODE_ALTIVEC; |