delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/07/05/23:16:12

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=E3Q
CgK+4cpVqVuDYIdunN1ZcMFiH34BBONl5iH2AODFq59SJNMdU040/+ZBnDug86Dd
BIw3PCU22a8wX0eOM0Gh1AsJz+ut7Sqf2AGf68Z7mzE/a5pOlH6ibpU8uv5+NL2Y
qVctdUhhXwuk7r7p2DMXnDrasGsHx0GALtx5ODsY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=SjO6w9G3a
O0I1AQhzNkFR3g92cQ=; b=Oa/aUqWaqTFYff+nk8Nt3RWryo2Ruz8CzPtDj/5fs
aIY7Zf2JxnPvdmFPu0isLATlcD0XjFBvW4dj1fNNE+E9x5xqoIFyOqw08Z3p7VuC
cZKx2+EKLxxRmDWK0RUVv5Xql7H1mrjfOp2/dw5ncss5iTS+o1oDnyNxGxw1norD
ms=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Roland Schulz <roland AT utk DOT edu>
Subject: AVX =?utf-8?b?X19tMjU2aQ==?= return value
Date: Sun, 6 Jul 2014 03:13:24 +0000 (UTC)
Lines: 13
Message-ID: <loom.20140706T045633-801@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019