]> git.proxmox.com Git - mirror_qemu.git/commit
s390x/tcg: Implement LOAD COUNT TO BLOCK BOUNDARY
authorDavid Hildenbrand <david@redhat.com>
Mon, 25 Feb 2019 20:03:18 +0000 (21:03 +0100)
committerCornelia Huck <cohuck@redhat.com>
Mon, 4 Mar 2019 10:49:31 +0000 (11:49 +0100)
commit6d9303322ed9580ff6c61e38a427b549410464c7
treeb5852be0aefc08d8554c5469aa76a8c357f50502
parent86b59624c4aa2a383aca7a1798740779ac8967ce
s390x/tcg: Implement LOAD COUNT TO BLOCK BOUNDARY

Use a new CC helper to calculate the CC lazily if needed. While the
PoP mentions that "A 32-bit unsigned binary integer" is placed into the
first operand, there is no word telling that the other 32 bits (high
part) are left untouched. Maybe the other 32-bit are unpredictable.
So store 64 bit for now.

Bit magic courtesy of Richard.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190225200318.16102-8-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cc_helper.c
target/s390x/helper.c
target/s390x/insn-data.def
target/s390x/internal.h
target/s390x/translate.c