Introduce likely/unlikely macros, use them in saa.c
commit51997d3d44a9279508b16e9f3d5e2de173ece7c2
authorH. Peter Anvin <hpa@zytor.com>
Tue, 10 Jun 2008 16:35:26 +0000 (10 09:35 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 10 Jun 2008 16:35:26 +0000 (10 09:35 -0700)
treedfd4e490aa051890565126e945daa4618a4464e4
parent8cc5aa78291843c10931ed3c738290df0b643279
Introduce likely/unlikely macros, use them in saa.c

Introduce the likely() and unlikely() macros, as used in Linux.
They are compiler-dependent hints that a particular boolean expression
is likely to be true or false, respectively.

Currently only implemented for gcc.
compiler.h
saa.c