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 19:53:00 +0100
Date: 2008-03-15T19:53:00+01:00	[thread overview]
Message-ID: <47DC1B0B.A4976DBB@baigar.de> (raw)
In-Reply-To: 47dbbacc$0$23854$4f793bc4@news.tdc.fi

Niklas Holsti wrote:
> Did you have a question to ask, or did you just want to report this
> problem and your solution?
Since the problem is solved by including all 32bits the posting is 
not really a question - maybe the posting will give someone else, 
encountering the same problem, a hint what to look out for...

> I think that your program could be made more portable by avoiding
> 'Address (and, of course, System.Bit_Ops) and using instead modular
> types (not available in Ada83) and their predefined bitwise "and"
> and "or" operations.
Do you have an estimation on performance? The current code 
is quite fast in emulating the vintage processor (more than 
3.5MIPS in the simulation) using the non portable System.Bit_Ops...

   Thanks and best regards,

       Erik.



  reply	other threads:[~2008-03-15 18:53 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 [this message]
2008-03-15 19:26     ` Niklas Holsti
2008-03-15 19:45       ` Erik Baigar
replies disabled

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