develooper Front page | perl.perl6.internals | Postings from September 2001

RE: assemble.pl and 64-bit binary implementation

Thread Next
From:
Gibbs Tanton - tgibbs
Date:
September 27, 2001 18:10
Subject:
RE: assemble.pl and 64-bit binary implementation
Message ID:
ABEE81BE08ADD311B6A1009027DE908D09E95892@conmsx03.conway.acxiom.com
Will this work on 32 bit systems as well?  What about systems with weird
alignment (like 36 bit or something...)?

Naturally, 64 bit constants will not work unless the hardware supports it.
For example, on Tru64, $pack_type{i} = 'l!' which is 64 bits.

Tanton
-----Original Message-----
From: chromatic
To: Gibbs Tanton - tgibbs
Sent: 9/27/2001 7:36 PM
Subject: assemble.pl and 64-bit binary implementation

Hi,

Here's an idea to clean up from_binary.  It is a little more clean.

Looking in Parrot::Types at %pack_type, it doesn't look like anything
wider 
than 32 bits will go into bytecode, though.  ("l" is 32 bits, signed.)

I added a patch to bitwise.t to see if bigger binaries work.

-- c
 <<assemble.patch>>  <<bitwise.patch>> 

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About