Re: [PATCH v2] powerpc test_emulate_step: fix DS operand in ld encoding to appropriate value

2020-03-26 Thread Michael Ellerman
On Wed, 2020-03-11 at 10:24:05 UTC, Balamuruhan S wrote: > 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

Re: [PATCH v2] powerpc test_emulate_step: fix DS operand in ld encoding to appropriate value

2020-03-16 Thread Naveen N. Rao
Balamuruhan S wrote: 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

[PATCH v2] powerpc test_emulate_step: fix DS operand in ld encoding to appropriate value

2020-03-11 Thread Balamuruhan S
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: