blob: 3c523d00d76ad3c56b5892b364bdf2058e1beea3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// See LICENSE for license details.
#ifndef _RISCV_COMMON_H
#define _RISCV_COMMON_H
#define likely(x) __builtin_expect(x, 1)
#define unlikely(x) __builtin_expect(x, 0)
#define NOINLINE __attribute__ ((noinline))
#endif
|