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


> Or you could special-case (plus (reg) (const_int -4096)) in the output
> template.

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.

-- 
Eric Botcazou


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