diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-10-13 22:12:03 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2010-10-13 22:12:03 -0400 |
commit | f90681487d90a6eea8f1c60021bc8dd83313c59b (patch) | |
tree | 79e5d816abda65fc72f4a163e552bdac4580deb6 /nptl/sysdeps/x86_64/pthreaddef.h | |
parent | b833d51fbbf78b38c6ff68074c22d3fe3ddd0ce3 (diff) | |
download | glibc-f90681487d90a6eea8f1c60021bc8dd83313c59b.tar glibc-f90681487d90a6eea8f1c60021bc8dd83313c59b.tar.gz glibc-f90681487d90a6eea8f1c60021bc8dd83313c59b.tar.bz2 glibc-f90681487d90a6eea8f1c60021bc8dd83313c59b.zip |
Fix alignment of AVX safe area on x86-64.
Diffstat (limited to 'nptl/sysdeps/x86_64/pthreaddef.h')
-rw-r--r-- | nptl/sysdeps/x86_64/pthreaddef.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/sysdeps/x86_64/pthreaddef.h b/nptl/sysdeps/x86_64/pthreaddef.h index be63a8c74a..8ec135c048 100644 --- a/nptl/sysdeps/x86_64/pthreaddef.h +++ b/nptl/sysdeps/x86_64/pthreaddef.h @@ -27,8 +27,9 @@ /* Minimal stack size after allocating thread descriptor and guard size. */ #define MINIMAL_REST_STACK 2048 -/* Alignment requirement for TCB. */ -#define TCB_ALIGNMENT 16 +/* Alignment requirement for TCB. Need to store post-AVX vector registers + in the TCB and we want the storage to be aligned at 32-byte. */ +#define TCB_ALIGNMENT 32 /* Location of current stack frame. The frame pointer is not usable. */ |