[Bug target/98461] Suboptimal codegen for negating a movemask

2021-05-12 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 Target Milestone|--- |11.0

[Bug target/98461] Suboptimal codegen for negating a movemask

2021-05-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/98461] Suboptimal codegen for negating a movemask

2021-05-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #15 from H.J. Lu --- Is this fixed now?

[Bug target/98461] Suboptimal codegen for negating a movemask

2021-01-06 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #14 from Denis Yaroshevskiy --- (In reply to Hongtao.liu from comment #13) > (In reply to Denis Yaroshevskiy from comment #11) > > Previous 128bit contained a bug. > > Here is an updated one: https://godbolt.org/z/6vdxro > > > > The

[Bug target/98461] Suboptimal codegen for negating a movemask

2021-01-05 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #13 from Hongtao.liu --- (In reply to Denis Yaroshevskiy from comment #11) > Previous 128bit contained a bug. > Here is an updated one: https://godbolt.org/z/6vdxro > > There is still a bit of a difference between 2 versions, not sur

[Bug target/98461] Suboptimal codegen for negating a movemask

2021-01-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #12 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:bea984814c6fcd056dc80c99805925eb19a591b9 commit r11-6462-gbea984814c6fcd056dc80c99805925eb19a591b9 Author: liuhongt Date: Mon Jan

[Bug target/98461] Suboptimal codegen for negating a movemask

2021-01-04 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #11 from Denis Yaroshevskiy --- Previous 128bit contained a bug. Here is an updated one: https://godbolt.org/z/6vdxro There is still a bit of a difference between 2 versions, not sure if important.

[Bug target/98461] Suboptimal codegen for negating a movemask

2021-01-03 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #10 from Hongtao.liu --- (In reply to Hongtao.liu from comment #9) > > 128: https://godbolt.org/z/Exo3d9 > > zero_extend should be redudant, add another combine splitter for the bellow? Pass_combine failed to match combine_splitter

[Bug target/98461] Suboptimal codegen for negating a movemask

2021-01-03 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #9 from Hongtao.liu --- > 128: https://godbolt.org/z/Exo3d9 zero_extend should be redudant, add another combine splitter for the bellow? Failed to match this instruction: (set (reg:SI 91 [ _6 ]) (zero_extend:SI (subreg:HI (unspe

[Bug target/98461] Suboptimal codegen for negating a movemask

2021-01-02 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #8 from Denis Yaroshevskiy --- Thank you for the fast fix. I can already see that the code is in trunk and works for both 256 and 128 bit registers. 256: https://godbolt.org/z/5sT48f 128: https://godbolt.org/z/Exo3d9 I am a bit con

[Bug target/98461] Suboptimal codegen for negating a movemask

2020-12-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8f7941ca37001773a36add8119791725aeb823ba commit r11-6367-g8f7941ca37001773a36add8119791725aeb823ba Author: Jakub Jelinek Date: We

[Bug target/98461] Suboptimal codegen for negating a movemask

2020-12-29 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 --- Comment #6 from Hongtao.liu --- (In reply to Jakub Jelinek from comment #5) > Created attachment 49854 [details] > gcc11-pr98461.patch > > Untested fix. + if (GET_MODE_NUNITS (mode) == 32) Yes, and i missed this part.

[Bug target/98461] Suboptimal codegen for negating a movemask

2020-12-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98461 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a