summaryrefslogtreecommitdiffstats
path: root/target/s390x/helper.h
diff options
context:
space:
mode:
authorDavid Hildenbrand2019-04-11 09:41:29 +0200
committerDavid Hildenbrand2019-05-17 10:54:13 +0200
commit801aa78bd02100b34ddb3a4c94cc4cf4a4ae1844 (patch)
tree14a316c33675fdbe38f6deaa75e645efc5107801 /target/s390x/helper.h
parents390x/tcg: Implement VECTOR AVERAGE (diff)
downloadqemu-801aa78bd02100b34ddb3a4c94cc4cf4a4ae1844.tar.gz
qemu-801aa78bd02100b34ddb3a4c94cc4cf4a4ae1844.tar.xz
qemu-801aa78bd02100b34ddb3a4c94cc4cf4a4ae1844.zip
s390x/tcg: Implement VECTOR AVERAGE LOGICAL
Similar to VECTOR AVERAGE but without sign extension. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'target/s390x/helper.h')
-rw-r--r--target/s390x/helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/s390x/helper.h b/target/s390x/helper.h
index add1d332e5..21921397fe 100644
--- a/target/s390x/helper.h
+++ b/target/s390x/helper.h
@@ -148,6 +148,8 @@ DEF_HELPER_FLAGS_4(vstl, TCG_CALL_NO_WG, void, env, cptr, i64, i64)
/* === Vector Integer Instructions === */
DEF_HELPER_FLAGS_4(gvec_vavg8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
DEF_HELPER_FLAGS_4(gvec_vavg16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
+DEF_HELPER_FLAGS_4(gvec_vavgl8, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
+DEF_HELPER_FLAGS_4(gvec_vavgl16, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)
#ifndef CONFIG_USER_ONLY
DEF_HELPER_3(servc, i32, env, i64, i64)