Re: declare 64 bit integers?
- From: David Lichteblau <usenet-2006@xxxxxxxxxxxxxx>
- Date: 27 Sep 2007 23:18:32 GMT
On 2007-09-27, Alex Mizrahi <udodenko@xxxxxxxxxxxxxxxxxxxxx> wrote:
i'm afraid it won't run "super fast" (if you mean using directly machine
registers/CPU instructions) on any available implementation.
you can pick one -- for example, SBCL -- and ask developers if it's possible
to extend compiler to suport this stuff.
Yes, it is possible:
I once wrote such a contrib for SBCL implementing "long long"-style
inline (signed-byte 64) arithmetic on x86.
SBCL's register allocation is not designed for pairing of arbitrary
registers, but it was possible to make it work with minimal effort by
only pairing registers that are adjacent (according to the compiler's
idea of how the registers are numbered).
.
- Follow-Ups:
- Re: declare 64 bit integers?
- From: jrwats
- Re: declare 64 bit integers?
- References:
- declare 64 bit integers?
- From: jrwats
- Re: declare 64 bit integers?
- From: Alex Mizrahi
- declare 64 bit integers?
- Prev by Date: Explain why calling a named function conses and lambda doesn't?!?!?!?!
- Next by Date: Re: How to implement heap as a binary tree in lisp?
- Previous by thread: Re: declare 64 bit integers?
- Next by thread: Re: declare 64 bit integers?
- Index(es):