This is the mail archive of the gcc-bugs@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]

[Bug target/11739] New: prefetch tests need to made smarter


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11739

           Summary: prefetch tests need to made smarter
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gschafer at zip dot com dot au
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu

(the root of this problem is the same as in PR target/11565)

Since the introduction of the "--with-cpu" & --with-arch" configure switches, it
is now possible to build the compiler so that the default -march setting is no
longer i386

Unfortunately, the prefetch tests seem not to allow for this as evidenced by
the test results here:-

http://gcc.gnu.org/ml/gcc-testresults/2003-07/msg01872.html

in particular:-

FAIL: gcc.misc-tests/i386-pf-none-1.c scan-assembler-not fetch
FAIL: gcc.misc-tests/i386-pf-none-1.c scan-assembler-not fetch
FAIL: gcc.misc-tests/i386-pf-none-1.c scan-assembler-not fetch
FAIL: gcc.misc-tests/i386-pf-none-1.c scan-assembler-not fetch
FAIL: gcc.misc-tests/i386-pf-none-1.c scan-assembler-not fetch
FAIL: gcc.misc-tests/i386-pf-none-1.c scan-assembler-not fetch
FAIL: gcc.misc-tests/i386-pf-none-1.c scan-assembler-not fetch
FAIL: gcc.misc-tests/i386-pf-none-1.c scan-assembler-not fetch
FAIL: gcc.misc-tests/i386-pf-sse-1.c scan-assembler-not prefetchw
FAIL: gcc.misc-tests/i386-pf-sse-1.c scan-assembler-not prefetchw
FAIL: gcc.misc-tests/i386-pf-sse-1.c scan-assembler-not prefetchw
FAIL: gcc.misc-tests/i386-pf-sse-1.c scan-assembler-not prefetchw

Note that the compiler in those test results was built with
"--with-arch=athlon-4"

It should be possible to build with the new switches and not experience
"apparent" test suite regressions. The tests needs to be made smarter but I'm
unsure how best to do it (but it probably involves tweaking i386-prefetch.exp).

I'll attach the relevant part of the testsuite log file.
Thanks


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