This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] pdp11: remove -mabshi
- From: Richard Henderson <rth at redhat dot com>
- To: Paul Koning <paul_koning at dell dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 19 Nov 2010 09:40:01 -0800
- Subject: Re: [PATCH] pdp11: remove -mabshi
- References: <0C7AC5B0-BC08-48EF-BD7C-E2BD060FA3D9@dell.com>
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.
r~