Re: (64bit) push-pop puzzles



Dear all,

From the beginning of the 8086 until nowaday's still is using
as a NOP the following machine code:

xchg (r)(e)ax,(r)(e)ax

the problem with this kind of nop's is that the processor
can't optimize the NOP used (is used as a advanged too).

So when the processor load one NOP in the first pipeline
a next NOP in the second pipeline and so on all
the pipelines have to wait for the result of that xchg.
If you would put afther a nop something usefull the delay
would be less since the pipeline dos not have to wait for
the prefius one.

Succes, Tessa

Relevant Pages

  • Re: ARM926EJ-S MMU Problem in WinCE5.0
    ... I am no sure how deep the prefetch piece fo rthe pipeline is - I think 3 instructions but I put an extra NOP to be safe. ... grab it now in case multiple instructions are used ... mov pc, r0 ...
    (microsoft.public.windowsce.platbuilder)
  • Re: (64bit) push-pop puzzles
    ... NOP and optimize this in some way; e.g., ... a next NOP in the second pipeline and so on all ... the pipelines have to wait for the result of that xchg. ... M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html ...
    (comp.lang.forth)
  • Cpu speed without rdtsc
    ... mov ebx, 1000 ... Mayby You could improve my code or show me another tests tahat omit all such things as pipeline, ...
    (comp.lang.asm.x86)
  • CPU speed without rdtsc
    ... mov ebx, 1000 ... Mayby You could improve my code or show me another tests tahat omit all such things as pipeline, ...
    (comp.lang.asm.x86)
  • Re: (64bit) push-pop puzzles
    ... NOP and optimize this in some way; ... Read the optimization manuals of the>various ... a next NOP in the second pipeline and so on all ... the pipelines have to wait for the result of that xchg. ...
    (comp.lang.forth)