[PATCH] First Cell PPU patch

Alan Modra amodra@bigpond.net.au
Sat Oct 21 19:44:00 GMT 2006


On Fri, Oct 20, 2006 at 05:55:59PM -0700, Andrew_Pinski@PlayStation.Sony.Com wrote:
> opcodes/ChangeLog:
> 2006-10-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>
> 
>         * ppc-opc.c (CELL): New define.
>         (powerpc_opcodes): Enable hrfid and popcntb
>         for Cell.
>         * ppc-dis.c (powerpc_dialect): Handle cell.
> 
> include/opcode/ChangeLog:
> 2006-10-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>
> 
>         * ppc.h (PPC_OPCODE_CELL): Add.
>  
> gas/ChangeLog:
> 2006-10-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>
> 
>         * doc/c-ppc.texi (-mcell): Document.
>         * config/tc-ppc.c (parse_cpu): Parse -mcell.
>         (md_show_usage): Document -mcell.

OK, except

+/* Opcode is only supported by PowerPC Cell family.  */
+#define PPC_OPCODE_CELL		 0x6000000

Typo, should be 0x8000000

Also, shouldn't you add "frsqrtes" and "frsqrtes." to the list of cell
insns?

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list