public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* short C code that uses AVX and fails under Cygwin
@ 2016-01-14 20:50 Ilya Razenshteyn
  2016-01-14 20:58 ` Ismail Donmez
  2016-01-14 23:03 ` Warren Young
  0 siblings, 2 replies; 4+ messages in thread
From: Ilya Razenshteyn @ 2016-01-14 20:50 UTC (permalink / raw)
  To: cygwin

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

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

end of thread, other threads:[~2016-01-14 20:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-14 20:50 short C code that uses AVX and fails under Cygwin Ilya Razenshteyn
2016-01-14 20:58 ` Ismail Donmez
2016-01-14 21:18   ` Ilya Razenshteyn
2016-01-14 23:03 ` Warren Young

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