This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [lno] auto vectorizing on x86-64 broken


> I changed the vectorizing testsuite in LNO to test and execute on x86-64
> (patch can be found in http://www.firstfloor.org/~andi/vect-test).
> Previously it would only execute on ppc and check log files on i386.

thanks!

> FAIL: gcc.dg/tree-ssa-vect/tree-ssa-vect-17.c scan-tree-dump-times
vectorized lloops 1

This one, as well as tree-ssa-vect-[18,19,20].c, are known problems:
http://gcc.gnu.org/ml/gcc-patches/2004-04/msg00907.html

> It seems to vectorize a few loops in some test cases, but the majority
> fails. Any ideas why this doesn't work on x86-64?

The only other failures I know of (on any platform) are an ICE in
tree-ssa-vect-[8,30,46,none].c which is related to the unknown loop bound
support; it has since been rewritten (should be submitted to lno soon).
There's also an execution error (on ppc) in tree-ssa-vect-[6,all].c (looks
like swapped arguments in vnmsubfp). Do you see other failures? I can check
what's the status of the tests on i686-pc-linux-gnu.

dorit




|---------+---------------------------->
|         |           Andi Kleen       |
|         |           <ak@muc.de>      |
|         |           Sent by:         |
|         |           gcc-owner@gcc.gnu|
|         |           .org             |
|         |                            |
|         |                            |
|         |           03/07/2004 08:12 |
|---------+---------------------------->
  >--------------------------------------------------------------------------------------------------------------|
  |                                                                                                              |
  |       To:       gcc@gcc.gnu.org                                                                              |
  |       cc:                                                                                                    |
  |       Subject:  [lno] auto vectorizing on x86-64 broken                                                      |
  >--------------------------------------------------------------------------------------------------------------|





I changed the vectorizing testsuite in LNO to test and execute on x86-64
(patch can be found in http://www.firstfloor.org/~andi/vect-test).
Previously it would only execute on ppc and check log files on i386.

Unfortunately many of the tests fail. The compilation and
execution works, but I get a lot of

FAIL: gcc.dg/tree-ssa-vect/tree-ssa-vect-17.c scan-tree-dump-times
vectorized lloops 1

which means the loops weren't actually vectorized. The log file just shows

vectorized 0 loops in function.

It seems to vectorize a few loops in some test cases, but the majority
fails. Any ideas why this doesn't work on x86-64?

Compiler version: gcc version 3.5-tree-ssa-lno 20040701 (merged 20040612)

-Andi





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]