[PATCH] Add contains_symbol_ref_p .

2015-10-26 Thread Anatoliy Sokolov
Hello. This patch add contains_symbol_ref_p function in rtlanal.c and remove contains_symbol_ref_p from lra-constraints.c and contains_symbol_ref from var-tracking.c. Bootstrapped and reg-tested on x86_64-unknown-linux-gnu. OK for trunk? 2015-10-27 Anatoly Sokolov * rtl.h (con

[PATCH] Use subreg_regno instead of subreg_regno_offset

2015-10-26 Thread Anatoliy Sokolov
Hello. This patch change code 'REGNO (subreg) + subreg_regno_offset (...)' with subreg_regno (subreg). Bootstrapped and reg-tested on x86_64-unknown-linux-gnu. OK for trunk? 2015-10-27 Anatoly Sokolov * caller-save.c (add_stored_regs): Use subreg_regno instead of subreg

[MCORE] Hookize GO_IF_LEGITIMATE_ADDRESS

2015-10-26 Thread Anatoliy Sokolov
Hi. This patch removes obsolete GO_IF_LEGITIMATE_ADDRESS macros from the MCORE back end in the GCC and introduce equivalent TARGET_LEGITIMATE_ADDRESS_P target hook. Regression tested on mcore-unknown-elf. Only compile test run. OK for trunk? 2015-08-24 Anatoly Sokolov * config/mcore/mc

Remove redundant test for global_regs

2015-08-28 Thread Anatoliy Sokolov
Hi. The fixed_reg_set contain all fixed and global registers. This patch change code "fixed_regs[r] || global_regs[r]" with "TEST_HARD_REG_BIT (fixed_reg_set, r)". Bootstrapped and reg-tested on x86_64-unknown-linux-gnu and powerpc64le-unknown-linux-gnu. OK for trunk? 2015-08-24 Anatoly Sok

Remove redundant use of REG_CLASS_NAMES maros

2015-08-28 Thread Anatoliy Sokolov
Hi. This patch remove static reg_class_names array from print_translated_classes and print_unform_and_important_classes functions. Global reg_class_names array is used instead. Bootstrapped and reg-tested on x86_64-unknown-linux-gnu and powerpc64le-unknown-linux-gnu. OK for trunk? 2015-08-

[PATCH] Use lowpart_subreg instead of simplify_gen_subreg

2015-07-26 Thread Anatoliy Sokolov
Hello. This patch change function call simplify_gen_subreg (omode, x, imode, subreg_lowpart_offset (omode, imode)) with lowpart_subreg (omode, x, imode) and move lowpart_subreg function from loop-iv.c to simplify-rtx.c. Bootstrapped and reg-tested on x86_64-unknown-linux-gnu. OK for trunk? A

[MOXIE] Hookize PRINT_OPERAND and PRINT_OPERAND_ADDRESS

2015-07-26 Thread Anatoliy Sokolov
Hi. This patch removes obsolete PRINT_OPERAND and PRINT_OPERAND_ADDRESS macros from the MOXIE back end in the GCC and introduces equivalent TARGET_PRINT_OPERAND and TARGET_PRINT_OPERAND_ADDRESS target hooks. Regression tested on moxie-unknown-elf. OK for trunk? Anatoly. 2015-07-26 Anatoly So

[V850] Hookize LIBCALL_VALUE

2015-07-26 Thread Anatoliy Sokolov
Hi. This patch removes obsolete LIBCALL_VALUE macros from the V850 back end in the GCC and introduces equivalent TARGET_LIBCALL_VALUE target hook. Regression tested on v850-unknown-eabi. OK for trunk? 2015-07-26 Anatoly Sokolov * config/v850/v850.h (LIBCALL_VALUE): Remove macros.

[MOXIE] Hookize GO_IF_LEGITIMATE_ADDRESS

2015-07-05 Thread Anatoliy Sokolov
Hi. This patch removes obsolete GO_IF_LEGITIMATE_ADDRESS macros from the MOXIE back end in the GCC and introduces equivalent TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P target hook. Regression tested on moxie-unknown-elf. OK for trunk? 2015-07-05 Anatoly Sokolov * config/moxie/moxie.h (

[V850] Hookize GO_IF_LEGITIMATE_ADDRESS

2015-07-02 Thread Anatoliy Sokolov
Hi. This patch removes obsolete GO_IF_LEGITIMATE_ADDRESS macros from the V850 back end in the GCC and introduces equivalent TARGET_LEGITIMATE_ADDRESS_P target hook. Regression tested on v850-unknown-eabi. 2015-07-02 Anatoly Sokolov * config/v850/v850.h (REG_OK_FOR_BASE_P, REG_OK_FOR