【英特尔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将永远不会被保存。

相关推荐
花落已飘11 分钟前
多线程 vs 异步
linux·网络·系统架构
PanZonghui36 分钟前
Centos项目部署之Nginx部署项目
linux·nginx
码出钞能力1 小时前
linux内核模块的查看
linux·运维·服务器
星辰云-2 小时前
# Linux Centos系统硬盘分区扩容
linux·运维·centos·磁盘扩容
聽雨2372 小时前
02每日简报20250704
linux·科技·金融·生活·社交电子·娱乐·媒体
Maki Winster3 小时前
Peek-Ubuntu上Gif录制工具-24.04LTS可装
linux·ubuntu·peek
工业互联网专业3 小时前
汇编与接口技术:8259中断实验
汇编·单片机·嵌入式硬件·8259中断实验
Maki Winster4 小时前
在 Ubuntu 下配置 oh-my-posh —— 普通用户 + root 各自使用独立主题(共享可执行)
linux·运维·ubuntu
守望时空334 小时前
Linux下KDE桌面创建自定义右键菜单
linux
l0sgAi4 小时前
vLLM在RTX50系显卡上部署大模型-使用wsl2
linux·人工智能