temporary undoing of renaming
[riscv-isa-sim.git] / riscv / common.h
1 #ifndef _RISCV_COMMON_H
2 #define _RISCV_COMMON_H
3
4 #define static_assert(x) switch (x) case 0: case (x):
5
6 #define likely(x) __builtin_expect(x, 1)
7 #define unlikely(x) __builtin_expect(x, 0)
8
9 #endif