This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [wide-int] Add fast path for hosts with HWI widening multiplication


On Thu, May 8, 2014 at 12:42 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Thu, May 08, 2014 at 12:34:28PM -0700, H.J. Lu wrote:
>> On Thu, May 8, 2014 at 12:18 PM, Richard Sandiford
>> <rdsandiford@googlemail.com> wrote:
>> > Kenneth Zadeck <zadeck@naturalbridge.com> writes:
>> >> everyone who has a private port will hate you forever.   note that i
>> >> have 2 of them.
>> >
>> > Got any other ideas though?  I suppose if we're prepared to break
>> > compatibility with whatever the upstream of longlong.h is, we could
>> > make more use of intN_t and uintN_t.
>> >
>> > Having a whitelist of hosts seems like the best fix though.
>> > I'm not sure the default umul_ppmm is going to be any better
>> > than not defining it.
>> >
>>
>> Can you add a configure time check if
>>
>> typedef unsigned int UTItype __attribute__ ((mode (TI)));
>>
>> is supported?
>
> Why?  Isn't that #ifdef __SIZEOF_INT128__ ?
>

Yes, we can use that.  Will it work?


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]