From 0ab0a3d768a4f6ab6747b6fd936c5cf70b5069c2 Mon Sep 17 00:00:00 2001 From: Chen Gang Date: Tue, 22 Sep 2015 05:47:35 +0800 Subject: 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 Message-Id: <1442872055-2836-1-git-send-email-gang.chen.5i5j@gmail.com> Signed-off-by: Richard Henderson --- target-tilegx/helper.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target-tilegx/helper.h') 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) -- cgit v1.2.3