This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: vle testcases
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: binutils at sourceware dot org, James Lemke <jwlemke at codesourcery dot com>
- Date: Thu, 17 May 2012 08:48:06 -0500
- Subject: Re: vle testcases
- References: <20120517070435.GE27540@bubble.grove.modra.org>
On Thu, 2012-05-17 at 16:34 +0930, Alan Modra wrote:
> Practically all of the vle tests fail when building a powerpc64-linux
> binutils. This patch fixes the failures. James, we should emit an
> error when -a64 -mvle, because ppc64 lacks vle relocs. Would you
> please look into implementing that? More seriously, these two
> failures occur on all powerpc targets.
> powerpc64-linux +FAIL: VLE Simplified mnemonics 5
> powerpc64-linux +FAIL: VLE Simplified mnemonics 6
> Lack of a vle macro table?
>
> * gas/ppc/vle.d: Pass -a32 to assembler.
> * gas/ppc/vle-reloc.d: Likewise.
> * gas/ppc/vle-simple-1.d: Likewise, also match wider addresses.
> * gas/ppc/vle-simple-2.d: Likewise.
> * gas/ppc/vle-simple-3.d: Likewise.
> * gas/ppc/vle-simple-4.d: Likewise.
> * gas/ppc/vle-simple-5.d: Likewise.
> * gas/ppc/vle-simple-6.d: Likewise.
I was seeing these too and was going to mention the same fix.
That said, I'm also seeing:
/home/bergner/binutils/binutils-mainline/gas/testsuite/gas/ppc/vle-simple-5.s: Assembler messages:
/home/bergner/binutils/binutils-mainline/gas/testsuite/gas/ppc/vle-simple-5.s:3: Error: Unrecognized opcode: `e_extlwi'
/home/bergner/binutils/binutils-mainline/gas/testsuite/gas/ppc/vle-simple-5.s:4: Error: Unrecognized opcode: `e_extrwi'
/home/bergner/binutils/binutils-mainline/gas/testsuite/gas/ppc/vle-simple-5.s:5: Error: Unrecognized opcode: `e_inslwi'
/home/bergner/binutils/binutils-mainline/gas/testsuite/gas/ppc/vle-simple-5.s:6: Error: Unrecognized opcode: `e_insrwi'
/home/bergner/binutils/binutils-mainline/gas/testsuite/gas/ppc/vle-simple-5.s:7: Error: Unrecognized opcode: `e_rotlwi'
/home/bergner/binutils/binutils-mainline/gas/testsuite/gas/ppc/vle-simple-5.s:8: Error: Unrecognized opcode: `e_rotrwi'
/home/bergner/binutils/binutils-mainline/gas/testsuite/gas/ppc/vle-simple-5.s:11: Error: Unrecognized opcode: `e_clrlwi'
/home/bergner/binutils/binutils-mainline/gas/testsuite/gas/ppc/vle-simple-5.s:12: Error: Unrecognized opcode: `e_clrrwi'
/home/bergner/binutils/binutils-mainline/gas/testsuite/gas/ppc/vle-simple-5.s:13: Error: Unrecognized opcode: `e_clrlslwi'
These seem more problematical, in that I don't even see them implemented
in opcodes/ppc-opc.c. Was there a patch hunk that didn't get committed
as part of the VLE checkin?
Peter