public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Marc Glisse <marc.glisse@inria.fr>
To: Thomas Preud'homme <thomas.preudhomme@arm.com>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH][2/3] Fix PR54733 Optimize endian independent load/store
Date: Wed, 02 Apr 2014 06:17:00 -0000	[thread overview]
Message-ID: <alpine.DEB.2.10.1404020800200.3584@laptop-mg.saclay.inria.fr> (raw)
In-Reply-To: <000b01cf4e0e$54044b70$fc0ce250$@arm.com>

On Wed, 2 Apr 2014, Thomas Preud'homme wrote:

> Note that as it stands the patch does not work for arrays indexed with 
> variable (such a tab[a] || (tab[a+1] << 8)) because fold_const does not 
> fold (a + 1) - a.

Uh? It does fold a+1-a for me. What it doesn't do is look through the 
definition of b in b-a. Richard+GSoC will supposedly soon provide a 
function that does that.

-- 
Marc Glisse

  reply	other threads:[~2014-04-02  6:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-02  0:55 Thomas Preud'homme
2014-04-02  6:17 ` Marc Glisse [this message]
2014-04-02  7:04   ` Thomas Preud'homme
2014-04-02  8:17     ` Richard Biener
2014-04-03  5:42       ` Thomas Preud'homme
2014-04-04  5:49         ` Thomas Preud'homme
2014-04-15  9:07           ` Richard Biener
2014-04-17  5:30             ` Thomas Preud'homme
2014-04-17 10:36               ` Richard Biener
2014-04-24  1:37                 ` Thomas Preud'homme
2014-04-24  8:40                   ` Thomas Preud'homme
2014-04-29 10:47                   ` Richard Biener
2014-05-04  9:51                     ` Thomas Preud'homme
2014-05-05 11:29                       ` Thomas Preud'homme

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=alpine.DEB.2.10.1404020800200.3584@laptop-mg.saclay.inria.fr \
    --to=marc.glisse@inria.fr \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=thomas.preudhomme@arm.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).