From patchwork Sat May 12 00:32:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 135576 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1556280lji; Fri, 11 May 2018 17:35:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZocN9muS7BYlbEtrcezoekvwFriWTuwRnYL4J7GIkPrFyaXZ6GpEW59QNZsNU//7hbOKqB4 X-Received: by 2002:ac8:2614:: with SMTP id u20-v6mr249033qtu.192.1526085317369; Fri, 11 May 2018 17:35:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526085317; cv=none; d=google.com; s=arc-20160816; b=PCVdmv51qofbipU1J7pcvAECemZgre8SYcOxyueUGGrFLtBzhoGftXkP8a0e0i4LtI eUXy9N5dD87t+rOqC6RAcBYFSgbDVOC36FIzfszwLlk2iZ/9WAwYg0kov2gSadm46oNH DPSHS6ltNa1mY6p4/QJhWB+FNOC4UPHEulT491NR/PkkHt3howJAbk8XpDrC85PBSDg6 ZlcPlUqoUzI60ojg3ch9vlc0vCA0tk+OweCInIlCob3jCrHsuKoilEg9TqeSp3m2N5PH aVIK67ttRiAJwph8cPzAeBBvjYYgqeptg3UYJ7Y2QE1RZVLmse8U8HnScUBxBAQ5XL9I 5F6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=8nt3h1IH0+UiszYDj+ThjvjYSVQ8B4VP+KF2V1KxY9M=; b=fpZ95RssxXJl0BuMGiuktxbpl04Er1PK4fU8cX8mPwFWTYZssdt13b95NDkEMs7LPN 7VJ1CQrx3qpBsoVhllI4OL6dZQWn1qeXrGhf5U0+z/pAa/bivD+Ggyuds/2Wy2nQy4E6 OHV+tH2DsbNbju5JxDoZJPmDBOoHM7OMPMKfnR6gOo8n7zPNvumlYFDvTWQOBVSNQCMi WaUjeWOHyjT53L7FK7rLRLaBou1w7/CDLZy/HediPJJlsY7FD4QLmFE54nawN5FNYQPH 2H9NKO4WioQIIdb6/feglwJVZViRBqQEYJO2+4L+AII1jJ8Fg7WQfTX2O6QvcaVTxp00 7ObQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CImqcuro; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id w46-v6si4379768qta.376.2018.05.11.17.35.17 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 11 May 2018 17:35:17 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CImqcuro; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:58515 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHIVI-00022l-PA for patch@linaro.org; Fri, 11 May 2018 20:35:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHISX-0005xg-LX for qemu-devel@nongnu.org; Fri, 11 May 2018 20:32:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHISW-00087K-Sz for qemu-devel@nongnu.org; Fri, 11 May 2018 20:32:25 -0400 Received: from mail-pl0-x244.google.com ([2607:f8b0:400e:c01::244]:39220) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fHISW-000879-MU for qemu-devel@nongnu.org; Fri, 11 May 2018 20:32:24 -0400 Received: by mail-pl0-x244.google.com with SMTP id c19-v6so4135366pls.6 for ; Fri, 11 May 2018 17:32:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8nt3h1IH0+UiszYDj+ThjvjYSVQ8B4VP+KF2V1KxY9M=; b=CImqcuro7q73DoAsO7REdej6wdvQQkyMNR/EDm4YuEuMJszBSGqseyo75poct4jc/x ZGcE3KFtp6kvP7UB4e6aWkkOUNlV0g82igtvtOSEgKqHlG+z/Bppo1diT/BPWhH0BEbF atAhG2v5qe5ePREUCv5DUpmAwIq97BLKpAWHo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8nt3h1IH0+UiszYDj+ThjvjYSVQ8B4VP+KF2V1KxY9M=; b=NW1tAjUktm262QrQ8FULEVRf0blO1wUK1WExJfK8NjvZ33JwElp8ZtW8Ycl/qr26Hg 1I4UvL0Fa4TgxNoJJOzFPvgxs0ZdZMONJ8bgdXBeHD0WnKIUggNPADPNZ41GV6r2NyoX 8l0hZgObRK/DhrdYpjqNxv6aqVOMmT+RnnFU5ttFNUOBNKxIVoZNasT7RbQVGE70jOSY B2LpcB9cAg+sR3I4eehOw4v8A+xWQW5T4WY/hkaR2OCKzJvQUdPWYepF+1+o1s5ErxMO D0Av8aWwKTCz8fl8Q6yt1tezwYuhV7WXCYFRRvrCgCKyIaTX6xnLtPD9/BD7cRgNxJzR wrPQ== X-Gm-Message-State: ALKqPweFoKC5oDP8IlN4km0FVKQZM2u0ss0DJRlLY1Utq10LyAtYDSve TUMy2ZdpV+wGenoKLHXMcgKuEcWgQGQ= X-Received: by 2002:a17:902:704c:: with SMTP id h12-v6mr237092plt.269.1526085143451; Fri, 11 May 2018 17:32:23 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-2-170.tukw.qwest.net. [97.113.2.170]) by smtp.gmail.com with ESMTPSA id v186-v6sm7599735pfb.45.2018.05.11.17.32.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 May 2018 17:32:22 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 11 May 2018 17:32:08 -0700 Message-Id: <20180512003217.9105-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180512003217.9105-1-richard.henderson@linaro.org> References: <20180512003217.9105-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::244 Subject: [Qemu-devel] [PATCH v4 02/11] target/arm: Early exit after unallocated_encoding in disas_fp_int_conv X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" No sense in emitting code after the exception. Signed-off-by: Richard Henderson --- target/arm/translate-a64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.0 Reviewed-by: Alex Bennée diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index 5b8cf75e9f..11d8c07943 100644 --- a/target/arm/translate-a64.c +++ b/target/arm/translate-a64.c @@ -5780,7 +5780,7 @@ static void disas_fp_int_conv(DisasContext *s, uint32_t insn) default: /* all other sf/type/rmode combinations are invalid */ unallocated_encoding(s); - break; + return; } if (!fp_access_check(s)) {