projects
/
riscv-isa-sim.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
debug: Use Debug-Module specific constants instead of global defines.
[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