Skip to content

powerpc/sstep: Add emulation support and tests for 'setb' instruction

Sathvika Vasireddy linuxppc-dev 2 versions – Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesApplied
  2. v12 patches 13 repliesSuperseded

Changes in v2 from the cover letter

- Extract all the bits of the CR field (bfa) and check if the LT, GT bits of that CR field (bfa) are set.
- Place 'setb' emulation code after 'mfcr' instruction emulation.
- Add 'cpu_feature' in the selftests patch to restrict them to ISA v3.0

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2powerpc/sstep: Add emulation support for ‘setb’ instructionarch/powerpc/lib/sstep.c+22 -03 replies
2/2powerpc/sstep: Add tests for setb instructionarch/powerpc/include/asm/ppc-opcode.h arch/powerpc/lib/test_emulate_step.c+30 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSegher BoessenkoolNaveen N. RaoSandipan Das
1/2R-b T-b R-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] powerpc/sstep: Add emulation support and tests for 'setb' instruction

This patchset adds emulation support and tests for setb instruction. Test cases are written to test different CR fields with different bits set in each field.

v1->v2:
- Extract all the bits of the CR field (bfa) and check if the LT, GT bits of that CR field (bfa) are set.
- Place 'setb' emulation code after 'mfcr' instruction emulation.
- Add 'cpu_feature' in the selftests patch to restrict them to ISA v3.0

Sathvika Vasireddy (2):
powerpc/sstep: Add emulation support for ‘setb’ instruction powerpc/sstep: Add tests for setb instruction

 arch/powerpc/include/asm/ppc-opcode.h |  1 +
 arch/powerpc/lib/sstep.c              | 22 ++++++++++++++++++++++
 arch/powerpc/lib/test_emulate_step.c  | 29 +++++++++++++++++++++++++++++
 3 files changed, 52 insertions(+)
Signature · 1 line
2.16.4