This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: long long / long long
- To: Joe Buck <jbuck at synopsys dot COM>
- Subject: Re: long long / long long
- From: Bernd Schmidt <bernds at redhat dot com>
- Date: Mon, 10 Sep 2001 14:19:47 +0100 (BST)
- cc: Frank Klemm <pfk at fuchs dot offl dot uni-jena dot de>, Jan Hubicka <jh at suse dot cz>, <gcc at gcc dot gnu dot org>
On Sun, 9 Sep 2001, Joe Buck wrote:
> Frank Klemm writes:
> [ improved long long code sequences]
> >
> > Interested? Or are 64 bit are uninteresting for benchmarks?
>
> Well, the Linux kernel developers found that they couldn't let gcc
> do long long arithmetic because it did such a poor job, so they do
> it in assembly or in C on pairs of 32 bit values instead. So at
> least some folks probably wouldn't mind seeing an improvement.
The main problem probably is the register allocator's requirement that
DImode values be allocated to adjacent registers. Unfortunately this
is not going to be easy to change.
Bernd