All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maciej Hrebien <m_hrebien@wp.pl>
To: linux-assembly@vger.kernel.org
Subject: Re: sparc assembly mnemonic
Date: Mon, 21 Jun 2004 23:16:52 +0200	[thread overview]
Message-ID: <40D75044.99C7F390@wp.pl> (raw)
In-Reply-To: 20040621132143.2420ab01.davem@redhat.com

"David S. Miller" wrote:
> 
> On Mon, 21 Jun 2004 12:34:25 -0600 (CST)
> Fabio Miranda Hamburger <fabmirha@ns.isi.ulatina.ac.cr> wrote:
> 
> > what are the sparc assembly  equivalent of the following instructions:
> >
> >     __asm__ __volatile__ ("fsave %0\n" : : "m"(fpubuf));
> >     __asm__ __volatile__ ("frstor %0\n" : : "m"(fpubuf));
> 
> You have to save each and every register by hand, unlike x86 there
> isn't a specific instruction which saves everything for you.

What about save/restore mechanism (tmp purposes)? Does it work only for
alu registers (not fpu)? I'm just curious - never played with sparc :(

-- 
Maciej Hrebien


  reply	other threads:[~2004-06-21 21:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-21 18:34 sparc assembly mnemonic Fabio Miranda Hamburger
2004-06-21 20:21 ` David S. Miller
2004-06-21 21:16   ` Maciej Hrebien [this message]
2004-06-21 21:48     ` David S. Miller
2004-06-21 22:00 ` John Rodriguez

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=40D75044.99C7F390@wp.pl \
    --to=m_hrebien@wp.pl \
    --cc=linux-assembly@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.