delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/14/15:21:01

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:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=i08
HlEsjAQjW/AHF1p2ldqMDoVzpYMnvX6ko4b2TvZaFYc1xrZeNj8G6C+eUcwGI9cg
mrrZIc2jdtLASQDx+wEL+eZIw/xEP+GSaJrN+AYAK1yRHfy4qgwQd5T+VEpRVbA7
7P7dMROYHCv+kJcv/a8KBoKecINVhYtemRd5Eg5U=
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:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=aBU1MZV6e
0TXSp45n8UBevvLmjg=; b=JBrd0W9KYw3m7rdbRP/0z1fk2avhtd5PoVd2R06Xy
SupDytGlCS6k13TOurR3zGnuufKu/hSjrNXJQLOizfdUJ7j03KMNCVB4C4kHPZoM
Ap0yDogOEvrYW4AiphXbcmLaTGmqqs/ck66zNVZ/ZlRqlA1ffUIaJF2qHMUVDyLu
dU=
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.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:User, Core, Hx-spam-relays-external:!192.168.0.101!, H*r:ip*192.168.0.101
X-HELO: dmz-mailsec-scanner-1.mit.edu
To: cygwin AT cygwin DOT com
From: Ilya Razenshteyn <ilyaraz AT mit DOT edu>
Subject: short C code that uses AVX and fails under Cygwin
Message-ID: <56980313.5030205@mit.edu>
Date: Thu, 14 Jan 2016 23:20:35 +0300
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
X-IsSubscribed: yes

Hi all,

the below C code fails under Cygwin. More specifically, the environment 
is: Windows 8.1, Cygwin 2.3.1, GCC 4.9.3, CPU 'Intel(R) Core(TM) 
i7-4510U CPU @ 2.00GHz', compilation options are '-O0 -mavx'. Is it 
indeed a bug in Cygwin or I don't understand something?

Cheers,
Ilya

#include "immintrin.h"

__m256 routine(void) {
   __m256 aux;
   return aux;
}

int main(void) {
   void *buf = malloc(1);
   __m256 res = routine();
   return 0;
}



--
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