projects
/
riscv-isa-sim.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
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