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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to