qemu-ppc
[Top][All Lists]
Advanced

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

[PATCH] target/ppc: Fix for optimized vsl/vsr instructions


From: Stefan Brankovic
Subject: [PATCH] target/ppc: Fix for optimized vsl/vsr instructions
Date: Thu, 3 Oct 2019 12:10:13 +0200

In previous implementation, invocation of TCG shift function could request
shift of TCG variable by 64 bits when variable "sh" is 0, which is not
supported in TCG (values can be shifted by 0 to 63 bits). This patch fixes
this by using two separate invocation of TCG shift functions, with maximum
shift amount of 32.
    
Also, name of variable "shifted" is changed to "carry" so variable naming
is similar to old helper implementation.

Stefan Brankovic (1):
  target/ppc: Fix for optimized vsl/vsr instructions

 target/ppc/translate/vmx-impl.inc.c | 40 ++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

-- 
2.7.4




reply via email to

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