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] |
Hello everyone. I'm working on reducing the amount of builtin's in i386. My approach is to merge similar patterns into one with a fake argument which determines which instruction to print. 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. Should I continue to work in that direction?
Attachment:
named_patts_merge.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |