comp.lang.ada
 help / color / mirror / Atom feed
From: Erik Baigar <erik@baigar.de>
Subject: Re: Endian-problem/bug with system.bit_ops (gnat3.15)...
Date: Sat, 15 Mar 2008 20:45:16 +0100
Date: 2008-03-15T20:45:16+01:00	[thread overview]
Message-ID: <47DC274C.4D6BA726@baigar.de> (raw)
In-Reply-To: 47dc22a4$0$8166$4f793bc4@news.tdc.fi

Niklas Holsti wrote:
> As I understand it, and have observed in some programs and some
> targets, a bitwise operation (and, or, xor, not) on modular types
> with a power-of-two modulus translates directly into the
> corresponding machine instruction. I expect such modular types to
> be as fast as System.Bit_Ops, even if the operations in
> System.Bit_Ops are intrinsic or inlined.

Thanks for this information... Hopefully I will find the time
to give this one a try,

    best regards,

      Erik.



      reply	other threads:[~2008-03-15 19:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-15  7:58 Endian-problem/bug with system.bit_ops (gnat3.15) Erik Baigar
2008-03-15 12:22 ` Niklas Holsti
2008-03-15 18:53   ` Erik Baigar
2008-03-15 19:26     ` Niklas Holsti
2008-03-15 19:45       ` Erik Baigar [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