Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jerry Feldman <gaf@zk3.dec.com>
Subject: Re: axp-assembler
Date: Mon, 11 Aug 97 09:38:48 -0400	[thread overview]
Message-ID: <727f145217b36ab4f5b2523783a8dac0.axp-list@archive.invalid> (raw)
In-Reply-To: <24e0f482.bd764-dworz@amazing.ch>

> Hello
> 
> I'm learning alpha-assembler.
> 
> In the "Alpha Architecture Handbook" I read about the Instructions
> "itoft" and "ftoit", but gcc (as) doesn't seem to understand them
> (unknow instruction).
The itof and ftoi instructions were recently added and are not available on most of the alpha chips currently in the field. I believe that these are available in the 21164PC, and will be available in the 21264 series. These instructions simply move the contents of a floating point register to an integer register and vice-versa:

	The itoft instaruction is equivalent to (assuming 
	you want to move register $1 to register $f1.

	stq	$1, 0($sp)	# store on stack.
	ldt	$f1, 0($sp)	# retrieve from stack

	
	
+--------------------------------------------------------------------+
Jerry Feldman            Digital Unix Development Environment
Digital Equipment Corp.  (work)gaf@zk3.dec.com (home)gaf@mediaone.net
110 Spitbrook Rd.        Mailstop: ZKO3-2/W17
Nashua, NH 03062-9987    (603)881-2970, DTN:381-2970
+--------------------------------------------------------------------+
 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

  reply	other threads:[~1997-08-11 13:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-10  3:20 axp-assembler axp
1997-08-11 13:38 ` Jerry Feldman [this message]
1997-08-12  4:42 ` axp-assembler Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox