From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzWSL-0005Gn-3L for qemu-devel@nongnu.org; Fri, 12 Dec 2014 15:05:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzWSA-0004wH-OF for qemu-devel@nongnu.org; Fri, 12 Dec 2014 15:04:53 -0500 Received: from mail-qg0-x234.google.com ([2607:f8b0:400d:c04::234]:53937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzWSA-0004wD-Iz for qemu-devel@nongnu.org; Fri, 12 Dec 2014 15:04:42 -0500 Received: by mail-qg0-f52.google.com with SMTP id a108so6055808qge.11 for ; Fri, 12 Dec 2014 12:04:42 -0800 (PST) Sender: Richard Henderson Message-ID: <548B4A56.3050906@twiddle.net> Date: Fri, 12 Dec 2014 12:04:38 -0800 From: Richard Henderson MIME-Version: 1.0 References: <1418405504-11175-1-git-send-email-kbastian@mail.uni-paderborn.de> <1418405504-11175-4-git-send-email-kbastian@mail.uni-paderborn.de> In-Reply-To: <1418405504-11175-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 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/12/2014 09:31 AM, Bastian Koppelmann wrote: > +DEF_HELPER_1(clo, i32, i32) > +DEF_HELPER_1(clo_h, i32, i32) > +DEF_HELPER_1(clz, i32, i32) > +DEF_HELPER_1(clz_h, i32, i32) > +DEF_HELPER_1(cls, i32, i32) > +DEF_HELPER_1(cls_h, i32, i32) > +/* sh */ > +DEF_HELPER_2(sh, i32, i32, i32) > +DEF_HELPER_2(sh_h, i32, i32, i32) I don't think it's come up so far, since most of your helpers have been complex, and have been modifying PSW bits. But you should annotate these with DEF_HELPER_FLAGS so that TCG knows that there are no side effects. I do wonder about expanding helper_sh inline, but we can do that later. r~