This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] convert stormy16 to constraints.md
- From: Nathan Froyd <froydnj at codesourcery dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, nickc at redhat dot com
- Date: Mon, 14 Feb 2011 12:54:31 -0800
- Subject: Re: [PATCH] convert stormy16 to constraints.md
- References: <20110214202459.GG6247@codesourcery.com> <4D59959F.2020509@redhat.com>
On Mon, Feb 14, 2011 at 12:50:39PM -0800, Richard Henderson wrote:
> Ok except,
>
> > +(define_constraint "W"
> > + "@internal"
> > + (match_test "xstormy16_below100_operand (op, mode)"))
>
> I believe this is exactly
>
> (match_operand 0 "xstormy16_below100_operand")
>
> For the to-do list, there's a whole set of define_predicates that use
> match_code + C code where ior + match_operand would do. There are also
> a couple of predicates with match_code + C code, where the C code
> contains a test redundant with the match_code.
Thanks for the review. FAOD, you're talking about cleanups across
config/*/predicates.md?
-Nathan