[Bug c++/98461] Suboptimal codegen for negating a movemask

2020-12-29 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #4 from Denis Yaroshevskiy --- (In reply to Hongtao.liu from comment #3) > Could you mark this bug as blocks PR98375 Done? > ... waiting for Stage 1 of GCC 12 to be applied.) So. the next gcc should have a fix? Fantastic! Will it

[Bug c++/98461] Suboptimal codegen for negating a movemask

2020-12-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #3 from Hongtao.liu --- Hi Denis Yaroshevskiy: Could you mark this bug as blocks PR98375 (This metabug is used to track all the patches which have been written during Stage 3 of GCC 11 but do not qualify for that stage, and are wai

[Bug c++/98461] Suboptimal codegen for negating a movemask

2020-12-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #2 from Hongtao.liu --- > So add combine splitter? I'm testing this patch 1 file changed, 15 insertions(+), 1 deletion(-) gcc/config/i386/sse.md | 16 +++- modified gcc/config/i386/sse.md @@ -640,7 +640,8 @@ (define_mo

[Bug c++/98461] Suboptimal codegen for negating a movemask

2020-12-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #1 from Hongtao.liu --- in rtl phase, gcc successfully simplify (and:V4DI (not:V4DI (reg:V4DI 91)) (constm1_rtx) to (not:V4DI (reg:V4DI 91)). But combine failed to match (set (reg:SI 88) (unspec:SI [ (s

[Bug c++/98461] Suboptimal codegen for negating a movemask

2020-12-28 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0