[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/2] ppc: Fixes for LSWX and LSWI instructions

From: Thomas Huth
Subject: [Qemu-devel] [PATCH 0/2] ppc: Fixes for LSWX and LSWI instructions
Date: Thu, 14 Apr 2016 17:14:51 +0200

These two patches fix the bad range checks in the LSWI and LSWX

To see the change in behavior for the lswx instruction, you can use the
"emulator" test from the kvm-unit-tests suite - code can be found here:


For testing the lswi instruction, an additional kvm-unit-test can be
used, see the patch that I've posted here:


Thomas Huth (2):
  ppc: Fix the range check in the LSWI instruction
  ppc: Fix the bad exception NIP value and the range check in LSWX

 target-ppc/cpu.h        | 10 ++++++++++
 target-ppc/mem_helper.c |  5 +++--
 target-ppc/translate.c  |  6 ++----
 3 files changed, 15 insertions(+), 6 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]