diff options
| author | Sandipan Das <[email protected]> | 2017-09-29 11:14:10 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-10-04 11:28:04 +1100 |
| commit | 0a75aff178df005b0619703cf7886d5c8e28e486 (patch) | |
| tree | 9728d9075144501c6d339bb88056c401b6731d17 /tools/perf/scripts/python/netdev-times.py | |
| parent | dc39c1d68f256990d4bb0033a219e8ca15ba4d7f (diff) | |
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions