From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bR8Kv-0007ca-Si for qemu-devel@nongnu.org; Sat, 23 Jul 2016 21:36:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bR8Kp-00006Y-Uq for qemu-devel@nongnu.org; Sat, 23 Jul 2016 21:36:08 -0400 Sender: Richard Henderson References: <1469263490-19130-1-git-send-email-nikunj@linux.vnet.ibm.com> <1469263490-19130-11-git-send-email-nikunj@linux.vnet.ibm.com> From: Richard Henderson Message-ID: Date: Sun, 24 Jul 2016 07:05:52 +0530 MIME-Version: 1.0 In-Reply-To: <1469263490-19130-11-git-send-email-nikunj@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v2 10/13] target-ppc: add setb instruction List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikunj A Dadhania , qemu-ppc@nongnu.org, david@gibson.dropbear.id.au Cc: qemu-devel@nongnu.org, bharata@linux.vnet.ibm.com, aneesh.kumar@linux.vnet.ibm.com, Vivek Andrew Sha 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 is 32bits ] > Signed-off-by: Nikunj A Dadhania > --- > target-ppc/translate.c | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) Reviewed-by: Richard Henderson r~