ppc: fix result of DLMZB when no zero bytes are found
commitebbd8b40a9f8dcc9ff048c2ce82a6219e4e80d38
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 Aug 2014 17:15:03 +0000 (28 19:15 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 4 Nov 2014 22:26:10 +0000 (4 23:26 +0100)
treecd44a1407c326bfbc86089eab201c3f6f36abe93
parent72189ea41d3a9748ffc740a3af1b98abc551aa09
ppc: fix result of DLMZB when no zero bytes are found

It must return 8 and place 8 in XER, but the current code uses
i directly which is 9 at this point of the code.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/int_helper.c