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]

Re: [PATCH] Fix PR optimization/10876


    I was using Chris' notation, so the problematic pattern is actually

	(plus (reg) (const_int 4096))

    which is not valid on SPARC, whereas

	(minus (reg) (const_int -4096))

    would be, without the canonicalization restriction.

I think you are confused.  If the latter is valid, then whatever code
would be generated for it is generated for the former, since they are
equivalent.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]