public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* AVX  __m256i return value
@ 2014-07-06  3:15 Roland Schulz
  2014-07-06  6:53 ` Václav Zeman
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Schulz @ 2014-07-06  3:15 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-06  6:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-06  3:15 AVX __m256i return value Roland Schulz
2014-07-06  6:53 ` Václav Zeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).