Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110618062
D33423.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
952 B
Referenced Files
None
Subscribers
None
D33423.diff
View Options
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c
--- a/sys/amd64/amd64/fpu.c
+++ b/sys/amd64/amd64/fpu.c
@@ -472,7 +472,8 @@
/*
* Create a table describing the layout of the CPU Extended
- * Save Area.
+ * Save Area. See Intel SDM rev. 075 Vol. 1 13.4.1 "Legacy
+ * Region of an XSAVE Area" for the source of offsets/sizes.
*/
if (use_xsave) {
xstate_bv = (uint64_t *)((char *)(fpu_initialstate + 1) +
diff --git a/sys/i386/i386/npx.c b/sys/i386/i386/npx.c
--- a/sys/i386/i386/npx.c
+++ b/sys/i386/i386/npx.c
@@ -527,7 +527,10 @@
/*
* Create a table describing the layout of the CPU Extended
- * Save Area.
+ * Save Area. See Intel SDM rev. 075 Vol. 1 13.4.1 "Legacy
+ * Region of an XSAVE Area" for the source of offsets/sizes.
+ * Note that 32bit XSAVE does not use %xmm8-%xmm15, see
+ * 10.5.1.2 and 13.5.2 "SSE State".
*/
if (use_xsave) {
xstate_bv = (uint64_t *)((char *)(npx_initialstate + 1) +
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 21, 11:43 PM (2 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16762928
Default Alt Text
D33423.diff (952 B)
Attached To
Mode
D33423: x86: add a comment providing source for numbers in legacy XSAVE area layout
Attached
Detach File
Event Timeline
Log In to Comment