s390x/tcg: Implement VECTOR FP CONVERT FROM FIXED 64-BIT
authorDavid Hildenbrand <david@redhat.com>
Wed, 29 May 2019 19:42:05 +0000 (21:42 +0200)
committerDavid Hildenbrand <david@redhat.com>
Fri, 7 Jun 2019 12:53:25 +0000 (14:53 +0200)
commitbb03fd841cb33f3a85cedc1f89169fe2649fc258
treee14dae749cca380a99d1c56ca2a244aff2695c51
parent2c806ab4437abde451b99dcf21b45169c04d08e9
s390x/tcg: Implement VECTOR FP CONVERT FROM FIXED 64-BIT

1. We'll reuse op_vcdg() for similar instructions later, prepare for
   that.
2. We'll reuse vop64_2() later for other instructions.

We have to mangle the erm (effective rounding mode) and the m4 into
the simd_data(), and properly unmangle them again.

Make sure to restore the erm before triggering an exception.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
target/s390x/helper.h
target/s390x/insn-data.def
target/s390x/translate_vx.inc.c
target/s390x/vec_fpu_helper.c