summaryrefslogtreecommitdiff
path: root/target-tilegx/helper.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2015-08-24 08:56:45 -0700
committerRichard Henderson <rth@twiddle.net>2015-09-15 07:45:34 -0700
commit461aa6783eec27f209b026c6647fc7a83b2997cd (patch)
tree0940f302751c63742dddff30898937a8c375392d /target-tilegx/helper.h
parent3be19e8c83949b62895dd27866e26a1bf806ad56 (diff)
target-tilegx: Handle v1shl, v1shru, v1shrs
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-tilegx/helper.h')
-rw-r--r--target-tilegx/helper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/target-tilegx/helper.h b/target-tilegx/helper.h
index 644d313e79..766f5f2f9c 100644
--- a/target-tilegx/helper.h
+++ b/target-tilegx/helper.h
@@ -4,3 +4,7 @@ DEF_HELPER_FLAGS_1(cnttz, TCG_CALL_NO_RWG_SE, i64, i64)
DEF_HELPER_FLAGS_1(pcnt, TCG_CALL_NO_RWG_SE, i64, i64)
DEF_HELPER_FLAGS_1(revbits, TCG_CALL_NO_RWG_SE, i64, i64)
DEF_HELPER_FLAGS_3(shufflebytes, TCG_CALL_NO_RWG_SE, i64, i64, i64, i64)
+
+DEF_HELPER_FLAGS_2(v1shl, TCG_CALL_NO_RWG_SE, i64, i64, i64)
+DEF_HELPER_FLAGS_2(v1shru, TCG_CALL_NO_RWG_SE, i64, i64, i64)
+DEF_HELPER_FLAGS_2(v1shrs, TCG_CALL_NO_RWG_SE, i64, i64, i64)