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