LLDT, LGDT/LIDT, SGDT, SIDT, SLDT Instructions



Anyone here that might have used the following instructions...

LLDT "Load Local Descriptor Table Register"
LGDT/LIDT "Load Global/Interrupt Descriptor Table Register"
SGDT "Store Global Descriptor Table Register"
SIDT "Store Interrupt Descriptor Table Register"
SLDT "Store Local Descriptor Table Register"

1) Is there a good description anywhere ?
2) When and/or how might these instructions be used ?
a) Are they of any interest to high level programmers ?
b) Are they only used by the operating system (hardware
vendors) ?
3) Do you use these instructions ?
4) Are they actual registers ?
5) Anyone have a list of which processors support these
instructions ?

I ran across these while going through the Intel documentation
in relation to the BOUND instruction. If you could provide
some help relating BOUND into the definitions as well, that
would be great.

--
Jim Carlock
Post replies to the newsgroup, thanks.


.



Relevant Pages

  • Re: Optimization Questions
    ... cycles you'd save would be more than offset by the cycles you'd burn ... instructions go through port 0 and port 1. ... a 16-bit register, writing one afterwards will be fast. ... Pre-read the value in EAX ...
    (comp.lang.asm.x86)
  • Re: linux-next: Tree for June 13: IO APIC breakage on HP nx6325
    ... enabled) it sets another bit in a register. ... Store ... which quite similarly defines a mask for the 8254 timer interrupt in the ... Windows does not trigger this bug, because it stays away from the 8254 on ...
    (Linux-Kernel)
  • Re: Kind of new: function implementation questions, MASM
    ... >sub esp, varsize ... >select which of the local variables to copy into the working register, ... If you have 512kB of 8-way associative cache, ... You probably shouldn't use the prefetch instructions at all. ...
    (comp.lang.asm.x86)
  • Re: Process Register Directly Is Slow?
    ... storing data into memory is always slow. ... into register from memory before process data in register directly may ... I would claim to use only 2-3 x86 instructions like below. ... the assembly code you give does not do what you say it does above ...
    (comp.lang.asm.x86)
  • Re: The coming death of all RISC chips.
    ... anton@xxxxxxxxxxxxxxxxxxxxxxxxxx wrote: ... the number of write ports in the register file. ... (with instructions only accessing one accumulator ...
    (comp.arch)