summaryrefslogtreecommitdiff
path: root/sys/src/9/pc64/mem.h
diff options
context:
space:
mode:
authorSigrid <ftrvxmtrx@gmail.com>2020-12-06 19:31:56 +0100
committerSigrid <ftrvxmtrx@gmail.com>2020-12-06 19:31:56 +0100
commit334c5e1134719a02c35c72ec5435a967a74846f8 (patch)
tree6a81a47f847e9025945a5ac4ef3c6ebba07fc721 /sys/src/9/pc64/mem.h
parent66b6185845e85258f1408271d5f705aacfa6ffdb (diff)
amd64: FP: always use enough to fit AVX state and align to 64 bytes
Diffstat (limited to 'sys/src/9/pc64/mem.h')
-rw-r--r--sys/src/9/pc64/mem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/9/pc64/mem.h b/sys/src/9/pc64/mem.h
index f02e042a6..4541a62a0 100644
--- a/sys/src/9/pc64/mem.h
+++ b/sys/src/9/pc64/mem.h
@@ -26,6 +26,7 @@
#define ROUND(s, sz) (((s)+((sz)-1))&~((sz)-1))
#define PGROUND(s) ROUND(s, BY2PG)
#define BLOCKALIGN 8
+#define FPalign 64
#define MAXMACH 128 /* max # cpus system can run */