From patchwork Mon Jul 2 15:10:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stafford Horne X-Patchwork-Id: 10501829 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0679F6028F for ; Mon, 2 Jul 2018 15:20:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EADD7286F2 for ; Mon, 2 Jul 2018 15:20:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DDFC328BDC; Mon, 2 Jul 2018 15:20:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 82573286F2 for ; Mon, 2 Jul 2018 15:20:01 +0000 (UTC) Received: from localhost ([::1]:33490 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fa0cS-0002se-K3 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 02 Jul 2018 11:20:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fa0Tb-0003uS-Bl for qemu-devel@nongnu.org; Mon, 02 Jul 2018 11:10:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fa0Ta-0007mq-JD for qemu-devel@nongnu.org; Mon, 02 Jul 2018 11:10:51 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:33624) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fa0Ta-0007mD-Dm for qemu-devel@nongnu.org; Mon, 02 Jul 2018 11:10:50 -0400 Received: by mail-pf0-x243.google.com with SMTP id b17-v6so7660480pfi.0 for ; Mon, 02 Jul 2018 08:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=g6Mduc7hQU9gsvBLzpISCXQ7Roi6dd1EE1YPoIP0Pc4=; b=sKv13lv5Nb8KaJoevHQfF6HAuQ5PFBFTkympYDC+VXcmWlrkUoE4BThYKc4t5NItE6 z/eLp9ixwP3yQCz9FkQ+oeT8klj4EBI0XALShnPQiITyipZ6L9zJyRWoo2uQnxIo1+AX a8nsZ64WZK6lY+6TG5ifC+LUZlgSnOywPwAf0k/NlTJkd2yS1OV2q+AJzXHgF+mVM9z3 gF8eGsZx5ToNQSqhTTLO97N2WTgKlI8SVvynSzSy6/RxNNk1zCYTkIKjWNOcfbkAF7Rc Hfs523EbIYYsHBVa+40dblxl3fOQrsxSO2+iNL7TJ16HBatgUWLNwcz8E0uo080PwUCe LnQw== 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:mime-version:content-transfer-encoding; bh=g6Mduc7hQU9gsvBLzpISCXQ7Roi6dd1EE1YPoIP0Pc4=; b=P1SzFKAEXezVaxCU8CAIfWcHZtCcoCUv1D1oO0psv583B74b6keRLziuLKthSdcSi+ TQmSS4rEy4/SdraFEPPrBNz9L6Kz7dSp54cZXBkyJ4SL+1zBpvEfcd5nATdYsd2z23vl XPhAlmEO1gnPTQCd33kIjgmptYHyRR+yIdad3oSlYcNeKam2YAYGO5Fo94cWCd9v2RXY jJO52nLC8+3YN+RdceOR02HHUy3OR+ravAs7PrRh6kOuai3gcG7rSNhH0x5DDQOcRp75 WLn8sNeTd84028+Q9gdc4+hFY1NVt2NcOrYUGaQadFk7spGTwQa3dl791zifzUEQippY eaig== X-Gm-Message-State: APt69E3uGBcFEueBexSzn49sR18C7AYVC+T68VQVnIxKNlAPmjGrlZtz qlnUeBSAU0sJjytdyjlRck/lInTD X-Google-Smtp-Source: ADUXVKLJ318KrA/dy2yAGcKIXrw9uZYgCZ96AZQbXtQPIRfxxHbYw4mcdaptWmJLMpUAG93NLo/MKQ== X-Received: by 2002:a65:6210:: with SMTP id d16-v6mr21727888pgv.272.1530544249612; Mon, 02 Jul 2018 08:10:49 -0700 (PDT) Received: from localhost (g90.124-44-6.ppp.wakwak.ne.jp. [124.44.6.90]) by smtp.gmail.com with ESMTPSA id l85-v6sm31641136pfk.79.2018.07.02.08.10.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Jul 2018 08:10:49 -0700 (PDT) From: Stafford Horne To: Peter Maydell Date: Tue, 3 Jul 2018 00:10:02 +0900 Message-Id: <20180702151023.24532-5-shorne@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180702151023.24532-1-shorne@gmail.com> References: <20180702151023.24532-1-shorne@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::243 Subject: [Qemu-devel] [PULL v2 04/25] target/openrisc: Remove DISAS_JUMP & DISAS_TB_JUMP 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: Stafford Horne , Richard Henderson , QEMU Development Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Richard Henderson These values are unused. Reviewed-by: Stafford Horne Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Signed-off-by: Stafford Horne --- target/openrisc/translate.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/target/openrisc/translate.c b/target/openrisc/translate.c index fbdc2058dc..f5af515979 100644 --- a/target/openrisc/translate.c +++ b/target/openrisc/translate.c @@ -37,9 +37,7 @@ #include "exec/log.h" /* is_jmp field values */ -#define DISAS_JUMP DISAS_TARGET_0 /* only pc was modified dynamically */ #define DISAS_UPDATE DISAS_TARGET_1 /* cpu state was modified dynamically */ -#define DISAS_TB_JUMP DISAS_TARGET_2 /* only pc was modified statically */ typedef struct DisasContext { DisasContextBase base; @@ -1353,8 +1351,6 @@ static void openrisc_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs) gen_goto_tb(dc, 0, dc->base.pc_next); break; case DISAS_NORETURN: - case DISAS_JUMP: - case DISAS_TB_JUMP: break; case DISAS_UPDATE: /* indicate that the hash table must be used