This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/83262] SELECT CASE slower than IF/ELSE


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83262

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> 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 done with the change of 'n' to 'i'.

> There is no statistically significant difference in timings.

Well, my timings do not support that. Depending on the options
and the revisions I see significant differences. In particular 
the option '-falign-jumps' is quite bad, at least on 
x86_64-apple-darwin17.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]