diff options
| author | Sandipan Das <sandipan@linux.vnet.ibm.com> | 2017-09-29 11:14:10 +0530 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-10-04 11:28:04 +1100 |
| commit | 0a75aff178df005b0619703cf7886d5c8e28e486 (patch) | |
| tree | 9728d9075144501c6d339bb88056c401b6731d17 /tools/perf/scripts/python | |
| parent | powerpc/lib/sstep: Fix fixed-point arithmetic instructions that set CA32 (diff) | |
| download | linux-0a75aff178df005b0619703cf7886d5c8e28e486.tar.gz linux-0a75aff178df005b0619703cf7886d5c8e28e486.zip | |
powerpc/lib/sstep: Fix fixed-point shift instructions that set CA32
This fixes the emulated behaviour of existing fixed-point shift right
algebraic instructions that are supposed to set both the CA and CA32
bits of XER when running on a system that is compliant with POWER ISA
v3.0 independent of whether the system is executing in 32-bit mode or
64-bit mode. The following instructions are affected:
* Shift Right Algebraic Word Immediate (srawi[.])
* Shift Right Algebraic Word (sraw[.])
* Shift Right Algebraic Doubleword Immediate (sradi[.])
* Shift Right Algebraic Doubleword (srad[.])
Fixes: 0016a4cf5582 ("powerpc: Emulate most Book I instructions in emulate_step()")
Signed-off-by: Sandipan Das <sandipan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
