public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/42479] Wrong code with -floop-block
Date: Tue, 05 Jan 2010 12:56:00 -0000	[thread overview]
Message-ID: <20100105125646.7845.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42479-12313@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from dominiq at lps dot ens dot fr  2010-01-05 12:56 -------
Profiling without -floop-block

+ 99.8%, start, a.out
| + 99.8%, main, a.out
| | + 99.8%, induct_, a.out
| | | + 77.5%, __mqc_m_MOD_mutual_ind_quad_cir_coil, a.out
| | | |   2.8%, cosisin, libSystem.B.dylib
| | | | - 1.0%, cexp$fenv_access_off, libSystem.B.dylib
| | | | - 0.2%, asin, libSystem.B.dylib
| | | |   0.1%, cos$fenv_access_off, libSystem.B.dylib
| | | |   0.1%, _gfortran_transpose_r8, libgfortran.3.dylib
| | | |   0.0%, dyld_stub_cexp, a.out
| | | |   0.0%, dyld_stub_asin, a.out
| | | |   0.0%, dyld_stub__gfortran_transpose_r8, a.out
| | | - 21.9%, __mqr_m_MOD_mutual_ind_quad_rec_coil, a.out
| | | - 0.1%, __s_rect_m_MOD_rect_self_inductance, a.out
| | | - 0.1%, __rect_r_m_MOD_rect_resistance, a.out
| | |   0.0%, log, libSystem.B.dylib
| | | - 0.0%, __gen_resq_mesh_m_MOD_gen_resq_mesh, a.out
| | | - 0.0%, __mcr_m_MOD_mutual_ind_cir_rec_coils, a.out
| | | - 0.0%, free_large, libSystem.B.dylib
| | |   0.0%, cos$fenv_access_off, libSystem.B.dylib
| | | - 0.0%, __mcc_m_MOD_mutual_ind_cir_cir_coils, a.out
| | | - 0.0%, __define_wand_coils_m_MOD_define_wand_coils, a.out
| | | - 0.0%, __computer_time_m_MOD_computer_time, a.out

with -floop-block

+ 99.6%, start, a.out
| + 99.6%, main, a.out
| | + 99.6%, induct_, a.out
| | | + 59.1%, __mqr_m_MOD_mutual_ind_quad_rec_coil, a.out
| | | | + 0.1%, asin, libSystem.B.dylib
| | | | |   0.0%, sqrtl, libSystem.B.dylib
| | | |   0.1%, _gfortran_transpose_r8, libgfortran.3.dylib
| | | |   0.1%, cos$fenv_access_off, libSystem.B.dylib
| | | |   0.0%, dyld_stub_cos, a.out
| | | - 39.4%, __mqc_m_MOD_mutual_ind_quad_cir_coil, a.out
| | | - 0.4%, __s_rect_m_MOD_rect_self_inductance, a.out
| | | - 0.3%, __rect_r_m_MOD_rect_resistance, a.out
| | |   0.1%, log, libSystem.B.dylib
| | | - 0.1%, __gen_resq_mesh_m_MOD_gen_resq_mesh, a.out
| | |   0.0%, __mcr_m_MOD_mutual_ind_cir_rec_coils, a.out
| | | - 0.0%, free_large, libSystem.B.dylib
| | |   0.0%, asin, libSystem.B.dylib
| | |   0.0%, __mcc_m_MOD_mutual_ind_cir_cir_coils, a.out
| | | - 0.0%, __gen_resq_mesh_m_MOD_gen_resq_mesh_size, a.out
| | | - 0.0%, __define_wand_coils_m_MOD_define_wand_coils, a.out
| |   0.0%, __mqc_m_MOD_mutual_ind_quad_cir_coil, a.out

The miscompiled subroutine being mutual_ind_quad_rec_coil.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42479


  parent reply	other threads:[~2010-01-05 12:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-23 13:54 [Bug middle-end/42479] New: Wrong-code for induct.f90 with " -O3 -floop-block" dominiq at lps dot ens dot fr
2010-01-05 11:41 ` [Bug middle-end/42479] Wrong code with -floop-block fxcoudert at gcc dot gnu dot org
2010-01-05 11:42 ` fxcoudert at gcc dot gnu dot org
2010-01-05 12:56 ` dominiq at lps dot ens dot fr [this message]
2010-01-05 14:35 ` dominiq at lps dot ens dot fr
2010-01-06 19:20 ` dominiq at lps dot ens dot fr
2010-01-07 22:36 ` [Bug middle-end/42479] [graphite] " spop at gcc dot gnu dot org
2010-01-14  8:41 ` spop at gcc dot gnu dot org
2010-02-06 16:33 ` spop at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100105125646.7845.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).