URL:
  <https://savannah.gnu.org/patch/?10618>

                 Summary: [PATCH 18/31] sf: integrate the fixnum bounds of the
target, not the host
                   Group: MIT/GNU Scheme
               Submitter: barak
               Submitted: Thu 24 Sep 2026 04:36:24 PM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 24 Sep 2026 04:36:24 PM UTC By: Barak A. Pearlmutter <barak>
usual-integrations integrates fx-greatest, fx-least and fx-width by
value, and the values were the host's, cached when the sf band was
built.  Cross-compiling 64 -> 32, 2^57-1 lands in a 26-bit datum as all
ones, so fx-greatest is -1 on the target: (int:+ fx-greatest 1) is a
bignum zero and the cold load dies in initialize-cache-numbers!.

Compute them from target-bytes-per-object, remember what word size the
cache was built for, and rebuild it if that has changed by the time a
usual-integrations declaration is processed.






    _______________________________________________________
File Attachments:

Name: 0018-sf-integrate-the-fixnum-bounds-of-the-target-not-the.patch Size:
3.2KiB

<https://file.savannah.gnu.org/file/0018-sf-integrate-the-fixnum-bounds-of-the-target-not-the.patch?file_id=59009>



    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-2ce82de06cddf3c312e2e260f2c97db720d76efc.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10618>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to