From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1Gqz-0003lM-Cg for qemu-devel@nongnu.org; Wed, 17 Dec 2014 10:50:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1GqL-0001Pi-DE for qemu-devel@nongnu.org; Wed, 17 Dec 2014 10:49:33 -0500 Received: from mail-qc0-x235.google.com ([2607:f8b0:400d:c01::235]:51333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1GqL-0001O4-2p for qemu-devel@nongnu.org; Wed, 17 Dec 2014 10:48:53 -0500 Received: by mail-qc0-f181.google.com with SMTP id m20so12060898qcx.40 for ; Wed, 17 Dec 2014 07:48:52 -0800 (PST) Sender: Richard Henderson Message-ID: <5491A5E1.5070504@twiddle.net> Date: Wed, 17 Dec 2014 09:48:49 -0600 From: Richard Henderson MIME-Version: 1.0 References: <1418831961-27658-1-git-send-email-kbastian@mail.uni-paderborn.de> <1418831961-27658-4-git-send-email-kbastian@mail.uni-paderborn.de> In-Reply-To: <1418831961-27658-4-git-send-email-kbastian@mail.uni-paderborn.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 3/8] target-tricore: Add instructions of RR opcode format, that have 0xf as the first opcode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bastian Koppelmann , qemu-devel@nongnu.org On 12/17/2014 09:59 AM, Bastian Koppelmann wrote: > Add instructions of RR opcode format, that have 0xf as the first opcode. > Add helper functions: > * clo/z/s: Counts leading ones/zeros/signs. > * clo/z/s_h: Count leading ones/zeros/signs in two haflwords. > * sh/_h: Shifts one/two word/hwords. > * sha/_h: Shifts one/two word/hwords arithmeticly. > > Signed-off-by: Bastian Koppelmann > --- > v1 -> v2: > - Use TCG_CALL_NO_RWG_SE for all helpers not using globals. Reviewed-by: Richard Henderson r~