This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50655] Many of the new VIS2/VIS3 tests FAIL on Solaris
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 07 Oct 2011 15:16:16 +0000
- Subject: [Bug target/50655] Many of the new VIS2/VIS3 tests FAIL on Solaris
- Auto-submitted: auto-generated
- References: <bug-50655-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50655
--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-10-07 15:16:16 UTC ---
> --- Comment #1 from David S. Miller <davem at davemloft dot net> 2011-10-07 15:01:55 UTC ---
> Please try to figure out why the configure test is not detecting VIS3
> instruction capabilities in your assembler. That's why the VIS3 tests are
> failing.
On both Solaris 10 and 11, as complains:
configure:24069: /usr/ccs/bin/as -xarch=v9d -o conftest.o conftest.s >&5
/usr/ccs/bin/as: "conftest.s", line 4: error: detect global register use not
cov
ered .register pseudo-op
/usr/ccs/bin/as: "conftest.s", line 4: error: detect global register use not
cov
ered .register pseudo-op
configure:24072: $? = 1
Adding
.register %g2, #scratch
.register %g3, #scratch
to the testcase allows the test to be assembled without error.
The Solaris 8 and 9 as errors out with
as: error: unknown option 'xarch=v9d'
usage: as [-V] [-Q{y,n}] [-f[O][if]#] [-q] [-s]
[-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
[-P [[-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
[-m [-Ym,path]] [-n] [-ul] [-xF] [-xarch=v7] [-xarch=v8] [-xarch=v8a]
[-xarch=v8plus] [-xarch=v8plusa] [-xarch=v8plusb] [-xarch=v9] [-xarch=v9a]
[-xarch=v9b] [-xcode={pic13,pic32}] file.s...
With gas 2.21.1, I get this failure instead:
configure:24069: /vol/gcc/bin/gas-2.21.1 -xarch=v9d -o conftest.o conftest.s
>
&5
Assembler messages:
Error: invalid architecture -xarch=v9d
Error: unrecognized option -\300v9d
configure:24072: $? = 1
Given that even the latest released gas doesn't support those insns, I
think the testsuite needs to accomodate the possibility that the
assembler used doesn't understand them.
> The combined-1.c test is not a VIS3 test, and is failing because of a known
> register allocator issue that Eric has asked Vlad to look into.
Ok, thanks.
Rainer