OSDN Git Service

target/s390x: Define TARGET_HAS_PRECISE_SMC
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 7 Aug 2023 11:48:20 +0000 (13:48 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 31 Aug 2023 17:10:01 +0000 (19:10 +0200)
commitc7f41e4f53c4763bf1e350723a560dc3bf46e04b
treeddde8ff0dd51107385ed9d52ed5f8b546cbc6de1
parent17780edd81d27fcfdb7a802efc870a99788bd2fc
target/s390x: Define TARGET_HAS_PRECISE_SMC

PoP (Sequence of Storage References -> Instruction Fetching) says:

    ... if a store that is conceptually earlier is
    made by the same CPU using the same effective
    address as that by which the instruction is subse-
    quently fetched, the updated information is obtained ...

QEMU already has support for this in the common code; enable it for
s390x.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230807114921.438881-1-iii@linux.ibm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/cpu.h