From: "Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not>
Subject: Re: Using Log_Float in inline assembler for ARM
Date: Fri, 24 Nov 2023 11:43:28 +0100 [thread overview]
Message-ID: <ujpuog$29p70$1@dont-email.me> (raw)
In-Reply-To: <05a0c608-0278-4cce-aa75-a89d2d807ef2n@googlegroups.com>
On 2023-11-24 10:09, Ahlan Marriott wrote:
>
> subtype T is Long_Float;
>
> function Unbiased_Rounding (X : T) return T is
> Y : T;
> begin
> Asm (“vrintn.f64 %P0,%P1”,
> Outputs => T’asm_output (“=w”, Y),
> Inputs => T’asm_input (“w”, X));
> return Y;
> end Unbiased_Rounding;
What do you get from T'Unbiased_Rounding?
--
Jeff Carter
"In the frozen land of Nador they were forced to
eat Robin's minstrels, and there was much rejoicing."
Monty Python & the Holy Grail
70
prev parent reply other threads:[~2023-11-24 10:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-19 12:22 Using Log_Float in inline assembler for ARM Ahlan Marriott
2023-11-24 9:09 ` Ahlan Marriott
2023-11-24 10:43 ` Jeffrey R.Carter [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox