[LLVMdev] Stack alignment on X86 AVX seems incorrect
Demikhovsky, Elena
elena.demikhovsky at intel.com
Thu Mar 1 10:16:46 PST 2012
./llc -mattr=+avx -stack-alignment=16 < basic.ll | grep movaps | grep ymm | grep rbp
vmovaps -176(%rbp), %ymm14
vmovaps -144(%rbp), %ymm11
vmovaps -240(%rbp), %ymm13
vmovaps -208(%rbp), %ymm9
vmovaps -272(%rbp), %ymm7
vmovaps -304(%rbp), %ymm0
vmovaps -112(%rbp), %ymm0
vmovaps -80(%rbp), %ymm1
vmovaps -112(%rbp), %ymm0
vmovaps -80(%rbp), %ymm0
vmovaps -176(%rbp), %ymm15
vmovaps -144(%rbp), %ymm0
vmovaps -240(%rbp), %ymm0
vmovaps -208(%rbp), %ymm0
vmovaps -272(%rbp), %ymm0
vmovaps -304(%rbp), %ymm0
vmovaps should not access stack if it is not aligned to 32
- Elena
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Demikhovsky, Elena
Sent: Thursday, March 01, 2012 02:59
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] Stack alignment in kernel
I'm running in AVX mode, but the stack before call to kernel is aligned to 16 bit.
Could you, please, tell me where it should be specified?
Thank you.
- Elena
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: basic.ll
Type: application/octet-stream
Size: 38821 bytes
Desc: basic.ll
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120301/a99e9bc7/attachment.obj>
More information about the llvm-dev
mailing list