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

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




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