This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: add ppca2 target
On Tue, 2009-09-22 at 19:42 +1000, Ben Elliston wrote:
> On Tue, 2009-09-22 at 12:09 +0930, Alan Modra wrote:
>
> > This seems to be missing a hunk that was in the version you sent
> > privately. Committed.
>
> I couldn't work out why the change was needed, so was conservative and
> dropped it. Why is it needed now, but not before?
Because the new mask is too big to fit into the old 32-bit mask
(when building binutils 32-bit, unsigned long is 32-bits)
+/* Opcode is supported by A2. */
+#define PPC_OPCODE_PPCA2 0x100000000ULL
+
I originally had proposed to extend it to 64-bits here:
http://sourceware.org/ml/binutils/2008-06/msg00114.html
but Alan said he wanted to wait until we actually needed it.
Now we need it. :)
Peter