Commit fd481851 authored by David Hildenbrand's avatar David Hildenbrand
Browse files

s390x/tcg: Allow linux-user to use vector instructions



Once we unlock S390_FEAT_VECTOR for TCG, we want linux-user to be
able to make use of it.

Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>
Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
parent 83b955f9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -145,6 +145,9 @@ static void s390_cpu_full_reset(CPUState *s)
#if defined(CONFIG_USER_ONLY)
    /* user mode should always be allowed to use the full FPU */
    env->cregs[0] |= CR0_AFP;
    if (s390_has_feat(S390_FEAT_VECTOR)) {
        env->cregs[0] |= CR0_VECTOR;
    }
#endif

    /* architectured initial value for Breaking-Event-Address register */