This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Accept Altivec instructions when using -mpower6 and -mcell
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Peter Bergner <bergner at vnet dot ibm dot com>
- Cc: binutils at sourceware dot org, Andrew Pinski <pinskia at gmail dot com>
- Date: Fri, 1 Aug 2008 09:54:31 +0930
- Subject: Re: [PATCH] Accept Altivec instructions when using -mpower6 and -mcell
- References: <20080728230431.GA14296@vervain.rchland.ibm.com>
On Mon, Jul 28, 2008 at 06:04:31PM -0500, Peter Bergner wrote:
> bfd/
> * configure.in: Set want64 to true if --enable-targets=all is used.
> * configure: Regenerate.
Not OK. --enable-targets=all is supposed to only select all 32-bit
targets if you haven't enabled a 64-bit bfd, either by
--enable-64-bit-bfd or implicitly because you are building for a
64-bit host or have selected some 64-bit target.
> gas/
> * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
> <cell>: Likewise.
>
> gas/testsuite/
> * gas/ppc/cell.s: Add altivec instructions.
> * gas/ppc/cell.d: Update expected output.
> * gas/ppc/power6.d: New.
> * gas/ppc/power6.s: Likewise.
> * gas/ppc/ppc.exp (powerpc64*-*-*): Move cell from here to...
> (powerpc*-*-*): Here. Run power6 test.
This part is OK.
--
Alan Modra
Australia Development Lab, IBM