# Re: \[PATCH v2 0/2\] powerpc/sstep: Add emulation support and tests for 'setb' instruction

- From: Michael Ellerman \<hidden\>
- Date: 2021-06-06 12:18:33 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/06/9522989
- Thread: https://ratatoskr.run/linuxppc-dev/2021/05/9522632/t.md

```text
On Tue, 11 May 2021 07:18:31 -0500, Sathvika Vasireddy wrote:
> 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
> 
> [...]

Applied to powerpc/next.

[1/2] powerpc/sstep: Add emulation support for ‘setb’ instruction
      https://git.kernel.org/powerpc/c/5b75bd763d369e43e6d09e85eaea22fde37c0e89
[2/2] powerpc/sstep: Add tests for setb instruction
      https://git.kernel.org/powerpc/c/60060d704c55a9450208b8f0bc5026df9d4ab1d6

cheers
```
