Received: from eggs.gnu.org ([2001:4830:134:3::10]:47733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgDl8-0005an-Rq for qemu-devel@nongnu.org; Thu, 19 Jul 2018 14:34:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgDl5-0004UL-JS for qemu-devel@nongnu.org; Thu, 19 Jul 2018 14:34:38 -0400 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:37723) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgDl5-0004TX-Bo for qemu-devel@nongnu.org; Thu, 19 Jul 2018 14:34:35 -0400 Received: by mail-pg1-x543.google.com with SMTP id n7-v6so4521132pgq.4 for ; Thu, 19 Jul 2018 11:34:35 -0700 (PDT) References: <1532004912-13899-1-git-send-email-stefan.markovic@rt-rk.com> <1532004912-13899-10-git-send-email-stefan.markovic@rt-rk.com> From: Richard Henderson Message-ID: <9eebcb77-233d-89e4-3ad4-e31bd054e323@linaro.org> Date: Thu, 19 Jul 2018 11:34:31 -0700 MIME-Version: 1.0 In-Reply-To: <1532004912-13899-10-git-send-email-stefan.markovic@rt-rk.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 09/40] target/mips: Add emulation of nanoMIPS 16-bit save and restore instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Markovic , qemu-devel@nongnu.org Cc: laurent@vivier.eu, riku.voipio@iki.fi, philippe.mathieu.daude@gmail.com, aurelien@aurel32.net, amarkovic@wavecomp.com, smarkovic@wavecomp.com, pjovanovic@wavecomp.com, pburton@wavecomp.com On 07/19/2018 05:54 AM, Stefan Markovic wrote: > + int rt = 30 + ((ctx->opcode >> 9) & 1); > + switch ((ctx->opcode >> 8) & 1) { extract32. Otherwise, Reviewed-by: Richard Henderson r~