[PATCH] Add initial POWER7 support

Alan Modra amodra@bigpond.net.au
Sat Aug 2 00:14:00 GMT 2008


On Fri, Aug 01, 2008 at 05:49:40PM -0500, Peter Bergner wrote:
> The following patch adds some initial POWER7 support so that we recognize the
> -mpower7 and -mvsx options.

OK, except for the following error.  Please fix the macro value
before committing.

> --- include/opcode/ppc.h	30 Jul 2008 06:29:21 -0000	1.29
> +++ include/opcode/ppc.h	1 Aug 2008 21:53:19 -0000
> @@ -157,6 +157,9 @@ extern const int powerpc_num_opcodes;
>  /* Opcode is supported by PowerPC 405 processor.  */
>  #define PPC_OPCODE_405		 0x40000000
>  
> +/* Opcode is supported by Vector-Scalar (VSX) Unit */
> +#define PPC_OPCODE_VSX		 0x40000000
> +

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list