From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" Subject: Re: sparc assembly mnemonic Date: Mon, 21 Jun 2004 13:21:43 -0700 Sender: linux-assembly-owner@vger.kernel.org Message-ID: <20040621132143.2420ab01.davem@redhat.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" To: Fabio Miranda Hamburger Cc: linux-assembly@vger.kernel.org On Mon, 21 Jun 2004 12:34:25 -0600 (CST) Fabio Miranda Hamburger 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.