migrate to c++11
[riscv-isa-sim.git] / riscv / common.h
1 #ifndef _RISCV_COMMON_H
2 #define _RISCV_COMMON_H
3
4 #define likely(x) __builtin_expect(x, 1)
5 #define unlikely(x) __builtin_expect(x, 0)
6
7 #endif