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] |
Hi, This will be a patch series implementing an interface which estimates register pressure on tree ssa and uses the information in predictive common optimization. This the first patch computing map from type modes to register pressure classes. Given there is no pseudo register on tree ssa form, we need type mode -> register class information to compute register pressure. This patch adds such map in struct target_ira and a function computing the map. Though the map is computed by guess, it's enough for use on tree level. As a matter of fact, we only need to identify GENERAL, FLOAT and VECTOR register classes. Bootstrap and test on x86_64 and AArch64, is it OK? Thanks, bin 2017-05-10 Bin Cheng <bin.cheng@arm.com> * ira.c (setup_mode_classes): New function. (find_reg_classes): Call above function. * ira.h (struct target_ira): New field x_ira_mode_classes. (ira_mode_classes): New macro.
Attachment:
0001-ira-mode-reg_class-map-20170316.txt
Description: 0001-ira-mode-reg_class-map-20170316.txt
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |