]> git.proxmox.com Git - mirror_qemu.git/commit - target/s390x/tcg/insn-data.def
s390x/tcg: add basic MSA features
authorDavid Hildenbrand <david@redhat.com>
Wed, 20 Sep 2017 15:30:16 +0000 (17:30 +0200)
committerCornelia Huck <cohuck@redhat.com>
Fri, 6 Oct 2017 08:53:01 +0000 (10:53 +0200)
commit7705c75048cab58ca9c4e25ed5880b20598777cf
tree2167aded7e7fb97383845fc87eeb53c536d841f2
parent7634d658e601714a917d91367a27340ffa77c3db
s390x/tcg: add basic MSA features

The STFLE bits for the MSA (extension) facilities simply indicate that
the respective instructions can be executed. The QUERY subfunction can then
be used to identify which features exactly are available.

Availability of subfunctions can also vary on real hardware. For now, we
simply implement a CPU model without any available subfunctions except
QUERY (which is always around).

As all MSA functions behave quite similarly, we can use one translation
handler for now. Prepare the code for implementation of actual subfunctions.

At least MSA is helpful for now, as older Linux kernels require this
facility when compiled for a z9 model. Allow to enable the facilities
for the qemu cpu model.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170920153016.3858-4-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/Makefile.objs
target/s390x/cpu_models.c
target/s390x/crypto_helper.c [new file with mode: 0644]
target/s390x/helper.h
target/s390x/insn-data.def
target/s390x/translate.c