Re: [PATCH] Use subreg_regno instead of subreg_regno_offset

2015-11-02 Thread Anatoly Sokolov
Hello. - Original Message - From: "Bernd Schmidt" Sent: Tuesday, October 27, 2015 1:50 PM On 10/26/2015 11:46 PM, Anatoliy Sokolov wrote: This patch change code 'REGNO (subreg) + subreg_regno_offset (...)' with subreg_regno (subreg). Index: gcc/reg-stack.c ===

Re: Remove redundant test for global_regs

2015-09-07 Thread Anatoly Sokolov
- Original Message - From: "Jeff Law" Sent: Friday, September 04, 2015 11:22 PM Hello. Index: gcc/cse.c === --- gcc/cse.c (revision 226953) +++ gcc/cse.c (working copy) @@ -463,7 +463,7 @@ A reg wins if it is either

Re[2]: [patch] Remove two maintainers of avr port

2014-03-08 Thread Anatoly Sokolov
Hello. > Denis Chertykov writes: >> 2014-03-07 Denis Chertykov >> >> * MAINTAINERS: Remove avr maintainers: Anatoly Sokolov and >> Eric Weddington > Don't maintainers usually retain their write-after-approval status even > if they step down from

Re: [patch] Remove two maintainers of avr port

2014-03-07 Thread Anatoly Sokolov
, March 07, 2014 8:56 PM Subject: [patch] Remove two maintainers of avr port Committed. 2014-03-07 Denis Chertykov * MAINTAINERS: Remove avr maintainers: Anatoly Sokolov and Eric Weddington Index: MAINTAINERS

Re: [PING][SCORE] Hookize PREFERRED_RELOAD_CLASS

2012-04-02 Thread Anatoly Sokolov
Hi. Ping patch: http://gcc.gnu.org/ml/gcc-patches/2012-01/msg00261.html This patch removes obsolete PREFERRED_RELOAD_CLASS macro from the SCORE back end in the GCC and introduces equivalent TARGET_PREFERRED_RELOAD_CLASS target hook. Untested. OK to install? * config/score/score.h (

Re[2]: [BFIN] Hookize PREFERRED_RELOAD_CLASS

2012-01-06 Thread Anatoly Sokolov
Hi, Jie. On Jan 6, 2012, Jie Zhang wrote: > Hi Anatoly, > The patch looks OK. > But I cannot apply your patch by saving your email as a patch file. If > you take a look at this: I attach the patch. Anatoly. bfin_prc.diff Description: Binary data

[ARM] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST

2012-01-05 Thread Anatoly Sokolov
Hi. This patch removes obsolete PREFERRED_RELOAD_CLASS macro from the ARM back end in the GCC and introduces equivalent TARGET_PREFERRED_RELOAD_CLASS target hook. Bootstrapped and regression tested on arm-unknown-linux-gnueabi. OK to install? * config/arm/arm.h (PREFERRED_RE

[BFIN] Hookize PREFERRED_RELOAD_CLASS

2012-01-05 Thread Anatoly Sokolov
Hi. This patch removes obsolete PREFERRED_RELOAD_CLASS macro from the BFIN back end in the GCC and introduces equivalent TARGET_PREFERRED_RELOAD_CLASS target hook. Compiled. Untested. OK to install? * config/bfin/bfin.h (PREFERRED_RELOAD_CLASS): Remove. * config/bfin

[SCORE] Hookize PREFERRED_RELOAD_CLASS

2012-01-05 Thread Anatoly Sokolov
Hi. This patch removes obsolete PREFERRED_RELOAD_CLASS macro from the SCORE back end in the GCC and introduces equivalent TARGET_PREFERRED_RELOAD_CLASS target hook. Untested. OK to install? * config/score/score.h (PREFERRED_RELOAD_CLASS): Remove. * config/score/score

[SCORE] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST

2011-12-23 Thread Anatoly Sokolov
Hi. This patch removes obsolete REGISTER_MOVE_COST macro from the SCORE back end in the GCC and introduces equivalent TARGET_MEMORY_MOVE_COST target hook. The MEMORY_MOVE_COST macros is removed and default implementation of the TARGET_MEMORY_MOVE_COST target hook is used. Untested. OK

[BFIN] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST

2011-12-23 Thread Anatoly Sokolov
Hi. This patch removes obsolete REGISTER_MOVE_COST and MEMORY_MOVE_COST macros from the Blackfin back end in the GCC and introduces equivalent TARGET_REGISTER_MOVE_COST and TARGET_MEMORY_MOVE_COST target hooks. Untested. OK to install? * config/bfin/bfin.h (REGISTER_MOVE_COST, M

[ARM] Hookize REGISTER_MOVE_COST and MEMORY_MOVE_COST

2011-12-14 Thread Anatoly Sokolov
Hi. This patch removes obsolete REGISTER_MOVE_COST and MEMORY_MOVE_COST macros from the ARM back end in the GCC and introduces equivalent TARGET_REGISTER_MOVE_COST and TARGET_MEMORY_MOVE_COST target hooks. Bootstrapped and regression tested on arm-unknown-linux-gnueabi. OK to install?

[IA64] Hookize GO_IF_LEGITIMATE_ADDRESS

2011-12-14 Thread Anatoly Sokolov
Hello. This patch removes obsolete GO_IF_LEGITIMATE_ADDRESS macro from IA64 back end in the GCC and introduces equivalent TARGET_LEGITIMATE_ADDRESS_P target hook.  Bootstrapped and regression tested on ia64-unknown-linux-gnu. OK to install? * config/ia64/ia64.h (REG_OK_FOR_BASE_P

[STORMY16] Hookize FUNCTION_VALUE_REGNO_P

2011-11-30 Thread Anatoly Sokolov
Hello. This patch removes obsolete FUNCTION_VALUE_REGNO_P macro from ARM back end in the GCC and introduces equivalent TARGET_FUNCTION_VALUE_REGNO_P target hook. Since the LIBCALL_VALUE macro should be poisoned in the future, this patch replaces it with the arm_libcall_value_1 function.

[IA64] Hookize PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P

2011-11-30 Thread Anatoly Sokolov
Hello. This patch removes obsolete PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P macros from IA64 back end in the GCC and introduces equivalent TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS and TARGET_PRINT_OPERAND_PUNCT_VALID_P target hooks.  Bootstrapped and re

[CRIS] Hookize FUNCTION_VALUE_REGNO_P

2011-11-09 Thread Anatoly Sokolov
Hello. This patch removes obsolete FUNCTION_VALUE_REGNO_P macro from CRIS back end in the GCC and introduces equivalent TARGET_FUNCTION_VALUE_REGNO_P target hook. Regression tested on cris-axis-elf. OK to install? * config/cris/cris.c (cris_function_value_regno_p): Make static.

Re[2]: [CRIS] Convert CRIS to constraints.md

2011-11-07 Thread Anatoly Sokolov
Hi. > From: Hans-Peter. > Date: 5 Nov 2011 г., 5:24:20: >> +(define_constraint "S" >> + "PIC-constructs for symbols." >> + (and (match_test "flag_pic") >> + (match_code "const") >> + (match_test "cris_valid_pic_const (op, false)"))) > Can you really have other than two operands to

[CRIS] Convert CRIS to constraints.md

2011-11-02 Thread Anatoly Sokolov
Hello. As subject suggests. Regression tested on cris-axis-elf. Comments? OK to install? * config/cris/constraints.md: New file. * config/cris/cris.h (REG_CLASS_FROM_LETTER, CONSTRAINT_LEN, CRIS_CONST_OK_FOR_LETTER_P, CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE

[CRIS] Hookize GO_IF_MODE_DEPENDENT_ADDRESS

2011-10-23 Thread Anatoly Sokolov
Hello. This patch removes obsolete GO_IF_LEGITIMATE_ADDRESS macro from CRIS back end in the GCC and introduces equivalent ARGET_LEGITIMATE_ADDRESS_P target hook. Regression tested on cris-axis-elf. OK to install? * config/cris/cris.c (reg_ok_for_base_p, reg_ok_for_index_p,

[CRIS] Hookize PREFERRED_RELOAD_CLASS

2011-10-09 Thread Anatoly Sokolov
Hello. This patch removes obsolete PREFERRED_RELOAD_CLASS macro from CRIS back end in the GCC and introduces equivalent TARGET_PREFERRED_RELOAD_CLASS target hook. Regression tested on cris-axis-elf. OK to install? * config/cris/cris.c (cris_preferred_reload_class): New function.

[PATCH] Remove OUTPUT_ADDR_CONST_EXTRA macro

2011-10-05 Thread Anatoly Sokolov
Hi. No one back end does not use OUTPUT_ADDR_CONST_EXTRA macro now, this patch remove it. The TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA target hook should be use instead. The patch has been bootstrapped on and regression tested on x86_64-unknown-linux-gnu for c and c++. This patch is pre-approv

[M68K] Hookize OUTPUT_ADDR_CONST_EXTRA

2011-10-02 Thread Anatoly Sokolov
Hi. This patch removes obsolete OUTPUT_ADDR_CONST_EXTRA macro from the M68K back end in the GCC and introduces equivalent TARGET_OUTPUT_ADDR_CONST_EXTRA target hook. Compiled without error. Not tested. OK to install? * config/m68k/m68k.c (m68k_output_addr_const_extra): Make s

[CRIS] Hookize OUTPUT_ADDR_CONST_EXTRA

2011-10-02 Thread Anatoly Sokolov
Hi. This patch removes obsolete OUTPUT_ADDR_CONST_EXTRA macro from the CRIS back end in the GCC and introduces equivalent TARGET_OUTPUT_ADDR_CONST_EXTRA target hook. Regression tested on cris-axis-elf. OK to install? * config/cris/m32c.c (cris_output_addr_const_extra): Make st

[M32C] Hookize CLASS_MAX_NREGS

2011-08-22 Thread Anatoly Sokolov
Hi. This patch removes obsolete CLASS_MAX_NREGS macro from M32C back end in the GCC and introduces equivalent TARGET_CLASS_MAX_NREGS target hooks. Regression tested on m32c-unknown-elf. OK to install? * config/m32c/m32c.h (CLASS_MAX_NREGS): Remove macro. * config/m32c/m32

[PATCH] Remove PREFERRED_OUTPUT_RELOAD_CLASS macro

2011-08-17 Thread Anatoly Sokolov
Hi. No one back end does not use PREFERRED_OUTPUT_RELOAD_CLASS macro now, this patch remove it. The TARGET_PREFERRED_RELOAD_CLASS target hook should be use instead. The patch has been bootstrapped on and regression tested on x86_64-unknown-linux-gnu for c and c++. This patch is pre-approv

Re: [MMIX] Hookize PREFERRED_RELOAD_CLASS and PREFERRED_OUTPUT_RELOAD_CLASS

2011-08-14 Thread Anatoly Sokolov
Hi. > This patch removes obsolete PREFERRED_RELOAD_CLASS and > PREFERRED_OUTPUT_RELOAD_CLASS macros from MMIX back end in the GCC and > introduces equivalent TARGET_PREFERRED_RELOAD_CLASS and > TARGET_PREFERRED_OUTPUT_RELOAD_CLASS target hooks. > --- gcc/config/mmix/mmix.c (revision 1768

[M32C] Hookize PREFERRED_RELOAD_CLASS and PREFERRED_OUTPUT_RELOAD_CLASS

2011-08-14 Thread Anatoly Sokolov
Hi. This patch removes obsolete PREFERRED_RELOAD_CLASS and PREFERRED_OUTPUT_RELOAD_CLASS macros from M32C back end in the GCC and introduces equivalent TARGET_PREFERRED_RELOAD_CLASS and TARGET_PREFERRED_OUTPUT_RELOAD_CLASS target hooks. Regression tested on m32c-unknown-elf. OK to instal

[MMIX] Remove REG_OK_FOR_BASE_P and REG_OK_FOR_INDEX_P macros

2011-08-08 Thread Anatoly Sokolov
Hello. This patch remove unused REG_OK_FOR_BASE_P and REG_OK_FOR_INDEX_P macros from the MMIX back end. Regression tested on mmix-knuth-mmixware. OK to install? * config/mmix/mmix.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Remove. Index: gcc/config/mmix/mmix.h ==

[MMIX] Hookize REGISTER_MOVE_COST

2011-08-08 Thread Anatoly Sokolov
Hi. This patch removes obsolete REGISTER_MOVE_COST macro from MMIX back end in the GCC and introduces equivalent TARGET_REGISTER_MOVE_COST target hook. Regression tested on mmix-knuth-mmixware. OK to install? * config/mmix/mmix.h (REGISTER_MOVE_COST): Remove macro. * conf

[M32C] Cleanup reduce_class function

2011-08-03 Thread Anatoly Sokolov
Hello. This patch removes the initialization class_sizes array from reduce_class function and instead it uses reg_class_size array. Also reduce_class function use reg_class_contents array instead of class_contents, now. The local class_contents array duplicate global array reg_class_content

[MMIX] Hookize PREFERRED_RELOAD_CLASS and PREFERRED_OUTPUT_RELOAD_CLASS

2011-08-01 Thread Anatoly Sokolov
Hi. This patch removes obsolete PREFERRED_RELOAD_CLASS and PREFERRED_OUTPUT_RELOAD_CLASS macros from MMIX back end in the GCC and introduces equivalent TARGET_PREFERRED_RELOAD_CLASS and TARGET_PREFERRED_OUTPUT_RELOAD_CLASS target hooks. Regression tested on mmix-knuth-mmixware. OK to ins

[M32C] Hookize PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P

2011-07-24 Thread Anatoly Sokolov
Hi. This patch removes obsolete PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P macros from M32C back end in the GCC and introduces equivalent TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS and TARGET_PRINT_OPERAND_PUNCT_VALID_P target hooks. Regression tested on m3

[MMIX] Hookize PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P

2011-07-24 Thread Anatoly Sokolov
Hi. This patch removes obsolete PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P macros from MMIX back end in the GCC and introduces equivalent TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS and TARGET_PRINT_OPERAND_PUNCT_VALID_P target hooks. Regression tested on mm

[PATCH] Hookize TARGET_CLASS_MAX_NREGS

2011-07-12 Thread Anatoly Sokolov
Hello. This patch turns TARGET_CLASS_MAX_NREGS macro into a hook. The patch has been bootstrapped on and regression tested on x86_64-unknown-linux-gnu and v850-unknown-elf for c. Changes for other platforms is obvious and similar changes in v850 target. This patch is pre-approved and s

Re: [PATCH] Use ira_reg_class_max_nregs array instead of CLASS_MAX_NREGS macro

2011-07-06 Thread Anatoly Sokolov
Hi. The patch http://gcc.gnu.org/ml/gcc-patches/2011-06/msg02405.html is still pending review. Anatoly.

[PATCH] Use ira_reg_class_max_nregs array instead of CLASS_MAX_NREGS macro

2011-06-30 Thread Anatoly Sokolov
Hello. This patch replaces the use of macro CLASS_MAX_NREGS to reading from ira_reg_class_max_nregs array. The ira_reg_class_max_nregs array is initialized from a macro CLASS_MAX_NREGS. This patch should speed up the compiler, a little. The patch has been bootstrapped on and regression tes

Re[2]: [SPARC] Hookize PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P

2011-05-12 Thread Anatoly Sokolov
Hello, Rainer. > this is the patch I've checked in after it passed sparc-sun-solaris2.11 > andi i386-pc-solaris2.11 bootstrap. > Rainer > 2011-05-05 Rainer Orth > * config/sparc/sol2.h (ASM_OUTPUT_CALL): Use > targetm.asm_out.print_operand. > * config/sol2.c:

[SPARC] Remove unused macros

2011-05-04 Thread Anatoly Sokolov
Hi. This patch remove some unused macros from sparc.h. The RTX_OK_FOR_OFFSET_P and RTX_OK_FOR_OLO10_P macros is used only in sparc_legitimate_address_p function and moved to sparc.c. Bootstrapped on sparc64-unknown-linux-gnu. OK to install? * config/sparc/sparc.h (REG_OK_FOR_I

Re[2]: [SPARC] Hookize PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P

2011-05-04 Thread Anatoly Sokolov
Hi. > Richard Henderson writes: >> On 04/27/2011 11:13 AM, Anatoly Sokolov wrote: >>> * config/sparc/sparc.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS, >>> PRINT_OPERAND_PUNCT_VALID_P): Remove. >>> * config/sparc/sparc-protos.h

[PING][PATCH] Change rclass argument type in memory_move_cost function from enum reg_class to reg_class_t.

2011-04-27 Thread Anatoly Sokolov
Hello. Patch ping. > This patch change memory_move_cost function to stop using back end specific > type 'enum reg_class' in favor to reg_class_t. Also this allow do small > cleanup in ia64_register_move_cost function. http://gcc.gnu.org/ml/gcc-patches/2011-04/msg01433.html Anatoly.

[SPARC] Hookize PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P

2011-04-27 Thread Anatoly Sokolov
Hello. This patch removes obsolete PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P macros from SPARC back end in the GCC and introduces equivalent TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS and TARGET_PRINT_OPERAND_PUNCT_VALID_P target hooks.  Bootstrapped an

Re: [Patch,AVR]: PR18145: do_copy_data & do_clear_bss only if needed

2011-04-19 Thread Anatoly Sokolov
Please use ASM_OUTPUT_ALIGNED_DECL_COMMON and ASM_OUTPUT_ALIGNED_DECL_LOCAL macros here. Confused. These macros are used. Johann Sorry... Im look on function name not on macro definition. I agree with the patch. Please wait day or two if Denis would not object, commit patch. Anatoly.

Re: [Patch,AVR]: PR18145: do_copy_data & do_clear_bss only if needed

2011-04-19 Thread Anatoly Sokolov
Hi. This patch now uses the same procedure like elfos.h ... +#define ASM_OUTPUT_ALIGNED_DECL_COMMON(STREAM, DECL, NAME, SIZE, ALIGN) \ + avr_asm_output_aligned_common (STREAM, NAME, SIZE, ALIGN, false) .. +#define ASM_OUTPUT_ALIGNED_DECL_LOCAL(STREAM, DECL, NAME, SIZE, ALIGN) \ + avr_as

Re: [Patch,AVR]: PR18145: do_copy_data & do_clear_bss only if needed

2011-04-19 Thread Anatoly Sokolov
Hi. + +/* Implement `ASM_OUTPUT_ALIGNED_DECL_LOCAL' */ +/* Track need of __do_clear_bss */ Put dot and two spaces after the end of a sentence. The same for other commens in this patch. + +void +avr_asm_output_aligned_decl_local (FILE * stream, const_tree decl ATTRIBUTE_UNUSED, +

[PATCH] Change rclass argument type in memory_move_cost function from enum reg_class to reg_class_t.

2011-04-18 Thread Anatoly Sokolov
Hello. This patch change memory_move_cost function to stop using back end specific type 'enum reg_class' in favor to reg_class_t. Also this allow do small cleanup in ia64_register_move_cost function. The patch has been bootstrapped on and regression tested on x86_64-unknown-linux-gnu and ia

Re: [Patch,AVR]: PR18145: do_copy_data & do_clear_bss only if needed

2011-04-18 Thread Anatoly Sokolov
Hi. +/* To track if code will use .bss and/or .data */ +static int avr_need_clear_bss_p = 0; +static int avr_need_copy_data_p = 0; Change type avr_need_clear_bss_p and avr_need_copy_data_p vars to bool. -#define ASM_OUTPUT_COMMON(STREAM, NAME, SIZE, ROUNDED)\ -do {\ - fputs (

[SPARC] Hookize REGISTER_MOVE_COST

2011-04-17 Thread Anatoly Sokolov
Hello. This patch removes obsolete REGISTER_MOVE_COST macro from SPARC back end in the GCC and introduces equivalent TARGET_REGISTER_MOVE_COST target hooks.  Bootstrapped and regression tested on sparc64-unknown-linux-gnu. OK to install? * config/sparc/sparc.h (GENERAL_OR_I64, R

[MIPS] Remove REG_OK_FOR_BASE_P and REG_OK_FOR_INDEX_P macros

2011-04-06 Thread Anatoly Sokolov
Hello. This patch remove unused REG_OK_FOR_BASE_P and REG_OK_FOR_INDEX_P macros from the MIPS back end. Bootstrapped and regression tested on mips64el-unknown-linux-gnu. OK to install? * config/mips/mips.h (REG_MODE_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Remove macros. Ind

[PATCH] Remove ASM_OUTPUT_BSS macro.

2011-04-06 Thread Anatoly Sokolov
Hi. No one back end does not use ASM_OUTPUT_BSS macro now, this patch remove it. The GCC have more flexible ASM_OUTPUT_ALIGNED_BSS macro. The patch has been bootstrapped on and regression tested on x86_64-unknown-linux-gnu for c. OK to install? * doc/tm.texi.in (ASM_OUTPUT_BSS): R

[PATCH] Cleanup, use add_to_hard_reg_set instead of SET_HARD_REG_BIT loops.

2011-04-06 Thread Anatoly Sokolov
Hi. This patch converts loops of SET_HARD_REG_BIT in to add_to_hard_reg_set functions call. The patch has been bootstrapped on and regression tested on x86_64-unknown-linux-gnu for c. OK to install? * expr.c (expand_expr_real_1): Use add_to_hard_reg_set function instead o

[SPARC] Hookize PREFERRED_RELOAD_CLASS

2011-04-03 Thread Anatoly Sokolov
Hello. This patch removes obsolete PREFERRED_RELOAD_CLASS macro from SPARC back end in the GCC and introduces equivalent TARGET_PREFERRED_RELOAD_CLASS target hooks.  Bootstrapped and regression tested on sparc64-unknown-linux-gnu. OK to install? * config/sparc/sparc.h (PREFERRED

[AVR] Define ASM_OUTPUT_ALIGNED_BSS macro instead of ASM_OUTPUT_BSS

2011-04-03 Thread Anatoly Sokolov
Hello. The AVR back end is last one which uses a ASM_OUTPUT_BSS macro. This patch change AVR back end to use more flexible ASM_OUTPUT_ALIGNED_BSS macro instead of ASM_OUTPUT_BSS. Committed. * config/avr/avr.h (ASM_OUTPUT_BSS): Remove. (ASM_OUTPUT_ALIGNED_BSS): Define Inde

[PING] [PATCH] convert h8300 to constraints.md

2011-04-01 Thread Anatoly Sokolov
Hi. - Original Message - From: "Nathan Froyd" Sent: Tuesday, February 15, 2011 4:19 AM Subject: [PATCH] convert h8300 to constraints.md Tested with cross to h8300-elf (which doesn't totally build right now, but the patch doesn't make things any worse). OK to commit? http://gcc.gn

Re: [PING]RE: [H8300] Hookize target macros

2011-04-01 Thread Anatoly Sokolov
Hi. On 09/17/2010 12:54:36, Naveen H. S wrote: > Can you please commit the patch if it's OK? > Thanks & Regards, > Naveen > -Original Message- > From: Richard Henderson [mailto:r...@redhat.com] > Sent: Friday, September 03, 2010 8:34 PM > To: Naveen H. S > Cc: gcc-patches@gcc.gnu.org; P

[H8300] Hookize GO_IF_MODE_DEPENDENT_ADDRESS

2011-03-30 Thread Anatoly Sokolov
Hello. This patch removes obsolete GO_IF_MODE_DEPENDENT_ADDRESS macros from H8300 back end in the GCC and introduces equivalent TARGET_MODE_DEPENDENT_ADDRESS_P target hook. Regression tested on h8300-unknown-elf with no new failure. OK to install? * config/h8300/h8300.h (GO_IF

[H8300] Remove ASM_OUTPUT_BSS

2011-03-27 Thread Anatoly Sokolov
Hi. In config/h8300/h8300.h file both ASM_OUTPUT_BSS and ASM_OUTPUT_ALIGNED_BSS macros is defined, but the ASM_OUTPUT_BSS macro is not used when ASM_OUTPUT_ALIGNED_BSS is defined. This patch remove ASM_OUTPUT_BSS macro from H8300 target. Regression tested on h8300-unknown-elf with no new

[h8300] Hookize FUNCTION_VALUE, LIBCALL_VALUE and FUNCTION_VALUE_REGNO_P

2011-03-27 Thread Anatoly Sokolov
Hello. This patch removes obsolete FUNCTION_VALUE, LIBCALL_VALUE and FUNCTION_VALUE_REGNO_P macros from H8300 back end in the GCC and introduces equivalent TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE and TARGET_FUNCTION_VALUE_REGNO_P target hooks. Regression tested on h8300-unknown-elf with n

Re[2]: [MIPS] Hookize FUNCTION_VALUE, LIBCALL_VALUE and FUNCTION_VALUE_REGNO_P

2011-03-27 Thread Anatoly Sokolov
Hi, Richard. Richard Sandiford writes: >> +mips_function_value_regno_p (const unsigned int regno) > Let's drop the "const". > OK with those changes, thanks. The 'regno' argument in TARGET_FUNCTION_VALUE_REGNO_P target hook have 'const unsigned int' type, so I left it unchanged. Bootstrap

[MIPS] Hookize FUNCTION_VALUE, LIBCALL_VALUE and FUNCTION_VALUE_REGNO_P

2011-03-23 Thread Anatoly Sokolov
Hello. This patch removes obsolete FUNCTION_VALUE, LIBCALL_VALUE and FUNCTION_VALUE_REGNO_P macros from MIPS back end in the GCC and introduces equivalent TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE and TARGET_FUNCTION_VALUE_REGNO_P target hooks. Bootstrapped and regression tested on mips64e

Re: Cleaning up expand optabs code

2011-03-23 Thread Anatoly Sokolov
Hi. From: "Richard Henderson" Sent: Tuesday, March 22, 2011 8:48 PM Ok. Watch out for other target problems this week. This patch casue ICE on H8300 target: make[4]: Entering directory `/home/aesok/h83001/build/h8300-elf/h8300h/libgcc' # If this is the top-level multilib, build all t

[V850] Hookize OUTPUT_ADDR_CONST_EXTRA

2011-03-16 Thread Anatoly Sokolov
Hello. This patch removes obsolete OUTPUT_ADDR_CONST_EXTRA macro from V850 back end in the GCC and introduces equivalent TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA target hook. Regression-tested on v850-unknown-elf. OK to install? * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remo

[PING][PATCH] Cleanup, use bitmap_set_range/bitmap_clear_range instead of bitmap_set_bit/bitmap_clear_bit loops.

2011-03-16 Thread Anatoly Sokolov
Hello. On 12/08/10 11:46, Anatoly Sokolov wrote: Hi. This patch converts loops of bitmap_set_bit/bitmap_clear_bit in to bitmap_set_range/bitmap_clear_range functions call. The patch has been bootstrapped on and regression tested on x86_64-unknown-linux-gnu for c. OK to install

[AVR] Hookize LIBCALL_VALUE and FUNCTION_VALUE_REGNO_P

2011-03-16 Thread Anatoly Sokolov
Hello. This patch removes obsolete LIBCALL_VALUE and FUNCTION_VALUE_REGNO_P macros from AVR back end in the GCC and introduces equivalent TARGET_LIBCALL_VALUE and TARGET_FUNCTION_VALUE_REGNO_P target hooks. * config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_

[MIPS] Hookize PREFERRED_RELOAD_CLASS

2011-03-07 Thread Anatoly Sokolov
Hi. This patch removes obsolete PREFERRED_RELOAD_CLASS macro from the MIPS back end in the GCC and introduces equivalent TARGET_PREFERRED_RELOAD_CLASS target hook. Bootstrapped and regression tested on mips64el-unknown-linux-gnu. * config/mips/mips.h (PREFERRED_RELOAD_CLASS): Rem

[STORMY16] Hookize PRINT_OPERAND and TARGET_PRINT_OPERAND_ADDRESS

2011-03-07 Thread Anatoly Sokolov
Hi. This patch removes obsolete PRINT_OPERAND and PRINT_OPERAND_ADDRESS macros from the STORMY16 back end in the GCC and introduces equivalent TARGET_PRINT_OPERAND and TARGET_PRINT_OPERAND_ADDRESS target hooks. Regression tested on xstormy16-unknown-elf. OK to install? * config/