diff options
| author | Balamuruhan S <[email protected]> | 2020-03-11 15:54:05 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-03-25 12:06:46 +1100 |
| commit | 3e74a0e16342626511c43937c120beb990539307 (patch) | |
| tree | b95ec57c381eb598220d0f8bccbb8ec97f370e10 /tools/perf/scripts/python/stackcollapse.py | |
| parent | c5e76fa05b2df519b9f08571cc57e623c1569faa (diff) | |
powerpc/sstep: Fix DS operand in ld encoding to appropriate value
ld instruction should have 14 bit immediate field (DS) concatenated
with 0b00 on the right, encode it accordingly. Introduce macro
`IMM_DS()` to encode DS form instructions with 14 bit immediate field.
Fixes: 4ceae137bdab ("powerpc: emulate_step() tests for load/store instructions")
Reviewed-by: Sandipan Das <[email protected]>
Signed-off-by: Balamuruhan S <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions