[cairo-bugs] [Bug 23964] New: Use __uint128_t if available (gcc)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 15 08:52:47 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23964

           Summary: Use __uint128_t if available (gcc)
           Product: cairo
           Version: 1.9.3
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: slomo at circular-chaos.org
         QAContact: cairo-bugs at cairographics.org


Created an attachment (id=29568)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=29568)
0001-Use-__uint128_t-and-__int128_t-if-available.patch

Hi,
the attached patch changes configure to also check for __uint128_t, which is
the new name of uint128_t from gcc. It is only available on architectures that
provide instructions for 128 bit integers.

(I had to move some code in cairo-wideint.c because apparently nobody compiled
with a gcc that has uint128_t since a very long time and macros/functions were
not defined)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list