From: David Mosberger <davidm@hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: re: [Linux-ia64] setjmp/longjmp : flushing register stack
Date: Wed, 27 Sep 2000 17:04:15 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590678205519@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590678205495@msgid-missing>
>>>>> On Wed, 27 Sep 2000 12:07:24 -0400 (EDT), Steve Tynor <tynor@atlanta.twr.com> said:
Steve> I've tried adding an inline asm("flushrs") before the setjmp,
Like I said before: the flushrs won't help at all. The real issue is
preserving ar.rnat (which is probably a problem you have not run into
yet).
Steve> but the local frame pointer (which seems to vary from
Steve> function to function (gcc seems to use one of the general
Steve> registers in the r33...r38 range -- and setjmp does not
Steve> preserve those) is still not preserved after the longjmp (and
Steve> local variables accessed in the new context are accessed off
Steve> the old context's value of the frame register.).
This doesn't sound right. The local registers of the function calling
setjmp/longjmp are preserved (not the output registers though, of
course). Can you investigate?
--david
next prev parent reply other threads:[~2000-09-27 17:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-15 15:17 [Linux-ia64] setjmp/longjmp : flushing register stack SCHAN
2000-09-15 15:38 ` H . J . Lu
2000-09-15 15:43 ` David Mosberger
2000-09-27 16:07 ` Steve Tynor
2000-09-27 17:04 ` David Mosberger [this message]
2000-09-27 18:25 ` Boehm, Hans
2000-09-27 19:05 ` 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=marc-linux-ia64-105590678205519@msgid-missing \
--to=davidm@hpl.hp.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.