On 07/23/2016 02:14 PM, Nikunj A Dadhania wrote:
From: Vivek Andrew Sha <[email protected]>

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

Reviewed-by: Richard Henderson <[email protected]>


r~

Reply via email to