This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Help for data prefetch for sparc using gcc
- From: yuazhang at cse dot psu dot edu
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 31 Mar 2007 15:56:04 -0400 (EDT)
- Subject: Help for data prefetch for sparc using gcc
Hi,
Could you help me to forward and contact the person in charge of GCC
data prefetching part? I have the question below:
Right now, I am using GCC 3.3 version on Sparc V9 machine. I want to
generate date prefetch instructions with -fprefetch-loop-arrays for my
benchmark zyr-bt.c. but it doesn't generate any "prefetch"
instruciont, with using the command line:
gcc -o2 -mcpu=v9 -fprefetch-loop-arrays -S zyr-bt.c
The machine is
Machine hardware: sun4u
OS version: 5.9
Processor type: sparc
Hardware: SUNW,Sun-Fire-880
Could you tell me how to use -fprefetch-loop-arrays to generate data
prefetches? Are there any requirement for the application program?
Thank you very much!
Look forward to hear from you!
Regards,
Ray