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]

target/6500: Sparc.md's prefetch is buggy



>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:


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