|
From: | Gerd Möllmann |
Subject: | Re: [PATCH] Re: Bignum performance (was: Shrinking the C core) |
Date: | Tue, 15 Aug 2023 06:58:39 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 |
How do you see only fixnums are used?
By reading the assembly, and remembering a thing or two from my times as a CMUCL contributor, e.g. its fixnum representation. SBCL is a fork of CMUCL.
Are we talking 1 word = 2 bytes = 16 bits here, s2c? If so, the range of fixnums are -32 768 to 32 767 inclusive, so those are hardly huge numbers.
It's a 64-bit machine, more specifically an M1. i.e. arm64. How you get from there to these 16 bits escapes me.
[Prev in Thread] | Current Thread | [Next in Thread] |