[Bug target/101205] New: csinv does not have an zero_extend version
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 25 07:56:35 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101205
Bug ID: 101205
Summary: csinv does not have an zero_extend version
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: enhancement
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Target: aarch64
While improving phi-opt I ran into this issue.
gcc.target/aarch64/csinv-neg.c started to fail because we move the cast out of
the conditional and such.
Here is a testcase which shows the problem even without improvment of phiopt:
unsigned long long
inv1(unsigned a, unsigned b, unsigned c)
{
unsigned t = a ? b : ~c;
return t;
}
More information about the Gcc-bugs
mailing list