Hi, this question is related to two mingw-w64 bug reports:
(1) "Error: invalid register for .seh_savexmm" #681 Assembler Error: invalid register for .seh_savexmm when compiling with avx-512 https://sourceforge.net/p/mingw-w64/bugs/681/ see also: Bug 65782 - Assembly failure (invalid register for .seh_savexmm) with -O3 -mavx512f on mingw-w64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65782 this can potentially be solved by adding the "-fno-asynchronous-unwind-tables" as requested here: https://stackoverflow.com/questions/43152633/invalid-register-for-seh-savexmm-in-cygwin (2) #304 64 bit AVX generated mis-aligned access https://sourceforge.net/p/mingw-w64/bugs/304/ this can potentially be solved by replacing the 32-bit aligned VMOV instructions by there unaligned variants as requested here: https://stackoverflow.com/questions/5983389/how-to-align-stack-at-32-byte-boundary-in-gcc any ideas how to do this effectively? Carl 2018-04-08 15:39 GMT+02:00 Royi Avital via Mingw-w64-public < mingw-w64-public@lists.sourceforge.net>: > Hello, > Currently MinGW64 cant generate proper code with AVX / AVX2 on Windows 64 > Bit due to alignment issues. > > Is there a plan to fix this significant issue in the near term? > > Reference: > > 1. Code for Reproduction - https://stackoverflow.com/questions/30926241. > 2. Previous Discussion - https://sourceforge.net/p/ > mingw-w64/mailman/message/34485783/. > 3. Comment on the issue snot being Windows' fault - > https://stackoverflow.com/a/30929086/195787. > 4. Sleef - Open Source Project which can't offer MinGW comptability due to > this issue - https://github.com/shibatch/sleef/issues/172#issuecomment- > 367338219. > > This issue is a rel problem for anyone generating code with intense number > crunching which is a usually big motivation for using GCC. > I'd guess many scientists will be happy if it is solved. > > Thank You. > > Royi > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public