aboutsummaryrefslogtreecommitdiff
path: root/target-tilegx/helper.h
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2015-09-22 05:47:35 +0800
committerRichard Henderson <rth@twiddle.net>2015-10-07 20:03:13 +1100
commit0ab0a3d768a4f6ab6747b6fd936c5cf70b5069c2 (patch)
tree10d80bde7b4cc69fda80462a5318bcade3549651 /target-tilegx/helper.h
parent055130107683c3b199c1848a25e5e2c568230cbf (diff)
target-tilegx: Implement v*shl, v*shru, and v*shrs instructions
v2sh* are implemented with helper functions; v4sh* are implmeneted with inline code. Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Message-Id: <1442872055-2836-1-git-send-email-gang.chen.5i5j@gmail.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-tilegx/helper.h')
-rw-r--r--target-tilegx/helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-tilegx/helper.h b/target-tilegx/helper.h
index 766f5f2f9c..b253722a72 100644
--- a/target-tilegx/helper.h
+++ b/target-tilegx/helper.h
@@ -8,3 +8,6 @@ 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)
+DEF_HELPER_FLAGS_2(v2shl, TCG_CALL_NO_RWG_SE, i64, i64, i64)
+DEF_HELPER_FLAGS_2(v2shru, TCG_CALL_NO_RWG_SE, i64, i64, i64)
+DEF_HELPER_FLAGS_2(v2shrs, TCG_CALL_NO_RWG_SE, i64, i64, i64)