128 bit signed and unsigned integer types

John Reimer terminal.node at gmail.com
Sat Dec 27 23:15:57 PST 2008


Hello dsimcha,

> == Quote from Walter Bright (newshound1 at digitalmars.com)'s article
> 
>> You know, the unimplemented 128 bit integer types. Does anyone have a
>> use for these?
>> 
> Well, we've got bigints in both Phobos and Tango now.  Given the
> clumsiness or downright impossibility of manipulating 128-bit ints in
> hardware on x86-32, would they even be much faster than bigints?  I
> mean, you couldn't even fit 2 128-bit ints plus a stack pointer in the
> general-purpose registers of an x86.
> 


That's why I was asking about SSE... I believe that they have 128-bit registers 
that can be viewed as integers and unsigned integers.  But I'm not very familiar 
with how this works.

-JJR





More information about the Digitalmars-d mailing list