At 06:57 AM 11/24/2004 +0300, Arkady V.Belousov wrote:

     AFAIK, all newer CPUs (starting from Pentium) syncronize code cache
with self-modifying code (SMC). This is why on newer CPUs you can't detect
pipe length through modifying followinf instructions. On the other side, I
hear, that on some CPUs to force cache resetting, should be performed _back_
jump.

So we need somebody with an ancient 486-only machine to test a program which goes something like:


 xor edx,edx
 mov edx,cr0
 mov edi,-1
 mov edi,cr0
 cmp edi,edx
 jne failure
 success:

386 should work with the JMP since it predates WBINVD.




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to