Re: prefetch seem don't work ?!
- From: Tim Roberts <spamtrap@xxxxxxxxxx>
- Date: Tue, 25 Apr 2006 05:42:51 GMT
"Claudio Daffra" <spamtrap@xxxxxxxxxx> wrote:
Hi all
I'm trying to use prefetch instrunction on AMD64 (939 3200+), without
result.
I have compile program with gcc in two different ways :
- with prefetch instruction and without but the time is same in both
test and in other test.
how can improve this program ?
...
Home$ time ./pr2
real 0m0.002s
user 0m0.000s
sys 0m0.004s
Home$
This is not enough time to do reliable timings. You should run this in a
loop 100 or 1,000 times to get a better idea of the real time.
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- prefetch seem don't work ?!
- From: Claudio Daffra
- prefetch seem don't work ?!
- Prev by Date: Re: [Clax86list] Syscall interface
- Next by Date: Re: Variables on x86 Cache (L1 or L2) rather than Registers?
- Previous by thread: Re: prefetch seem don't work ?!
- Next by thread: MASM question...
- Index(es):