RTXI  2.4
The Real-Time eXperiment Interface Documentation
compiler.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define likely(x)   __builtin_expect((x),1)
#define unlikely(x)   __builtin_expect((x),0)
#define prefetch_read(x)   __builtin_prefetch((x),0,1)
#define prefetch_write(x)   __builtin_prefetch((x),1,1)

Macro Definition Documentation

◆ likely

#define likely( x)   __builtin_expect((x),1)

Definition at line 23 of file compiler.h.

◆ prefetch_read

#define prefetch_read( x)   __builtin_prefetch((x),0,1)

Definition at line 26 of file compiler.h.

◆ prefetch_write

#define prefetch_write( x)   __builtin_prefetch((x),1,1)

Definition at line 27 of file compiler.h.

◆ unlikely

#define unlikely( x)   __builtin_expect((x),0)

Definition at line 24 of file compiler.h.