public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/11739] New: prefetch tests need to made smarter
@ 2003-07-31  6:40 gschafer at zip dot com dot au
  2003-07-31  6:47 ` [Bug target/11739] " gschafer at zip dot com dot au
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gschafer at zip dot com dot au @ 2003-07-31  6:40 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/11739] prefetch tests need to made smarter
  2003-07-31  6:40 [Bug target/11739] New: prefetch tests need to made smarter gschafer at zip dot com dot au
@ 2003-07-31  6:47 ` gschafer at zip dot com dot au
  2003-07-31 14:41 ` pinskia at physics dot uc dot edu
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: gschafer at zip dot com dot au @ 2003-07-31  6:47 UTC (permalink / raw)
  To: gcc-bugs

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



------- Additional Comments From gschafer at zip dot com dot au  2003-07-31 06:47 -------
Created an attachment (id=4530)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4530&action=view)
Log file snippet detailing the problem.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/11739] prefetch tests need to made smarter
  2003-07-31  6:40 [Bug target/11739] New: prefetch tests need to made smarter gschafer at zip dot com dot au
  2003-07-31  6:47 ` [Bug target/11739] " gschafer at zip dot com dot au
@ 2003-07-31 14:41 ` pinskia at physics dot uc dot edu
  2003-08-04 23:47 ` [Bug target/11739] i386 " cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-31 14:41 UTC (permalink / raw)
  To: gcc-bugs

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-31 14:41:41
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-31 14:41 -------
I can confirm this does in fact cause these failures but unlike the other one (in 11565) I do 
not have a quick and easy solution for these tests.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/11739] i386 prefetch tests need to made smarter
  2003-07-31  6:40 [Bug target/11739] New: prefetch tests need to made smarter gschafer at zip dot com dot au
  2003-07-31  6:47 ` [Bug target/11739] " gschafer at zip dot com dot au
  2003-07-31 14:41 ` pinskia at physics dot uc dot edu
@ 2003-08-04 23:47 ` cvs-commit at gcc dot gnu dot org
  2003-08-05  3:25 ` pinskia at physics dot uc dot edu
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-08-04 23:47 UTC (permalink / raw)
  To: gcc-bugs

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



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-08-04 23:47 -------
Subject: Bug 11739

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	janis@gcc.gnu.org	2003-08-04 23:47:36

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gcc.misc-tests: i386-prefetch.exp 

Log message:
	PR target/11739
	* gcc.misc-tests/i386-prefetch.exp: Use -march=i386 when specifying
	a value for -mtune.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2956&r2=1.2957
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp.diff?cvsroot=gcc&r1=1.3&r2=1.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/11739] i386 prefetch tests need to made smarter
  2003-07-31  6:40 [Bug target/11739] New: prefetch tests need to made smarter gschafer at zip dot com dot au
                   ` (2 preceding siblings ...)
  2003-08-04 23:47 ` [Bug target/11739] i386 " cvs-commit at gcc dot gnu dot org
@ 2003-08-05  3:25 ` pinskia at physics dot uc dot edu
  2004-10-29  6:57 ` cvs-commit at gcc dot gnu dot org
  2004-10-29 12:37 ` cvs-commit at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-05  3:25 UTC (permalink / raw)
  To: gcc-bugs

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-05 03:25 -------
Fixed on the mainline by <http://gcc.gnu.org/ml/gcc-cvs/2003-08/msg00209.html>
2003-08-04  Janis Johnson  <janis187@us.ibm.com>

	PR target/11739
	* gcc.misc-tests/i386-prefetch.exp: Use -march=i386 when specifying
	a value for -mtune.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/11739] i386 prefetch tests need to made smarter
  2003-07-31  6:40 [Bug target/11739] New: prefetch tests need to made smarter gschafer at zip dot com dot au
                   ` (3 preceding siblings ...)
  2003-08-05  3:25 ` pinskia at physics dot uc dot edu
@ 2004-10-29  6:57 ` cvs-commit at gcc dot gnu dot org
  2004-10-29 12:37 ` cvs-commit at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-29  6:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-29 06:56 -------
Subject: Bug 11739

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_2-rhl8-branch
Changes by:	jakub@gcc.gnu.org	2004-10-29 06:56:39

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386.c 
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gcc.misc-tests: i386-prefetch.exp 

Log message:
	2004-07-09  Jakub Jelinek  <jakub@redhat.com>
	
	* Backport from mainline:
	2004-07-08  Paolo Bonzini  <bonzini@gnu.org>
	Jakub Jelinek  <jakub@redhat.com>
	
	* config/i386/i386.c (override_options): Enable
	SSE prefetches with -mtune, as long as we are
	compiling for i686 or higher.  All i686 processors
	accept SSE prefetches as NOPS, some i586's don't.
	
	2004-07-07  Jakub Jelinek  <jakub@redhat.com>
	
	* config/i386/i386.c (override_options): Don't set x86_prefetch_sse
	from -mtune= option.
	
	2004-07-08  Jakub Jelinek  <jakub@redhat.com>
	
	* gcc.mist-tests/i386-prefetch.exp (PREFETCH_SSE): Change all
	-march=i386 into -march=i686.  Add -march=i686 -mcpu=prescott and
	-march=prescott.
	
	2003-08-04  Janis Johnson  <janis187@us.ibm.com>
	
	PR target/11739
	* gcc.misc-tests/i386-prefetch.exp: Use -march=i386 when specifying
	a value for -mcpu.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.13152.2.657.2.27.2.199&r2=1.13152.2.657.2.27.2.200
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.368.2.19.2.2.2.43&r2=1.368.2.19.2.2.2.44
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.1672.2.166.2.8.2.83&r2=1.1672.2.166.2.8.2.84
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.2&r2=1.2.38.1



-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/11739] i386 prefetch tests need to made smarter
  2003-07-31  6:40 [Bug target/11739] New: prefetch tests need to made smarter gschafer at zip dot com dot au
                   ` (4 preceding siblings ...)
  2004-10-29  6:57 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-29 12:37 ` cvs-commit at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-29 12:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-29 12:37 -------
Subject: Bug 11739

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-rhl-branch
Changes by:	jakub@gcc.gnu.org	2004-10-29 12:37:36

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386.c 
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gcc.misc-tests: i386-prefetch.exp 

Log message:
	2004-07-09  Jakub Jelinek  <jakub@redhat.com>
	
	* Backport from mainline:
	2004-07-08  Paolo Bonzini  <bonzini@gnu.org>
	Jakub Jelinek  <jakub@redhat.com>
	
	* config/i386/i386.c (override_options): Enable
	SSE prefetches with -mtune, as long as we are
	compiling for i686 or higher.  All i686 processors
	accept SSE prefetches as NOPS, some i586's don't.
	
	2004-07-07  Jakub Jelinek  <jakub@redhat.com>
	
	* config/i386/i386.c (override_options): Don't set x86_prefetch_sse
	from -mtune= option.
	
	2004-07-08  Jakub Jelinek  <jakub@redhat.com>
	
	* gcc.mist-tests/i386-prefetch.exp (PREFETCH_SSE): Change all
	-march=i386 into -march=i686.  Add -march=i686 -mcpu=prescott and
	-march=prescott.
	(PREFETCH_3DNOW): Add -march=c3.
	
	2003-08-04  Janis Johnson  <janis187@us.ibm.com>
	
	PR target/11739
	* gcc.misc-tests/i386-prefetch.exp: Use -march=i386 when specifying
	a value for -mcpu.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.16114.2.523.2.112&r2=1.16114.2.523.2.113
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.495.2.20.4.24&r2=1.495.2.20.4.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.2261.2.170.2.61&r2=1.2261.2.170.2.62
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.2&r2=1.2.52.1



-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-10-29 12:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-31  6:40 [Bug target/11739] New: prefetch tests need to made smarter gschafer at zip dot com dot au
2003-07-31  6:47 ` [Bug target/11739] " gschafer at zip dot com dot au
2003-07-31 14:41 ` pinskia at physics dot uc dot edu
2003-08-04 23:47 ` [Bug target/11739] i386 " cvs-commit at gcc dot gnu dot org
2003-08-05  3:25 ` pinskia at physics dot uc dot edu
2004-10-29  6:57 ` cvs-commit at gcc dot gnu dot org
2004-10-29 12:37 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).