aboutsummaryrefslogtreecommitdiff
path: root/riscv/common.h
blob: 8ddd9849d83c887647c1a46b39d86d11514726a8 (plain)
1
2
3
4
5
6
7
8
9
// 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)

#endif