flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Is using INVLPG a good idea?

Author
Thread Post new topic Reply to topic
Japheth



Joined: 26 Oct 2004
Posts: 151
Japheth 05 Jun 2007, 06:17
according to Intel docs: yes, because it's faster and therefore recommended, but using INVLPG instead of "mov cr3, eax" in Jemm (a DOS EMM) is - apparently - significantly slower as soon as more than 1 TLB entry is to be flushed (on a P4).

Has anyone tested the speed benefits of INVLPG?
Post 05 Jun 2007, 06:17
View user's profile Send private message Reply with quote
mikegonta



Joined: 20 Nov 2005
Posts: 99
mikegonta 06 Jun 2007, 00:30
[ Post removed by author. ]


Last edited by mikegonta on 27 Jan 2009, 21:58; edited 2 times in total
Post 06 Jun 2007, 00:30
View user's profile Send private message Reply with quote
Japheth



Joined: 26 Oct 2004
Posts: 151
Japheth 06 Jun 2007, 05:26
thanks, that's what is written in the Intel docs. However, my point wasn't whether INVLPG is supposed to be faster according to the docs, but whether it is faster (or slower) in reality - as my experiences did indicate.
Post 06 Jun 2007, 05:26
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.