From: Rajkishore Barik <rajbarik@in.ibm.com>
To: Richard Henderson <rth@redhat.com>
Cc: gcc@gnu.org
Subject: Re: Memory aliasing
Date: Sun, 24 Oct 2004 19:13:00 -0000 [thread overview]
Message-ID: <OF86E24D26.3DA0E679-ON65256F37.000AD4F3-65256F37.00139D5F@in.ibm.com> (raw)
In-Reply-To: <20041011174109.GA1641@redhat.com>
Hi,
Thanks for your input. I am facing a bit of problem interfacing the
modules
of the alias.c file. Can someone please help?
I have a simple program which initializes an array and then computes the
sum of the array elements.
Two consecutive accesses [for summation] in the rtl look like this:
p64= p64 + [(((p60*4)+frame)+-128)]:SI ; sum +=a[i] after loop unrolling
p64=p64+[(((p60*4)+frame)+-124)]:SI ; sum+=a[i] after loop unrolling
As you can see both memory references refer to two different locations in
the stack, when I
call the function
memrefs_conflict_p(4, [(((p60*4) + frame) + -128)]:SI, 4, [(((p60*4) +
frame) + -124)]:SI, 0)
I get a result of 1 which should not be the case. I do convert the rtxes
into
canonical form.
Can someone please help?
One more thing, why are not the functions defined in "alias.c" available
through "alias.h"?
regards,
Raj
Richard Henderson <rth@redhat.com>
10/11/2004 11:11 PM
To
Rajkishore Barik/India/IBM@IBMIN
cc
Subject
Re: Memory aliasing
On Sat, Oct 09, 2004 at 06:59:47PM +0530, Rajkishore Barik wrote:
> Does there exist an interface and implementation to find out if two
> rtl expressions [memory] alias with each other/access the same
> memory location?
alias.c.
r~
next parent reply other threads:[~2004-10-24 3:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20041011174109.GA1641@redhat.com>
2004-10-24 19:13 ` Rajkishore Barik [this message]
2004-10-10 1:19 Rajkishore Barik
-- strict thread matches above, loose matches on Subject: below --
1997-10-14 17:27 Michael P. Hayes
1997-10-26 9:34 ` Jeffrey A Law
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=OF86E24D26.3DA0E679-ON65256F37.000AD4F3-65256F37.00139D5F@in.ibm.com \
--to=rajbarik@in.ibm.com \
--cc=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).