This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Performance loss with gfortran on 64-bit Linux
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: FX Coudert <fxcoudert at gmail dot com>
- Cc: fortran at gcc dot gnu dot org
- Date: Sun, 23 Jul 2006 12:02:26 +0200
- Subject: Re: Performance loss with gfortran on 64-bit Linux
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Pu/kD8wFZ5SZDuzQkF1FDOjr7tYokz815xWtCXBpkVIFEjBeYLiPWaLtUAgvqYw2jMw06WVvagannyzh8hNXb0mPSwdbz/Et9HW+oh6KzDt6ilu5Kx/DfWmA7yQKfBPZ6RikWwgdy0j2J3cA/5HB5dFOrMJzbF64X4+cqUYXdGg=
- References: <44C32917.2080301@gmail.com> <44C32C58.1070904@gmail.com>
FX Coudert wrote:
From the -static profile runs, it looks like some kind of a library
problem to me, as on the top of 64bit profiled run (run-pg.64s) we have:
26.82 279.89 279.89 fesetenv
19.00 478.20 198.31 fesetround
> [...]
9.35 842.30 97.57 feholdexcept
That's crazy! Could you set up a breakpoint on any of those, to know
how they get called?
Sure:
(gdb) break fesetenv
Breakpoint 1 at 0x438c80
(gdb) run
Breakpoint 1, 0x0000000000438c80 in fesetenv ()
(gdb) bt
#0 0x0000000000438c80 in fesetenv ()
#1 0x00000000004342ba in __ieee754_expf ()
#2 0x000000000042a01d in expf ()
#3 0x0000000000412c44 in co2emissvt_ ()
#4 0x00000000004116ca in irmars_ ()
#5 0x0000000000401612 in marsrad_ ()
#6 0x0000000000400761 in MAIN__ ()
(gdb) break fesetround
Breakpoint 2 at 0x438c00
(gdb) cont
Breakpoint 2, 0x0000000000438c00 in fesetround ()
(gdb) bt
#0 0x0000000000438c00 in fesetround ()
#1 0x00000000004341f4 in __ieee754_expf ()
#2 0x000000000042a01d in expf ()
#3 0x0000000000412cf5 in co2emissvt_ ()
#4 0x00000000004116ca in irmars_ ()
#5 0x0000000000401612 in marsrad_ ()
#6 0x0000000000400761 in MAIN__ ()
(gdb) break feholdexcept
Breakpoint 3 at 0x438c50
(gdb) cont
Breakpoint 3, 0x0000000000438c50 in feholdexcept ()
(gdb) bt
#0 0x0000000000438c50 in feholdexcept ()
#1 0x00000000004341ed in __ieee754_expf ()
#2 0x000000000042a01d in expf ()
#3 0x0000000000412d5b in co2emissvt_ ()
#4 0x00000000004116ca in irmars_ ()
#5 0x0000000000401612 in marsrad_ ()
#6 0x0000000000400761 in MAIN__ ()
Uros.