This is the mail archive of the
cygwin
mailing list for the Cygwin project.
AVX __m256i return value
- From: Roland Schulz <roland at utk dot edu>
- To: cygwin at cygwin dot com
- Date: Sun, 6 Jul 2014 03:13:24 +0000 (UTC)
- Subject: AVX __m256i return value
- Authentication-results: sourceware.org; auth=none
Hi,
a non-inline function which returns a __m256i causes a segfault under Cygwin.
It seems it tries to save the return value on the stack without proper
alignment:
0x0000000100404dcb <+153>: mov 0x30(%rbp),%rax
=> 0x0000000100404dcf <+157>: vmovdqa %ymm0,(%rax)
This is with GCC 4.8.3. The code is fine with GCC/Clang/ICC under Linux and
MSVC/ICC under Windows. Is this a known problem or should I file a more
detailed bug report? If so should I report this here or on the GCC bugzilla?
Roland
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple