This is the mail archive of the gcc@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]

Re: optimizing predictable branches on x86


It's a final summary for good performance of the tested machines:

  + unpredictable: * don't use conditional jmp (the worst).
 /                 * use cmov or C version.
/
\                 + no deps: * use cmov or C version.
 \               /
  + predictable: \
                  + has deps: * don't use cmov (the worst).
                              * use conditional jmp (the best).


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