https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223
Andrew Pinski changed:
What|Removed |Added
Status|NEW |ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223
Bug 56223 depends on bug 101205, which changed state.
Bug 101205 Summary: csinv does not have an zero_extend version
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101205
What|Removed |Added
--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223
--- Comment #9 from Andrew Pinski ---
Note I did submit a patch
(https://gcc.gnu.org/pipermail/gcc-patches/2021-July/574892.html) for:
int abs0(int a, int b)
{
int c = a - b;
if (c <= 0) c = b - a;
return c;
}
But this is unrelated to your
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223
Andrew Pinski changed:
What|Removed |Added
Depends on||101205
--- Comment #8 from Andrew Pinski
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223
--- Comment #7 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #5)
> I also noticed that factor_out_conditional_conversion has a similar issue
> where the cast is inside both if and else part.
I have a fix for that, though we don'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223
--- Comment #6 from Andrew Pinski ---
Created attachment 50925
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50925&action=edit
Patch which starts to fix this
This is step 1 in fixing this bug, there are two or three more steps/patches.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223
Andrew Pinski changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot
gnu.org
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223
--- Comment #4 from Andrew Pinski ---
Note factor_out_conditional_conversion is a special case comment #3 really.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223
--- Comment #3 from Andrew Pinski ---
There are ways of handling this case. I think the second one is better than
the first. The first is mentioned here.
The second would take:
if (a) {
foo();
b = d + e;
} else {
goo();
b = d -e;
}
an
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223
Richard Biener changed:
What|Removed |Added
Keywords||missed-optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223
--- Comment #1 from Yuri Rumyantsev 2013-02-06
11:41:21 UTC ---
Created attachment 29367
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29367
testcase to reproduce
12 matches
Mail list logo