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 /gas/config | |
parent | 2941e768e4dbb9a0cc4cc7a4cc348319cab40729 (diff) | |
download | gdb-ede602d7c88efaaccf5c0679e0382298ae989d95.zip gdb-ede602d7c88efaaccf5c0679e0382298ae989d95.tar.gz gdb-ede602d7c88efaaccf5c0679e0382298ae989d95.tar.bz2 |
Add powerpc cell support.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-ppc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 1d655ca..bcd32e0 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -920,6 +920,12 @@ parse_cpu (const char *arg) | PPC_OPCODE_64 | PPC_OPCODE_POWER4 | PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6); } + else if (strcmp (arg, "cell") == 0) + { + ppc_cpu = (PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC + | PPC_OPCODE_64 | PPC_OPCODE_POWER4 + | PPC_OPCODE_CELL); + } /* -mcom means assemble for the common intersection between Power and PowerPC. At present, we just allow the union, rather than the intersection. */ @@ -1116,6 +1122,7 @@ PowerPC options:\n\ -mpower4 generate code for Power4 architecture\n\ -mpower5 generate code for Power5 architecture\n\ -mpower6 generate code for Power6 architecture\n\ +-mcell generate code for Cell Broadband Engine architecture\n\ -mcom generate code Power/PowerPC common instructions\n\ -many generate code for any architecture (PWR/PWRX/PPC)\n")); fprintf (stream, _("\ |