Re: [exim-dev] compilation failure of 4.70 and 4.71 on HP-UX…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Phil Pennock
Date:  
À: Johannes Berg
CC: exim-dev, Marc Beyer, Tom Kistner
Sujet: Re: [exim-dev] compilation failure of 4.70 and 4.71 on HP-UX-11.31
On 2009-12-04 at 09:36 +0100, Johannes Berg wrote:
> On Tue, 2009-12-01 at 00:11 -0800, Phil Pennock wrote:
>
> > > "bignum.h", line 58: error #3089: there is no type with the width specified
> > >       typedef unsigned int t_dbl __attribute__((mode(TI)));
> > >                                                 ^

> >
> > There's a GCC-ism in src/pdkim/bignum.h which is not wrapped by a check
> > for GCC.
> >
> > Do you know how to get a 128-bit integer on your platform?
>
> Are you sure that's meant to be a 128 bit type?


http://gcc.gnu.org/onlinedocs/gcc-3.1.1/gcc/X86-Built-in-Functions.html

"""If SSE extensions are enabled, V4SF is used for a vector of four
32-bit floating point values. Some instructions use a vector of four
32-bit integers, these use V4SI. Finally, some instructions operate on
an entire vector register, interpreting it as a 128-bit integer, these
use mode TI."""

http://gcc.gnu.org/gcc-4.4/changes.html

In a section re MIPS support, there's now: """You can now achieve the
same effect using 128-bit types:

    typedef unsigned int uint128_t __attribute__((mode(TI)));
    result = ((uint128_t) x * y) >> 64;
"""


That's about the limit of my knowledge of the subject.

Regards,
-Phil