Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@cygnus.com>
Subject: Re: axp-assembler
Date: Mon, 11 Aug 1997 21:42:11 -0700 (PDT)	[thread overview]
Message-ID: <199708120442.VAA09390@rtl.cygnus.com> (raw)
In-Reply-To: <24e0f482.bd764-dworz@amazing.ch>

> In the "Alpha Architecture Handbook" I read about the Instructions
> "itoft" and "ftoit", but gcc (as) doesn't seem to understand them
> (unknown instruction).

If you are using the assembler that came with RH 4.2, they aren't there.  
The latest versions of gnu as have options to enable those instructions,
any one of

  -m21164pc, -m21264, -mpca56, -mev6

> Do they exist with a different name or how else can I move a
> quadword into an fp-register without converting it to fp?

Through the stack, but ...

> (I need just some more registers to save temporary variables...)

... that's not what you want.  You should likely just be tossing them
onto the stack for safe keeping, not moving to fp registers.

> Can I use the fp-registers freely? Are they saved across a sub-
> routine call (for ex. fprintf)?

The call-saved registers are:

	$9 through $15, $26, $30, $f2 through $f9

> Where can I find Information on alpha-assembler programming under
> linux?

The OSF/1 calling conventions document -- I forget the number.
You can also peek through gcc/config/<cpu>/<cpu>.h for quite a lot
of detail about any architecture.  ;-)

r~

--
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

      parent reply	other threads:[~1997-08-12  4:42 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 ` axp-assembler Jerry Feldman
1997-08-12  4:42 ` Richard Henderson [this message]
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