This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16961] Poor x86-64 performance with 128bit ints
- From: "jh at suse dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2005 12:45:57 -0000
- Subject: [Bug target/16961] Poor x86-64 performance with 128bit ints
- References: <20040810130811.16961.tomstdenis@iahu.ca>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jh at suse dot cz 2005-07-18 12:45 -------
Subject: Re: Poor x86-64 performance with 128bit ints
>
> ------- Additional Comments From steven at gcc dot gnu dot org 2005-07-18 07:47 -------
> The 128 bits arithmetic has improved now:
>
> typedef unsigned long mp_word __attribute__ ((mode(TI)));
> mp_word a, b;
> void test(void) { a += b; }
>
> test:
> movq a(%rip), %rax
> addq b(%rip), %rax
> movq a+8(%rip), %rdx
> adcq b+8(%rip), %rdx
> movq %rax, a(%rip)
> movq %rdx, a+8(%rip)
> ret
I think the PR should be closed now when Jan added the 128bit arithmetic
patterns I originally skipped in the x86-64 port as it was killing my
32bit cross compiler at that time :)
At lest we should now perofrm no worse than i386 on 64bit math (that
sucks of course ;)
Honza
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16961
>
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16961