[Bug target/49001] GCC uses VMOVAPS/PD AVX instructions to access stack variables that are not 32-byte aligned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49001 Mingye Wang changed: What|Removed |Added CC||arthur200126 at gmail dot com --- Comment #5 from Mingye Wang --- I think I am bumping into the same bug with GCC 10.3.0, MinGW64 environment, in an SIMD library at [1]. [1]: https://github.com/google/highway/issues/332 There was a related bug at [2] showing another small (not quite minimal) test case. [2]: https://osdn.net/projects/mingw/ticket/39565 The VMOVUPS idea seems cool -- can we do it?
[Bug target/49001] GCC uses VMOVAPS/PD AVX instructions to access stack variables that are not 32-byte aligned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49001 --- Comment #6 from Mingye Wang --- FWIW, the ticket about doing stuff to align the stack in the prologue is bug 54412. Apologies for the noisy emails, but thing is I can't do the see-also thing here.
[Bug target/54412] minimal 32-byte stack alignment with -mavx on 64-bit Windows
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 Mingye Wang changed: What|Removed |Added CC||arthur200126 at gmail dot com --- Comment #30 from Mingye Wang --- One of the weird probably SEH-related things is that the lack-of-alignment behavior of comment 28 and attachment 1 is not reproduced on a "normal" Linux GCC with __attribute__((ms_abi)) sprinkled all over to get the right calling convention. The code takes the same shape, uses mostly the same registers, but the `and rsp, -32` is just either not there or placed wrong.
[Bug libgcc/109270] New: ssp/ssp.h should be adapted to use __builtin_dynamic_object_size()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109270 Bug ID: 109270 Summary: ssp/ssp.h should be adapted to use __builtin_dynamic_object_size() Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: arthur200126 at gmail dot com Target Milestone: --- GCC 12.0 introduced __builtin_dynamic_object_size() in support of Glibc's _FORTIFY_SOURCE 3, but gcc's own implementation in libssp/ssp/ssp.h.in still lags behind in using the new builtin as of commit 378ec7b. GCC should use the new stuff for its __ssp_bos{,0} definitions at level 3.
[Bug target/55522] -funsafe-math-optimizations is unexpectedly harmful, especially w/ -shared
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522 Mingye Wang changed: What|Removed |Added CC||arthur200126 at gmail dot com --- Comment #46 from Mingye Wang --- Uh, should there be some sort of -mdaz-ftz for the other arches too?