aboutsummaryrefslogtreecommitdiff
path: root/riscv/insn_template.h
diff options
context:
space:
mode:
authorChih-Min Chao <chihmin.chao@sifive.com>2019-04-03 00:25:35 -0700
committerChih-Min Chao <chihmin.chao@sifive.com>2019-04-03 00:25:35 -0700
commita1133dcf763446fe23e018339504d6cb4eb2eb1d (patch)
treef27ebded2117c692272341bb7b37db48aafbfca1 /riscv/insn_template.h
parent5efcf97b0a17375b6c9cf4f817d5682004466312 (diff)
downloadspike-a1133dcf763446fe23e018339504d6cb4eb2eb1d.zip
spike-a1133dcf763446fe23e018339504d6cb4eb2eb1d.tar.gz
spike-a1133dcf763446fe23e018339504d6cb4eb2eb1d.tar.bz2
rvv: add integer saturation helper function
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'riscv/insn_template.h')
-rw-r--r--riscv/insn_template.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/insn_template.h b/riscv/insn_template.h
index 07aa16b..668966f 100644
--- a/riscv/insn_template.h
+++ b/riscv/insn_template.h
@@ -1,5 +1,6 @@
// See LICENSE for license details.
+#include "arith.h"
#include "mmu.h"
#include "mulhi.h"
#include "softfloat.h"