]> git.proxmox.com Git - mirror_qemu.git/commit - target/s390x/tcg/translate.c
target/s390x: change PSW_SHIFT_KEY
authorDavid Hildenbrand <david@redhat.com>
Wed, 14 Jun 2017 13:38:18 +0000 (15:38 +0200)
committerRichard Henderson <rth@twiddle.net>
Fri, 23 Jun 2017 15:40:40 +0000 (08:40 -0700)
commitc8bd95377babc3bd60f86cb3e5b24e74097cf6a9
tree451d7858d802a29dd18da69c56785aa6388de06e
parentd20bd43c4ce2dcdf7d6fa24eb8a29bcef29fb652
target/s390x: change PSW_SHIFT_KEY

Such shifts are usually used to easily extract the PSW KEY from the PSW
mask, so let's avoid the confusing offset of 4.

Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170614133819.18480-2-david@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target/s390x/cpu.h
target/s390x/translate.c