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] pdp11: remove -mabshi


On Nov 19, 2010, at 12:40 PM, Richard Henderson wrote:

> On 11/18/2010 06:01 PM, Paul Koning wrote:
>> The -mabshi switch turns on/off the builtin abs pattern, which is redundant with -builtin-abs...
> 
> Well, no, it isn't.  The abs pattern will be automatically generated
> from something like (a < 0 ? -a : a).
> 
> That said, the pattern that you provide is pretty much exactly what
> the compiler would generate itself; it doesn't seem worthwhile to
> provide it at all.

Thanks.  I've been eliminating some patterns that didn't seem to add value; I'll add abshi to the list.

	paul


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