From: Dominik Vogt <vogt@linux.vnet.ibm.com>
To: libffi-discuss@sourceware.org
Subject: Re: [PATCH] Go closures for s390[x]
Date: Mon, 22 Dec 2014 10:27:00 -0000 [thread overview]
Message-ID: <20141222102707.GA9568@linux.vnet.ibm.com> (raw)
In-Reply-To: <5493471D.4020506@redhat.com>
On Thu, Dec 18, 2014 at 03:29:01PM -0600, Richard Henderson wrote:
> On 12/16/2014 09:05 AM, Dominik Vogt wrote:
> > lm %r6,%r15,48+24(%r11)
> > + .cfi_remember_state
> > + .cfi_restore 15
> > + .cfi_restore 14
> > + .cfi_restore 13
> > + .cfi_restore 12
> > + .cfi_restore 11
> > + .cfi_restore 10
> > + .cfi_restore 9
> > + .cfi_restore 8
> > + .cfi_restore 7
> > + .cfi_restore 6
> > + .cfi_def_cfa r15, 96
> > br %r4
> > + .cfi_restore_state
>
> I'm not really sure you need any of these restores, since the data is still on
> the stack, unclobbered. I think you'd really only need to reset the cfa here.
I thought about that but left the cif-restores in the code for
documentation purposes. Actually its probably better to remove
them as they cost performance if they get executed.
Sould I make a new patch, or is that something you wanted to post
as part of your cleanup?
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
IBM Germany
next prev parent reply other threads:[~2014-12-22 10:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-16 15:05 Dominik Vogt
2014-12-18 21:29 ` Richard Henderson
2014-12-19 13:13 ` Ulrich Weigand
2014-12-19 14:10 ` Richard Henderson
2014-12-19 14:48 ` Ulrich Weigand
2014-12-22 10:27 ` Dominik Vogt [this message]
2014-12-22 16:31 ` Richard Henderson
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=20141222102707.GA9568@linux.vnet.ibm.com \
--to=vogt@linux.vnet.ibm.com \
--cc=libffi-discuss@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).