public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Georg-Johann Lay <avr@gjlay.de>
To: Richard Henderson <rth@redhat.com>
Cc: gcc-patches@gcc.gnu.org, Denis Chertykov <chertykov@gmail.com>,
	 Eric Weddington <eric.weddington@atmel.com>
Subject: Re: [Patch,AVR]: Clean-up some SP insns
Date: Tue, 27 Sep 2011 21:30:00 -0000	[thread overview]
Message-ID: <4E82220A.4070509@gjlay.de> (raw)
In-Reply-To: <4E81F0D4.5090909@redhat.com>

Richard Henderson schrieb:
> On 09/27/2011 12:56 AM, Georg-Johann Lay wrote:
> 
>>	* config/avr/avr-protos.h (avr_out_addto_sp): New prototype.
>>	* config/avr/avr.c (avr_out_addto_sp): New function.
>>	(adjust_insn_length): Handle ADJUST_LEN_ADDTO_SP.
>>	* config/avr/avr.md (adjust_len): Add "addto_sp".
>>	(*movhi_sp): Remove insn.
>>	(*addhi3_sp_R_pc2, *addhi3_sp_R_pc3): Merge to *addhi3_sp_R.
> 
> While this is a good cleanup by itself, and probably should be 
> applied by itself, I think a good followup would be to merge
> the addhi3_sp_R pattern with the normal addhi3 pattern.
> 
> This should be fairly easy, given that both are handled via C
> functions now.

There is bit more work for *addhi3 (PR50447) and thus adapting 
prologue/epilogue functions etc. Didn't do that yet.

Johann

> r~

  reply	other threads:[~2011-09-27 19:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-27  9:26 Georg-Johann Lay
2011-09-27 16:55 ` Richard Henderson
2011-09-27 21:30   ` Georg-Johann Lay [this message]
2011-10-05 10:09 ` Ping #1: " Georg-Johann Lay
2011-10-05 10:43   ` Denis Chertykov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E82220A.4070509@gjlay.de \
    --to=avr@gjlay.de \
    --cc=chertykov@gmail.com \
    --cc=eric.weddington@atmel.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=rth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).