[PATCH] Full POWER7 binutils support
Alan Modra
amodra@bigpond.net.au
Thu Feb 26 11:11:00 GMT 2009
On Thu, Feb 26, 2009 at 12:21:50AM -0600, Peter Bergner wrote:
> -typedef unsigned long ppc_cpu_t;
> +#include "bfd_stdint.h"
> +
> +typedef uint64_t ppc_cpu_t;
>
> /* The opcode table is an array of struct powerpc_opcode. */
>
> @@ -162,6 +164,9 @@ extern const int powerpc_num_opcodes;
> /* Opcode is supported by Vector-Scalar (VSX) Unit */
> #define PPC_OPCODE_VSX 0x80000000
>
> +/* Opcode is only supported by Power7 architecture. */
> +#define PPC_OPCODE_POWER7 0x100000000ULL
> +
0x8000 is available since your 2009-01-09 change, so no need for
uint64_t.
> +{"dcbtstt", X(31,246)|(0x10<<21), X_MASK|(0x1f<<21), POWER7, PPCNONE, {RA, RB}},
XRT(31,246,0x10), XRT_MASK
Similarly for dcbtt
OK with those changes.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list