https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026
--- Comment #14 from CVS Commits ---
The master branch has been updated by Roger Sayle :
https://gcc.gnu.org/g:6fc14f1963dfefead588a4cd8902d641ed69255c
commit r13-2005-g6fc14f1963dfefead588a4cd8902d641ed69255c
Author: Roger Sayle
Date: Tue A
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026
Roger Sayle changed:
What|Removed |Added
CC||roger at nextmovesoftware dot
com
Targe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026
--- Comment #12 from CVS Commits ---
The master branch has been updated by Roger Sayle :
https://gcc.gnu.org/g:f3f73e86ec8613f176db3e52bbfbfbb9636cb714
commit r13-1281-gf3f73e86ec8613f176db3e52bbfbfbb9636cb714
Author: Roger Sayle
Date: Mon J
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026
--- Comment #11 from Segher Boessenkool ---
Wrt rs6000: we have shift+mask+compare in just one insn (it is basic powerpc),
and our
(define_insn "*and3_imm_dot_shifted"
pattern outputs this as just an "andi." insn when it can. But indeed the sh
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026
--- Comment #10 from Segher Boessenkool ---
So on Arm we get
Trying 6 -> 8:
6: r119:SI=r123:SI>>0x8
REG_DEAD r123:SI
8: {cc:CC_NZ=cmp(r119:SI&0x6,0);clobber scratch;}
REG_DEAD r119:SI
Failed to match this instruction:
(parall
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026
--- Comment #9 from Segher Boessenkool ---
This is all handled in combine, nothing is specific to rs6000 (only the
description of all of our insns is, of course, but there is really no way
around that, nor should there be :-) )
Why does combine
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026
--- Comment #8 from Jeffrey A. Law ---
I don't think so -- the goal here is to optimize this in gimple so that all
targets benefit rather than every target having to customize a solution for
this idiom.
If Roger's patch is sound you might even b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026
--- Comment #7 from Segher Boessenkool ---
For Power, both the original testcase and the one in comment 5 generate perfect
code, for all -mcpu= I tested. Should this be a target bug?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026
Andrew Pinski changed:
What|Removed |Added
Component|rtl-optimization|tree-optimization
Ever confirmed|0