【英特尔IA-32架构软件开发者开发手册第3卷:系统编程指南】2001年版翻译,2-38

文件下载与邀请翻译者

学习英特尔开发手册,最好手里这个手册文件。原版是PDF文件。点击下方链接了解下载方法。

讲解下载英特尔开发手册的文章

翻译英特尔开发手册,会是一件耗时费力的工作。如果有愿意和我一起来做这件事的,那么,欢迎你的加入。

另外,我不仅仅是打算翻译这一种手册,以后,可能还需要去翻译许多的英文技术文档

本节翻译

【原文】The processor does not automatically save the context of the x87 FPU, XMM, and MXCSR registers on a task switch. Instead it sets the TS flag, which causes the processor to raise an #NM exception whenever it encounters an x87 FPU, MMX, SSE, or SSE2 instruction in the instruction stream for the new task (with the exception of the instructions listed above). The fault handler for the #NM exception can then be used to clear the TS flag (with the CLTS instruction) and save the context of the x87 FPU, XMM, and MXCSR registers. If the task never encounters an x87 FPU, MMX, SSE, or SSE2 instruction, the x87 FPU, MMX, SSE, and SSE2 context is never saved.

【翻译】处理器不会在任务切换时自动保存x87 FPU、XMM和MXCSR寄存器的上下文。相反,它会设置TS标志,这将导致处理器在新任务的指令流中遇到x87 FPU、MMX、SSE或SSE2指令时引发#NM异常(上面列出的指令除外)。然后,可以使用#NM异常的错误处理程序清除TS标志(使用CLTS指令),并保存x87 FPU、XMM和MXCSR寄存器的上下文。如果任务从未遇到过x87 FPU / MMX / SSE / SSE2指令,则x87 FPU / MMX / SSE / SSE2 上下文t将永远不会被保存。

相关推荐
睡不醒男孩0308232 分钟前
StarRocks导入数据:从本地文件导入数据(Stream Load)
linux·数据库
2301_8090511416 分钟前
Linux TCP 和 UDP 通信
linux·运维·tcp/ip
北京盟通科技官方账号23 分钟前
Windows如何实现硬实时?LxWin双系统隔离架构深度解析
stm32·嵌入式硬件·具身智能·ethercat·人形机器人·实时系统·windows实时扩展
Qt程序员33 分钟前
从上电到系统就绪:ARM+U-Boot 嵌入式 Linux 启动流程
linux·运维·c++·内核·设备树·嵌入式·ram
雨中来客37 分钟前
在开启了FBDEV 模拟层的设备上屏蔽/dev/fb0的显示功能
linux
Yupureki1 小时前
《MySQL数据库基础》8.复合查询
linux·运维·服务器·网络·数据库·mysql
Face1 小时前
WSL2网络不通修改
linux
reikocao1 小时前
ubuntu系统源
linux·运维·ubuntu
Sisphusssss1 小时前
DiskGenius 备份 Ubuntu 系统
linux·ubuntu·diskgenius
Mortalbreeze1 小时前
进程间通信 ---- System V 共享内存
linux·运维·服务器