https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628
--- Comment #12 from uros at gcc dot gnu.org ---
Author: uros
Date: Fri May 25 13:56:16 2018
New Revision: 260760
URL: https://gcc.gnu.org/viewcvs?rev=260760=gcc=rev
Log:
PR target/83628
* config/alpha/alpha.md (ashlsi3): New
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628
Uroš Bizjak changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628
--- Comment #10 from uros at gcc dot gnu.org ---
Author: uros
Date: Sun Jan 14 15:45:38 2018
New Revision: 256665
URL: https://gcc.gnu.org/viewcvs?rev=256665=gcc=rev
Log:
Backport from mainline
2018-01-12 Uros Bizjak
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628
--- Comment #9 from uros at gcc dot gnu.org ---
Author: uros
Date: Fri Jan 12 16:47:45 2018
New Revision: 256589
URL: https://gcc.gnu.org/viewcvs?rev=256589=gcc=rev
Log:
PR target/83628
* config/alpha/alpha.md (*saddsi_1): New
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628
--- Comment #8 from uros at gcc dot gnu.org ---
Author: uros
Date: Tue Jan 9 16:27:11 2018
New Revision: 256387
URL: https://gcc.gnu.org/viewcvs?rev=256387=gcc=rev
Log:
PR target/83628
* combine.c (force_int_to_mode) : Use mode
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628
Jakub Jelinek changed:
What|Removed |Added
Priority|P3 |P4
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628
--- Comment #6 from Uroš Bizjak ---
On a related note, gcc-5 (-O2) was able to also simplify:
int test (int a, int b, int c)
{
return (a < b) * 4 + c;
}
cmplt $16,$17,$17
s4addl $17,$18,$0
ret $31,($26),1
where gcc-8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628
--- Comment #5 from Segher Boessenkool ---
The MULT is not canonical.
For some reason we do not realise we can do the ASHIFT as SI instead of DI.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83628
Uroš Bizjak changed:
What|Removed |Added
Status|ASSIGNED|NEW
CC|