Re: [PATCH] Use subreg_regno instead of subreg_regno_offset

2015-11-05 Thread Bernd Schmidt
On 11/02/2015 11:29 PM, Anatoly Sokolov wrote: @@ -5522,12 +5516,7 @@ op0 = SUBREG_REG (op0); code0 = GET_CODE (op0); if (code0 == REG && REGNO (op0) < FIRST_PSEUDO_REGISTER) - op0 = gen_rtx_REG (word_mode, - (REGNO (op0) + -

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: [PATCH] Use subreg_regno instead of subreg_regno_offset

2015-10-27 Thread Bernd Schmidt
On 10/26/2015 11:46 PM, Anatoliy Sokolov wrote: This patch change code 'REGNO (subreg) + subreg_regno_offset (...)' with subreg_regno (subreg). The patch has whitespace damage that makes it difficult to apply. Please use text/plain attachments. Index: gcc/reg-stack.c

[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