Update README
[riscv-isa-sim.git] / riscv / common.h
1 // See LICENSE for license details.
2
3 #ifndef _RISCV_COMMON_H
4 #define _RISCV_COMMON_H
5
6 #define likely(x) __builtin_expect(x, 1)
7 #define unlikely(x) __builtin_expect(x, 0)
8
9 #endif