On 07/23/2016 02:14 PM, Nikunj A Dadhania wrote:
From: Vivek Andrew Sha <vivekandrew...@gmail.com>

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 <vivekandrew...@gmail.com>
[ reworded commit, used 32bit ops as crf is 32bits ]
Signed-off-by: Nikunj A Dadhania <nik...@linux.vnet.ibm.com>
---
 target-ppc/translate.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Reviewed-by: Richard Henderson <r...@twiddle.net>


r~

Reply via email to