https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83262
--- Comment #8 from Steve Kargl ---
On Mon, Dec 04, 2017 at 10:03:01AM +, dominiq at lps dot ens.fr wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83262
>
> --- Comment #7 from Dominique d'Humieres ---
> > Dick Henderson in clf claim
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83262
--- Comment #7 from Dominique d'Humieres ---
> Dick Henderson in clf claims that there is a bug in the code.
> You're comparing apples and oranges. Mike Metcalf ran the
> code with Dick's suggested change.
All my timings after comment 3 are don
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83262
kargl at gcc dot gnu.org changed:
What|Removed |Added
CC||kargl at gcc dot gnu.org
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83262
--- Comment #5 from Dominique d'Humieres ---
Compiling the test with '-O3 -fno-align-jumps' gives
GOTO costs totally 1.242 (s)
SELECT CASE costs totally 1.253 (s)
IF-Goto costs totally 1.507 (s)
IF-noGoto
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83262
--- Comment #4 from Dominique d'Humieres ---
The speed depends on the optimization level, SELECT CASE being the fastest with
-O1
-O0
GOTO costs totally 4.667 (s)
SELECT CASE costs totally 4.578 (s)
IF-Goto costs t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83262
Dominique d'Humieres changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83262
--- Comment #2 from Thomas Koenig ---
ig25@linux-d6cw:~> gfortran -v
Es werden eingebaute Spezifikationen verwendet.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/home/ig25/lib/gcc/x86_64-pc-linux-gnu/8.0.0/lto-wrapper
Ziel: x86_64-pc-linux-gnu
Konfi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83262
--- Comment #1 from Marc Glisse ---
What version of gcc, and what platform? With gcc-8 on x86_64 (skylake), I get
GOTO costs totally 0.904 (s)
SELECT CASE costs totally 0.704 (s)
IF-Goto costs totally 0.706 (s)