From: user5857@newsgrouper.org.invalid   
      
   BGB posted:   
      
   > On 11/13/2025 3:58 PM, Anton Ertl wrote:   
   > > BGB writes:   
   > >> Can note that GCC seemingly doesn't support 128-bit integers on 64-bit   
   > >> RISC-V.   
   > >   
   > > What makes you think so? It has certainly worked every time I tried   
   > > it. E.g., Gforth's "configure" reports:   
   > >   
   > > checking size of __int128_t... 16   
   > > checking size of __uint128_t... 16   
   > > [...]   
   > > checking for a C type for double-cells... __int128_t   
   > > checking for a C type for unsigned double-cells... __uint128_t   
   > >   
   > > That's with gcc 10.3.1   
   > >   
   >   
   > Hmm...   
   >   
   > Seems so.   
   >   
   > Testing again, it does appear to work; the error message I thought I   
   > remembered seeing, instead applied to when trying to use the type in   
   > MSVC. I had thought I remembered checking before and it failing, but it   
   > seems not.   
   >   
   > But, yeah, good to know I guess.   
   >   
   >   
   > As for MSVC:   
   > tst_int128.c(5): error C4235: nonstandard extension used: '__int128'   
   > keyword not supported on this architecture   
      
   ERRRRRRR:: not supported by this compiler, the architecture has   
   ISA level support for doing this, but the compiler does not allow   
   you access.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|