summaryrefslogtreecommitdiffstats
path: root/disas/ppc.c
diff options
context:
space:
mode:
authorDavid Hildenbrand2019-10-21 10:57:13 +0200
committerCornelia Huck2019-10-21 17:33:29 +0200
commit23e797749fff754b8a136ee37607c6448b06cfca (patch)
treee77da2026cfdf1ff2c01bbfccc918e3c27bd214d /disas/ppc.c
parents390x/tcg: Fix VECTOR SHIFT RIGHT ARITHMETIC BY BYTE (diff)
downloadqemu-23e797749fff754b8a136ee37607c6448b06cfca.tar.gz
qemu-23e797749fff754b8a136ee37607c6448b06cfca.tar.xz
qemu-23e797749fff754b8a136ee37607c6448b06cfca.zip
s390x/tcg: Fix VECTOR SUBTRACT COMPUTE BORROW INDICATION
Looks like my idea of what a "borrow" is was wrong. The PoP says: "If the resulting subtraction results in a carry out of bit zero, a value of one is placed in the corresponding element of the first operand; otherwise, a value of zero is placed in the corresponding element" As clarified by Richard, all we have to do is invert the result. Fixes: 1ee2d7ba72f6 ("s390x/tcg: Implement VECTOR SUBTRACT COMPUTE BORROW INDICATION") Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20191021085715.3797-5-david@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'disas/ppc.c')
0 files changed, 0 insertions, 0 deletions