From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <727f145217b36ab4f5b2523783a8dac0.axp-list@archive.invalid> X-Archive-Original-Message-ID: <9708111338.AA03814@sauron.zk3.dec.com> Date: Mon, 11 Aug 97 09:38:48 -0400 From: Jerry Feldman Subject: Re: axp-assembler 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