Hi Jeff, 在 2024/8/5 23:11, Jeff Law 写道: > We'll probably need Richard S. or someone else to chime in on the actual > patch, but yea, if they can leverage stp, it's likely going to be better than > actual vectors. > > Do we have a testcase for this issue or was it something you just happened to > notice?
I will refine the patch and ask for Richard's advice. The auto CI detects the aarch64 regression cases for all submitted patches. I received its report after sending my "clear by pieces" patch and got following regression cases. FAIL: gcc.target/aarch64/auto-init-padding-11.c scan-assembler stp\txzr, xzr, FAIL: gcc.target/aarch64/auto-init-padding-5.c scan-assembler-times stp\txzr, xzr, 2 FAIL: gcc.target/aarch64/memset-corner-cases.c check-function-bodies set0scalar FAIL: gcc.target/aarch64/memset-q-reg.c check-function-bodies set128bitszero FAIL: gcc.target/aarch64/memset-q-reg.c check-function-bodies set256bitszero Then I made the patch and make sure all regression cases can be fixed. Thanks Gui Haochen