From patchwork Mon Mar 17 22:12:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 26417 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f200.google.com (mail-vc0-f200.google.com [209.85.220.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8BF67202FA for ; Mon, 17 Mar 2014 22:14:56 +0000 (UTC) Received: by mail-vc0-f200.google.com with SMTP id lg15sf14749347vcb.11 for ; Mon, 17 Mar 2014 15:14:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=nLrURKaDZa3cC3n1kXo/LTp2Fy1ip1jayPVWBh5KsYo=; b=eP02CAodOm6Ld8QcE53TYtIzmm9pAOwQdlqgTafhirO/BFZUBXfRFlhHK4GZ8Bd5Ja VzdBXv8uqpl3+k5vPURCQmTd8wCcyiQ7GquVGhZAJO456ST7utiuPDMv5XLLMjTpEuqd S6vpkMTTiSCQ2kG7Sa0++SrBxovC+JABH7S7TxUhtQIguWy3NpsuYNER/IbiQyXshNjL YDSFl6xLOJmgUCmWRebe4E49jALAur88ZuYQTDQ2gqMU+QB3eoGit8f5sGci9pY7YmRe yOFvNcrOQAkew02lND04gOnWS4IfuOPSmFu3PCfUicOBYSMtHrKYhq013wZzDpPFLXm8 ayWA== X-Gm-Message-State: ALoCoQm+sViJrYkw1ZowuJxamN559LfqtBfQ+yreiAMY/ZxyKklW+dy1cH1KIY08s0mZQ/seTicF X-Received: by 10.52.94.47 with SMTP id cz15mr8959645vdb.0.1395094496302; Mon, 17 Mar 2014 15:14:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.87.33 with SMTP id q30ls1773310qgd.99.gmail; Mon, 17 Mar 2014 15:14:56 -0700 (PDT) X-Received: by 10.220.104.210 with SMTP id q18mr12167577vco.9.1395094496197; Mon, 17 Mar 2014 15:14:56 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id u5si2144515vdo.58.2014.03.17.15.14.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Mar 2014 15:14:56 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id pa12so6248187veb.15 for ; Mon, 17 Mar 2014 15:14:56 -0700 (PDT) X-Received: by 10.58.170.69 with SMTP id ak5mr1105709vec.28.1395094496108; Mon, 17 Mar 2014 15:14:56 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp159358vck; Mon, 17 Mar 2014 15:14:55 -0700 (PDT) X-Received: by 10.140.38.51 with SMTP id s48mr12999905qgs.62.1395094494642; Mon, 17 Mar 2014 15:14:54 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [208.118.235.17]) by mx.google.com with ESMTPS id h5si9513768qas.4.2014.03.17.15.14.54 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 17 Mar 2014 15:14:54 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; Received: from localhost ([::1]:60568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPfo6-0006XK-66 for patch@linaro.org; Mon, 17 Mar 2014 18:14:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPfm5-0003zT-Ng for qemu-devel@nongnu.org; Mon, 17 Mar 2014 18:12:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPfm5-0007Oq-0l for qemu-devel@nongnu.org; Mon, 17 Mar 2014 18:12:49 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:46920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPfm4-0007Ok-PD for qemu-devel@nongnu.org; Mon, 17 Mar 2014 18:12:48 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1WPfld-00053U-T6; Mon, 17 Mar 2014 22:12:21 +0000 From: Peter Maydell To: Anthony Liguori Date: Mon, 17 Mar 2014 22:12:08 +0000 Message-Id: <1395094341-19339-18-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1395094341-19339-1-git-send-email-peter.maydell@linaro.org> References: <1395094341-19339-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Cc: Blue Swirl , =?UTF-8?q?Andreas=20F=C3=A4rber?= , qemu-devel@nongnu.org, Aurelien Jarno Subject: [Qemu-devel] [PULL 17/30] target-arm: A64: List unsupported shift-imm opcodes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Add the remaining unsupported opcodes to the decode switches for the shift-imm and scalar shift-imm categories so we can see what is still to be implemented. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Message-id: 1394822294-14837-13-git-send-email-peter.maydell@linaro.org --- target-arm/translate-a64.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/target-arm/translate-a64.c b/target-arm/translate-a64.c index e6addf4..2b1ca64 100644 --- a/target-arm/translate-a64.c +++ b/target-arm/translate-a64.c @@ -6135,9 +6135,15 @@ static void disas_simd_scalar_shift_imm(DisasContext *s, uint32_t insn) handle_vec_simd_sqshrn(s, true, false, is_u, is_u, immh, immb, opcode, rn, rd); break; - default: + case 0x8: /* SRI */ + case 0xc: /* SQSHLU */ + case 0xe: /* SQSHL, UQSHL */ + case 0x1f: /* FCVTZS, FCVTZU */ unsupported_encoding(s, insn); break; + default: + unallocated_encoding(s); + break; } } @@ -7281,11 +7287,14 @@ static void disas_simd_shift_imm(DisasContext *s, uint32_t insn) handle_simd_shift_intfp_conv(s, false, is_q, is_u, immh, immb, opcode, rn, rd); break; + case 0x8: /* SRI */ + case 0xc: /* SQSHLU */ + case 0xe: /* SQSHL, UQSHL */ case 0x1f: /* FCVTZS/ FCVTZU */ unsupported_encoding(s, insn); return; default: - unsupported_encoding(s, insn); + unallocated_encoding(s); return; } }