[Bug target/113989] MinGW generates unaligned vmovdqa64

2024-02-19 Thread xjkp2283572185 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113989 --- Comment #2 from 严 逍宇 --- (In reply to Richard Biener from comment #1) > does -mstackrealign make it work? It doesn't work. GDB shows that the address in rcx is still unaligned. (gdb) disassemble Dump of assembler code for function _Z1fx:

[Bug target/113989] New: MinGW generates unaligned vmovdqa64

2024-02-19 Thread xjkp2283572185 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113989 Bug ID: 113989 Summary: MinGW generates unaligned vmovdqa64 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/113978] Misoptimize for long vector load operation

2024-02-17 Thread xjkp2283572185 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113978 --- Comment #6 from 严 逍宇 --- (In reply to Andrew Pinski from comment #5) > As I mentioned, that works on linux just fine: Thank you for your time. And when can I use this feature on mingw? I think the behavior of swap two long vectors should b

[Bug target/113978] Misoptimize for long vector load operation

2024-02-17 Thread xjkp2283572185 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113978 --- Comment #4 from 严 逍宇 --- I find an example without abi problem: === Source Code === using v [[using gnu: vector_size(128)]] = char; void f(v *pa, v *pb) noexcept { v a{*pa}, b{*pb}; *pa = b; *pb = a; } === Command === g++ test.c

[Bug c++/113978] New: Misoptimize for long vector load operation

2024-02-17 Thread xjkp2283572185 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113978 Bug ID: 113978 Summary: Misoptimize for long vector load operation Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++