This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 01/31/14 22:52, Richard Biener wrote:
I think AND is necessary for certain variants of the Alpha. In theory a shift-add might be possible here, but I don't know if it happens in practice.On February 1, 2014 12:56:45 AM GMT+01:00, Steven Bosscher <stevenb.gcc@gmail.com> wrote:On Fri, Jan 31, 2014 at 10:28 PM, Jakub Jelinek wrote:Without this patch, cprop can propagate e.g. a SYMBOL_REF to former (mem (plus (reg) (const_int))) making it invalid RTL (as plus of CONSTANT_P arguments must besimplifiedor surrounded by CONST).But isn't this true for all non-unary operators? Is covering MINUS and PLUS enough?AND should be handled as well. I can't think of any others that might be used with symbol refs. But yes, in principle you are right.
jeff
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |