From patchwork Mon Jul 2 13:57:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stafford Horne X-Patchwork-Id: 10501479 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 1AF4C6028F for ; Mon, 2 Jul 2018 14:05:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 084DC2878F for ; Mon, 2 Jul 2018 14:05:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0E8728AB7; Mon, 2 Jul 2018 14:05:28 +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 86F432878F for ; Mon, 2 Jul 2018 14:05:28 +0000 (UTC) Received: from localhost ([::1]:32981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZzSJ-0007qA-Q5 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 02 Jul 2018 10:05:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZzLV-0002Cl-P1 for qemu-devel@nongnu.org; Mon, 02 Jul 2018 09:58:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZzLU-0007vg-5k for qemu-devel@nongnu.org; Mon, 02 Jul 2018 09:58:25 -0400 Received: from mail-pl0-x241.google.com ([2607:f8b0:400e:c01::241]:34774) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fZzLT-0007uj-W1 for qemu-devel@nongnu.org; Mon, 02 Jul 2018 09:58:24 -0400 Received: by mail-pl0-x241.google.com with SMTP id z9-v6so8007624plo.1 for ; Mon, 02 Jul 2018 06:58:23 -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=Jtyxf1zV25m9WTRooqiMA+Mwz0cnQVJJTO4LQuvDlCgoYYjMEH1PTSLK+MZ5UDSL3L HVk4COe4EzhX002JbsHEQQ0xlO3kH2MBRQiz2kxsIKhKyYu2VZHdYzWHEZE2F7y2lnLK 9lVF/UZ3jDbcnTqTCGIV0BgUSiv+bxB6kvyPG01sLl/iKY7h1VgnWmdKAbxgarNOb4gH D/HpP+zdPoaStK/WsitL7jB+NKBVSjpKzTx7sb/BMufjntWvUZjgGBdOGcQhg+vGQhDP 2jn9uzZK2bfhpdb5072/HkJlwls+ckw7AU/qcgPApT8bCnlCf1BwguFbi4enkkcSobSY AP5g== 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=DZhLnbDrgIfTnb5CDb70rIY8aj8CPKuwuDDlTFuK+Ou7QIOhmeABEYXwOkGjQ9ea6y pvppJXXYtnfpxqP0Q4vHXbByEIZ2jsHNLWBhEELcn5aMarAilCs+pjjgfdCfOqfC56c8 y3lZOPkl8diiCFBWBW7ZrRim0AGUdB5darwmnGrDtsKsGt+rHVGc0sU23iavKznlN03R Tghc78HGLdkxqggmx6ywUCUbvCcUizBfXzMzXn+4bxr+1vCJDmFeZUcYmJfwxMS/ig1R HV6Uj7uZ6YPBBHbPYXLM2byNK7JhjIN15fh/QO38qmECZrQkyTrIvk+L8oXhKhXOykO5 n+OA== X-Gm-Message-State: APt69E2lakuoDiSGEEC59cy/7lpGdiyTa8Rx6vYu276V17yE/cyhmB6k kTGkvtkZ3N/22w+qg+6iraw8Ge0k X-Google-Smtp-Source: ADUXVKIh1xfcZQkuIgp4L192Q0AOPFa55+7XdQLUeh87JoZMDdUfFt7b4ZCQMlsTbQGzwh/1arLWqg== X-Received: by 2002:a17:902:28a6:: with SMTP id f35-v6mr25917208plb.110.1530539903013; Mon, 02 Jul 2018 06:58:23 -0700 (PDT) Received: from localhost (g90.124-44-6.ppp.wakwak.ne.jp. [124.44.6.90]) by smtp.gmail.com with ESMTPSA id m6-v6sm9679223pfh.153.2018.07.02.06.58.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Jul 2018 06:58:22 -0700 (PDT) From: Stafford Horne To: Peter Maydell Date: Mon, 2 Jul 2018 22:57:45 +0900 Message-Id: <20180702135806.7087-5-shorne@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180702135806.7087-1-shorne@gmail.com> References: <20180702135806.7087-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:c01::241 Subject: [Qemu-devel] [PULL 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