projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Set impebreak.
[riscv-isa-sim.git]
/
riscv
/
common.h
diff --git
a/riscv/common.h
b/riscv/common.h
index 801baf8d677c9aba79727dd62cad079e7cc545d8..8ddd9849d83c887647c1a46b39d86d11514726a8 100644
(file)
--- a/
riscv/common.h
+++ b/
riscv/common.h
@@
-1,8
+1,8
@@
+// See LICENSE for license details.
+
#ifndef _RISCV_COMMON_H
#define _RISCV_COMMON_H
-#define static_assert(x) switch (x) case 0: case (x):
-
#define likely(x) __builtin_expect(x, 1)
#define unlikely(x) __builtin_expect(x, 0)