Add modsw and moduw instruction emulation support to analyse_instr.
modsw is an x-form instruction that calculates signed modulo of values
stored in registers. moduw is similar to modsw but it works with
unsigned values.
Changes in v2:
Don't update CR register as the instruction does not touch that
Arrange extended opcode in numerical order
Signed-off-by: PrasannaKumar Muralidharan <redacted>
---
arch/powerpc/lib/sstep.c | 9 +++++++++
1 file changed, 9 insertions(+)
From: Naveen N. Rao <hidden> Date: 2016-12-13 06:03:24
On 2016/12/07 11:15PM, PrasannaKumar Muralidharan wrote:
Add modsw and moduw instruction emulation support to analyse_instr.
modsw is an x-form instruction that calculates signed modulo of values
stored in registers. moduw is similar to modsw but it works with
unsigned values.
Changes in v2:
Don't update CR register as the instruction does not touch that
Arrange extended opcode in numerical order
This changelog should come after '---' below so that it doesn't get
included in the commit message.
Apart from that, for this patch:
Reviewed-by: Naveen N. Rao <redacted>
Thanks!
Add modsw and moduw instruction emulation support to analyse_instr.
modsw is an x-form instruction that calculates signed modulo of values
stored in registers. moduw is similar to modsw but it works with
unsigned values.
Changes in v2:
Don't update CR register as the instruction does not touch that
Arrange extended opcode in numerical order
This changelog should come after '---' below so that it doesn't get
included in the commit message.
Oh, I see. Should I send the patch again with the above change? If so
should I mark it v3 or just v2?
Apart from that, for this patch:
Reviewed-by: Naveen N. Rao <redacted>
From: Naveen N. Rao <hidden> Date: 2016-12-13 07:49:34
On 2016/12/13 01:06PM, PrasannaKumar Muralidharan wrote:
Hi Naveen,
quoted
quoted
Add modsw and moduw instruction emulation support to analyse_instr.
modsw is an x-form instruction that calculates signed modulo of values
stored in registers. moduw is similar to modsw but it works with
unsigned values.
Changes in v2:
Don't update CR register as the instruction does not touch that
Arrange extended opcode in numerical order
This changelog should come after '---' below so that it doesn't get
included in the commit message.
Oh, I see. Should I send the patch again with the above change? If so
should I mark it v3 or just v2?
Easier for benh/mpe if you do ;)
Be sure to include my reviewed-by tag in your v3.
- Naveen
quoted
Apart from that, for this patch:
Reviewed-by: Naveen N. Rao <redacted>