On Mon, 4 Dec 2017 15:01:48 +0100 David Hildenbrand <da...@redhat.com> wrote:
> It only provies the EXTRACT CPU TIME instruction. We can reuse the stpt s/provies/provides/ > helper, which calculates the CPU timer value. > > As the instruction is not priviledged, but we don't have a CPU timer s/priviledged/privileged/ > value in case of linux user, we simply fake the CPU timer to be 0. There's probably nothing else we could do. > > Signed-off-by: David Hildenbrand <da...@redhat.com> > --- > target/s390x/cpu_models.c | 1 + > target/s390x/insn-data.def | 2 ++ > target/s390x/translate.c | 36 ++++++++++++++++++++++++++++++++++++ > 3 files changed, 39 insertions(+)