hm... lol
r0 = st(0) = mm0 (nur 64 Bit)
bitmaster
r0 = st(0) = mm0 (nur 64 Bit)
bitmaster
09. November 2026, 18:28

R.I.P. Registers grinSoll heißen?
/Nachdenk, vlt sollt ich ein Tut über das TS Bit schreiben
Task Switched (TS) Bit. Bit 3. When an attempt is made to execute
an x87 or media instruction while TS=1, a device-not-available
exception (#NM) occurs. Software can use this mechanism
sometimes referred to as lazy context-switchingto save the
unit contexts before executing the next instruction of those
types. As a result, the x87 and media instruction-unit contexts
are saved only when necessary as a result of a task switch.
When a hardware task switch occurs, TS is automatically set to
1. System software that implements software task-switching
rather than using the hardware task-switch mechanism can still
use the TS bit to control x87 and media instruction-unit context
saves. In this case, the task-management software uses a MOV
CR0 instruction to explicitly set the TS bit to 1 during a task
switch. Software can clear the TS bit by either executing the
CLTS instruction or by writing to the CR0 register directly.
Long-mode system software can use this approach even though
the hardware task-switch mechanism is not supported in long
mode.
Die Exception sollte bei jedem Zugriff ausgelöst werden. Egal ob jetzt durch SSE, FPU usw. Steht ja auch in deinem zitierten Text.Jo, ich habs jetzt. Klappt wunderbar.