target/s390x: Improve s390_cpu_dump_state vs cc_op
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 15 Jun 2021 03:07:42 +0000 (20:07 -0700)
committerCornelia Huck <cohuck@redhat.com>
Mon, 21 Jun 2021 06:48:21 +0000 (08:48 +0200)
commitd09e6c921301d4377c73e0bc9010b52f201862dd
tree86e629dfbd91ffd07264597a1151872f787e07aa
parent3c11c2ebb062ffb5d7dcad44ab0fb60505ad5cac
target/s390x: Improve s390_cpu_dump_state vs cc_op

Use s390_cpu_get_psw_mask so that we print the correct
architectural value of psw.mask.  Do not print cc_op
unless tcg_enabled.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Tested-by: jonathan.albrecht <jonathan.albrecht@linux.vnet.ibm.com>
Tested-by: <ruixin.bao@ibm.com>
Message-Id: <20210615030744.1252385-4-richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/helper.c