public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tejas Belagod <tbelagod@arm.com>
To: rdsandiford@googlemail.com
Cc: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH][RFC] Bug handling SUBREG (MEM) - MEM having side-effects?
Date: Tue, 27 Nov 2012 10:24:00 -0000	[thread overview]
Message-ID: <50B494E1.7020303@arm.com> (raw)
In-Reply-To: <873907xjsc.fsf@talisman.default>

Richard Sandiford wrote:
>>
>> After the discussions Richard Earnshaw had on IRC with Andrew Pinski, it was
>> felt that it was best to fix the standard predicate
>> 'general_operand' to not allow SUBREG (MEM) with side-effects as it has known
>> issues associated with it - particularly reload not being able to deal with such
>> cases. 'general_operand' currently outlaws cases like paradoxical SUBREG (MEM)
>> on targets with insn scheduling and SUBREG (MEM) with non-zero SUBREG_BYTE. This
>> is another case it should not allow. Here is a patch that tightens
>> general_operands to not allow SUBREG (MEM) with MEM having side-effects.
>>
>> I would like to hear some thoughts on this.
> 
> LGTM.
> 
> It would be good to get rid of subreg mem operands altogether at some point,
> but that's a little too drastic for stage 3.  This patch looks like a strict
> improvement.
> 

Thanks for looking at this. Is this OK for 4.7 as well?

Tejas Belagod
ARM.

  reply	other threads:[~2012-11-27 10:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-16 14:10 Tejas Belagod
2012-11-18 10:55 ` Richard Sandiford
2012-11-27 10:24   ` Tejas Belagod [this message]
2012-12-10 16:49     ` [PING][PATCH][RFC] " Tejas Belagod
2013-02-22 12:16       ` Tejas Belagod

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=50B494E1.7020303@arm.com \
    --to=tbelagod@arm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=rdsandiford@googlemail.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).