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

Sizes, again.

Thread Next
From:
Bryan C . Warnock
Date:
September 30, 2001 07:34
Subject:
Sizes, again.
Message ID:
01093010333007.01145@wakko.idiocity.nut
I've been testing situations where sizeof(opcode_t) != sizeof(IV) != 
sizeof(IV). 

I got most of the casting and arithmetic problems patched [1], but am running
into alignment problems with the bytecode because it currently expects 
sizeof(opcode_t) == sizeof(IV).  (Or something, I can't tell quite yet 
whether the problems in the assembler or the _unpack function.)  In either 
case, I know that we'll still have alignment problems once we hit runops 
land.

What are we going to do about this?

[1] Why won't gcc allow bit-operands on pointers?  Is that illegal?

-- 
Bryan C. Warnock
bwarnock@capita.com

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