Yes.devc1 wrote:One Last Question, is the Page Attribute Table (PAT) available on all x64 Processors ?
High Performance Graphics Driver for most devices
Re: High Performance Graphics Driver for most devices
Re: High Performance Graphics Driver for most devices
You know, the merest amount of research would have told you to just look into the bloody documentation, that contains such helpful sentences as:devc1 wrote:One Last Question, is the Page Attribute Table (PAT) available on all x64 Processors ?
Since those developments are far older than the development of 64-bit mode, the answer to your question is yes.Intel SDM wrote:The PAT was introduced to the IA-32 architecture on the Pentium III processor. It is also available on the Pentium 4 and Intel Xeon processors.
Carpe diem!
- Demindiro
- Member
- Posts: 96
- Joined: Fri Jun 11, 2021 6:02 am
- Libera.chat IRC: demindiro
- Location: Belgium
- Contact:
Re: High Performance Graphics Driver for most devices
Instead of using PAT you may want to use non-temporal instructions instead, which has the same effect.
I use NT instructions since I want to keep my microkernel API free from any architecture-specific details where possible.
I use NT instructions since I want to keep my microkernel API free from any architecture-specific details where possible.
-
- Member
- Posts: 5563
- Joined: Mon Mar 25, 2013 7:01 pm
Re: High Performance Graphics Driver for most devices
But it was introduced on the Pentium II...nullplan wrote:Intel SDM wrote:The PAT was introduced to the IA-32 architecture on the Pentium III processor.
Unfortunately, those instructions may not have the same effect:Demindiro wrote:Instead of using PAT you may want to use non-temporal instructions instead, which has the same effect.
Firmware may set up the MTRRs so that the framebuffer is UC. You'll need to change the MTRRs or override the MTRRs with the PAT to make non-temporal instructions work correctly, so you might as well set it to WC and make all instructions non-temporal.Intel SDM wrote:The memory type of the region being written to can override the non-temporal hint, if the memory address specified for the non-temporal store is in an uncacheable (UC) or write protected (WP) memory region.
- Demindiro
- Member
- Posts: 96
- Joined: Fri Jun 11, 2021 6:02 am
- Libera.chat IRC: demindiro
- Location: Belgium
- Contact:
Re: High Performance Graphics Driver for most devices
From what I understand it is not possible to override the MTRR if it set to UC.Octocontrabass wrote:Firmware may set up the MTRRs so that the framebuffer is UC. You'll need to change the MTRRs or override the MTRRs with the PAT to make non-temporal instructions work correctly, so you might as well set it to WC and make all instructions non-temporal.
-
- Member
- Posts: 5563
- Joined: Mon Mar 25, 2013 7:01 pm
Re: High Performance Graphics Driver for most devices
Look at table 11-7 instead of table 11-6.Demindiro wrote:From what I understand it is not possible to override the MTRR if it set to UC.
Re: High Performance Graphics Driver for most devices
Understandable, thanks !