[OpenBIOS] Tokenizer (fcode-utils 1.0.2) support for 64-bit constants.
Tarl Neustaedter
Tarl.Neustaedter at Sun.COM
Fri Apr 17 21:35:02 CEST 2009
Blue Swirl wrote:
> [...]
>> Do we want 64-bit constant support?
>>
>
> I don't use tokenizer at all for now, but I can imagine we may want to
> generate Sparc64 FCode for device ROMs some day. So I'd say yes.
>
My recollection is that Sun's own tokenizer doesn't support 64-bit
constants, and generates code which forces partial 32-bit behaviour
(like 32-bit truncating values before testing). I recall having to
create 64-bit values with two separate constants and lxjoin - I'll check
on Monday to make sure this is still the case.
In other words, I'm not clear providing 64-bit constant support buys you
much in terms of SPARC64 support.
More information about the OpenBIOS
mailing list