Re: [Qemu-devel] [RFC v2 10/13] target-ppc: add setb instruction

2016-07-23 Thread Richard Henderson
On 07/23/2016 02:14 PM, Nikunj A Dadhania wrote: From: Vivek Andrew Sha The CR number is provided in the opcode as - BFA (11:13) Returns: -1 if bit 0 of CR field is set 1 if bit 1 of CR field is set 0 otherwise. Signed-off-by: Vivek Andrew Sha [ reworded commit, used 32bit ops as crf

[Qemu-devel] [RFC v2 10/13] target-ppc: add setb instruction

2016-07-23 Thread Nikunj A Dadhania
From: Vivek Andrew Sha The CR number is provided in the opcode as - BFA (11:13) Returns: -1 if bit 0 of CR field is set 1 if bit 1 of CR field is set 0 otherwise. Signed-off-by: Vivek Andrew Sha [ reworded commit, used 32bit ops as crf is 32bits ] Signed-off-by: Nikunj A Dadhania ---