This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Reducing the amount of builtins by merging named patterns
- From: Richard Henderson <rth at redhat dot com>
- To: Blumental Maxim <bvmaks at gmail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 10 Dec 2014 08:15:55 -0800
- Subject: Re: Reducing the amount of builtins by merging named patterns
- Authentication-results: sourceware.org; auth=none
- References: <CACy_Q+yHug=84e+X=Ya=ae_5nzsd1-1wtz6_7t=v1sG4JdL8LA at mail dot gmail dot com>
On 12/10/2014 06:08 AM, Blumental Maxim wrote:
> We have ~30 groups of similar (i.e.having similar sets of attributes)
> named patterns. These groups together include ~230 template (i.e.
> having substitution attributes in their names) named patterns in
> total. So, we can reduce the amount of template named patterns by ~200
> at best. Those template named patterns correspond to several specific
> named patterns each. E.g. in my patch (see attached patch) I merged
> two template named patterns into one and that allowed me to replace
> four builtin's with only two.
I don't find this particularly readable or maintainable.
What do you hope to gain here?
r~