Make space for AVX-512 registers in x86 arch_thread.
Should fix #16382 Change-Id: Ib1445e3c08036a8c959eae54adcf0f0c27bcf22d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3031 Reviewed-by: Rene Gollent <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
f96d1f4d92
commit
bd3b7c3f90
@@ -57,8 +57,11 @@ struct arch_thread {
|
|||||||
// 512 byte floating point save point - this must be 16 byte aligned
|
// 512 byte floating point save point - this must be 16 byte aligned
|
||||||
uint8 fpu_state[512] _ALIGNED(16);
|
uint8 fpu_state[512] _ALIGNED(16);
|
||||||
#else
|
#else
|
||||||
// floating point save point - this must be 64 byte aligned for xsave
|
// floating point save point - this must be 64 byte aligned for xsave and
|
||||||
uint8 fpu_state[1024] _ALIGNED(64);
|
// have enough space for all the registers, at least 2560 bytes according
|
||||||
|
// to Intel Architecture Instruction Set Extensions Programming Reference,
|
||||||
|
// Section 3.2.4, table 3-8
|
||||||
|
uint8 fpu_state[2560] _ALIGNED(64);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
addr_t GetFramePointer() const;
|
addr_t GetFramePointer() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user