emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making --with-wide-int the default


From: Eli Zaretskii
Subject: Re: Making --with-wide-int the default
Date: Fri, 16 Oct 2015 16:22:09 +0300

> From: David Kastrup <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden
> Date: Fri, 16 Oct 2015 12:28:10 +0200
> 
> >> > What is "non-native" about 'long long int'?
> >> 
> >> Register lengths and opcodes.  You need two registers for every
> >> operation, and several opcodes.
> >
> > Yes, and the compiler already implements that in the most efficient
> > way possible.
> 
> And GMP makes use of that.

But at the cost of a function call, which brings its own overhead.

> "The most efficient way possible" is still less efficient than using
> 32bit.

You cannot implement 32-bit buffer positions using a 32-bit C data
type.  You need a few more bits.  But you know this, so I have a
feeling we are talking past each other.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]