This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] First Cell PPU patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]