From: Jim Wilson <wilson@specifixinc.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] new ".serialize" gas directive
Date: Fri, 07 May 2004 07:48:46 +0000 [thread overview]
Message-ID: <1083916127.1073.158.camel@leaf.tuliptree.org> (raw)
In-Reply-To: <16537.51724.854691.934006@napali.hpl.hp.com>
On Thu, 2004-05-06 at 16:47, David Mosberger wrote:
> Isn't it true that GCC never produces a NaT on its own and never uses
> uninitialized registers?
Currently, we never intentionally produce NaTs. However, hopefully
someday we will, so we should be careful about things like this.
I am not sure about the uninitialized register thing. It used to be the
case that you could get writes to uninitialized registers if you had an
uninitialized variable in the source. Of course, in that case, the
program is broken anyways. However, I think this might have been fixed
for other non-IPF reasons. I couldn't get an unitialized register use
with a trivial example.
> Perhaps GCC
> should assert that p34 and p35 are mutually exclusive (effectively
> asserting that r22 is not a NaT)?
There is no trivial way to do this. At the moment, gcc only emits the
mutex directive if a predicate register is live across a basic block.
That is the only case that gas can't figure out on its own.
New code would have to be written to handle this case. We might just
have to emit mutex directives for every compare which will clutter up
the assembly language. That would be unfortunate, but maybe it is
unavoidable for now.
I don't have a lot of time for IA-64 gcc work at the moment. It might
be useful to have a gcc bug report for this so we don't lose track of
it.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
next prev parent reply other threads:[~2004-05-07 7:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-06 5:15 [PATCH] new ".serialize" gas directive David Mosberger
2004-05-06 23:33 ` Jim Wilson
2004-05-06 23:47 ` David Mosberger
2004-05-07 7:48 ` Jim Wilson [this message]
2004-05-10 20:16 ` David Mosberger
2004-05-14 8:43 ` Jim Wilson
2004-05-14 18:30 ` David Mosberger
2004-06-16 1:54 ` Chris Wedgwood
2004-06-16 21:57 ` Jim Wilson
2004-06-16 22:04 ` Chris Wedgwood
2004-06-16 22:42 ` Jim Wilson
2004-06-16 22:56 ` Luck, Tony
2004-06-16 23:01 ` David Mosberger
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=1083916127.1073.158.camel@leaf.tuliptree.org \
--to=wilson@specifixinc.com \
--cc=linux-ia64@vger.kernel.org \
/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