question about serializing instructions
From: Vasanth Venkatachalam (spamtrap_at_crayne.org)
Date: 10/26/04
- Next message: Vasanth Venkatachalam: "printf mnemonic for the value returned by rdtsc/rdpmc"
- Previous message: Frank Kotler : "Re: PC boot block programming madness"
- Next in thread: KVP: "Re: question about serializing instructions"
- Reply: KVP: "Re: question about serializing instructions"
- Reply: Wendy E. McCaughrin: "Re: question about serializing instructions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 25 Oct 2004 22:42:51 +0000 (UTC)
Suppose I have a LOAD instruction that causes a main memory access. And say
I insert a serializing instruction cpuid after that load instruction:
<LOAD>
<cpuid>
1. Then am I right that the processor would stall, since the cpuid forces
the processor
to wait for the LOAD to complete before it can instructions after that load?
2. Do serializing instructions like cpuid protect against context switches,
or can a context switch cause instructions of another task to be executed
before the LOAD completes?
- Next message: Vasanth Venkatachalam: "printf mnemonic for the value returned by rdtsc/rdpmc"
- Previous message: Frank Kotler : "Re: PC boot block programming madness"
- Next in thread: KVP: "Re: question about serializing instructions"
- Reply: KVP: "Re: question about serializing instructions"
- Reply: Wendy E. McCaughrin: "Re: question about serializing instructions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|