[Bug target/101205] csinv does not have an zero_extend version

2021-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101205 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Status|ASSIGNED

[Bug target/101205] csinv does not have an zero_extend version

2021-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101205 --- Comment #7 from CVS Commits --- The master branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:db95ac7745b284d1fd667ee6262b4afc778fe074 commit r12-2395-gdb95ac7745b284d1fd667ee6262b4afc778fe074 Author: Andrew Pinski Date: S

[Bug target/101205] csinv does not have an zero_extend version

2021-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101205 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug target/101205] csinv does not have an zero_extend version

2021-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101205 --- Comment #5 from Andrew Pinski --- Created attachment 51169 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51169&action=edit full patch Patch which I sent but the company mail relay server looks broken.

[Bug target/101205] csinv does not have an zero_extend version

2021-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101205 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > The fix actually might be simplier than I had expected because csneg is > already implement, just need to extend it to csinv also like so: Yep that works. time

[Bug target/101205] csinv does not have an zero_extend version

2021-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101205 --- Comment #3 from Andrew Pinski --- The fix actually might be simplier than I had expected because csneg is already implement, just need to extend it to csinv also like so: diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch6

[Bug target/101205] csinv does not have an zero_extend version

2021-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101205 --- Comment #2 from Andrew Pinski --- The problem is csinv3si_insn, csinv3_uxtw_insn2, nor csinv3_uxtw_insn3 would match as those have the zero_extend inside the if/then/else rather on the outside which is being matched here: Trying 36 -> 19:

[Bug target/101205] csinv does not have an zero_extend version

2021-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101205 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-16 Status|UNCONFIRM