[LLVMbugs] [Bug 9659] New: Please support __int128_t and _uint128_t on 64-bit platforms!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 8 08:28:45 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=9659

           Summary: Please support __int128_t and _uint128_t on 64-bit
                    platforms!
           Product: clang
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: felix-llvm at fefe.de
                CC: llvmbugs at cs.uiuc.edu


gcc supports __int128_t and __uint128_t on 64-bit platforms, so it is possible
to make use of the 64*64->128 bit multiply instructions directly.

In particular, a 128-bit integer type is needed to take advantage of 64-bit
integers when implementing a bignum library in C on 64-bit platforms.  Most
bignum libraries are implemented in assembly language because compilers
historically produced much worse code than hand-crafted assembly trickery
could, but nowadays compilers ought to be able to do well with C code, too.  In
fact, it would be a great opportunity for perfecting the register allocator.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list