https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108862
Jakub Jelinek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108862
--- Comment #6 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:cd8b4fae52d02541c2d8bd2200caad3812f37368
commit r13-6147-gcd8b4fae52d02541c2d8bd2200caad3812f37368
Author: Jakub Jelinek
Date: M
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108862
--- Comment #5 from Jakub Jelinek ---
Created attachment 54495
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54495&action=edit
gcc13-pr108862.patch
Variant patch, instead of creating another temporary and moving it we can just
do the hig
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108862
--- Comment #4 from Jakub Jelinek ---
Created attachment 54494
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54494&action=edit
gcc13-pr108862.patch
Untested fix.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108862
--- Comment #3 from Segher Boessenkool ---
With -fno-unroll-loops added we get
foo:
.LFB0:
.cfi_startproc
cmpwi 0,3,0
ble 0,.L4
mtctr 3
addi 10,4,-8
addi 5,5,8
li 3,0
.p2align 4,,1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108862
Jakub Jelinek changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108862
--- Comment #1 from Jakub Jelinek ---
Note, -O2 -mcpu=power9:
__attribute__((noipa)) unsigned __int128
foo (unsigned __int128 x, unsigned long long y, unsigned long long z)
{
return x + (unsigned __int128) y * z;
}
int
main ()
{
unsigned __
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108862
Jakub Jelinek changed:
What|Removed |Added
Ever confirmed|0 |1
Priority|P3