From: antispam@fricas.org   
      
   Philipp Klaus Krause wrote:   
   > Am 24.11.25 um 13:31 schrieb bart:   
   >> On 24/11/2025 11:17, David Brown wrote:   
   >>> On 24/11/2025 01:30, bart wrote:   
   >>   
   >>>> Saving memory was mentioned. To achieve that means having bitfields   
   >>>> that may not start at bit 0 of a byte, and may cross byte- or word-   
   >>>> boundaries.   
   >>>>   
   >>>   
   >>> No, that is incorrect.   
   >>>   
   >>> The proposal mentions saving /space/ as relevant in FPGAs - not   
   >>> saving / memory/.   
   >>   
   >> But I was responding to a suggestion here that one use of _BitInts -   
   >> presumably for ordinary hardware - was to save memory.   
   >>   
   >> That's not going to happen if they are simply rounded up to the next   
   >> power-of-two type.   
   >   
   > SDCC has no padding bytes - a _BitInt(N) uses (N+7)/8 bytes. And for   
   > SDCC, _BitInt is currently the only way to get adressable integers that   
   > are not a "power-of-two type".   
      
   But do SDCC support any non-8 bit processor? I hope that gcc 8-bit   
   targets will also use minimal number of bytes.   
      
   --   
    Waldek Hebisch   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|