This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [match-and-simplify] support operator list
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Prathamesh Kulkarni <bilbotheelffriend at gmail dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 3 Nov 2014 14:01:17 +0100
- Subject: Re: [match-and-simplify] support operator list
- Authentication-results: sourceware.org; auth=none
- References: <CAJXstsDUf6C93KQUyYsLKpd-qiZHy83FjEvsgFCmzjzuW1SGhw at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Nov 03, 2014 at 06:26:12PM +0530, Prathamesh Kulkarni wrote:
> --- gcc/match-comparison.pd (revision 216916)
> +++ gcc/match-comparison.pd (working copy)
> @@ -1,5 +1,8 @@
> /* From fold_binary. */
>
> +(define_operator_list eq_ops eq ne)
> +(define_operator_list cc eq_ops lt le gt ge)
I think cc is a bad name for the macro, that usually stands for condition
code register.
Jakub