This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
target/6500: Sparc.md's prefetch is buggy
- From: davem at redhat dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 28 Apr 2002 12:31:12 -0000
- Subject: target/6500: Sparc.md's prefetch is buggy
- Reply-to: davem at redhat dot com
>Number: 6500
>Category: target
>Synopsis: Sparc.md's prefetch is buggy
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 28 05:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: davem@redhat.com
>Release: GCC cvs 3.1
>Organization:
>Environment:
sparc*-*
>Description:
The prefetch instruction case used in sparc.md
for locality==3 is wrong, prefetch page does something
totally different from the other prefetch types.
It prefetches TLB translations, it doesn't bring
any data into the data caches of the processor.
>How-To-Repeat:
>Fix:
Change locality==3 case in sparc.md's prefetch instruction
to use prefetch function 0 for reads and 2 for writes.
>Release-Note:
>Audit-Trail:
>Unformatted: