From patchwork Thu Jun 28 03:03:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 140387 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1645370ljj; Wed, 27 Jun 2018 20:07:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe2QhA6JEacoX/ZKIjAzbd86essjOgoFdw4A7YX/dsarwjeHBu3ioIUV44U2CDFcyij5OhC X-Received: by 2002:a37:4cd5:: with SMTP id z204-v6mr7684891qka.302.1530155231750; Wed, 27 Jun 2018 20:07:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530155231; cv=none; d=google.com; s=arc-20160816; b=pI3iu8b3sFJcNERJ3jrcN5S2M143J199NcD/V3pnDKRdmaiM/tBeV7yZN2VhWWOXkz fw6yfB3lkR6Ro44MZW23z1wgYf0xufxGBqK3QF6WLYJ+RPsTP4AQInVeosWKKHxy5gmo JalIWhuS1tCR74LtW2BMPbqxB3jinjwqsOGtraDwDcWcS6aIzWotPIrQ/pAuHEpbeXc3 yB67ArFeOJFYYgS9avN3neSHMLVT0A5nmpg4jQcBJb9BqfkeD3SaBeKU1EvqneBVWZlo 6UqutVNsjjXtnqjsRAgnJ4Msg319r43oKEmWd0+j4+4OMDU9fCG/47eySfcPNzQ4RYbO QZvg== 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 :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=RMq3UagQQRq1eCWiLtYcyhJ383CIfBeY/Y6nCwoDUMU=; b=xMti88SFBI3VIJvXOMzaS0BVhl8ePU3IQWILo0PP/hDSXPuiEfcdbfHhgdqYQJmtMw cruBf5yuxJEBU/YY7GXUHRjyLvUxkNCyNQzOgoXx84ugRfOWYZf2d/gNVqPRu/0+r1sb n8huvKqAsGkIuimknfIjFaqr32T34LpPzXYlRDUg7Tfqs5qLS33WG/hOQZRC6O0L8rxS zKW+MPUg/oLikc69vc82Dz16wtJms1jd71BZWfwTkhsLgUYBKrGf3M4vIYQpFpP57HCT xV1Lna8Hqaj/s4drq16G3OBI2WWrfgzQ8kq744pOyvdWtIgGDYd6kIR9B32hsDVZk9Ee qZbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=TMkSBt5X; 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 d138-v6si46119qka.255.2018.06.27.20.07.11 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 27 Jun 2018 20:07:11 -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=TMkSBt5X; 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]:34252 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYNH5-0007Q4-2C for patch@linaro.org; Wed, 27 Jun 2018 23:07:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYNDg-0004tp-GB for qemu-devel@nongnu.org; Wed, 27 Jun 2018 23:03:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYNDf-0007e1-KO for qemu-devel@nongnu.org; Wed, 27 Jun 2018 23:03:40 -0400 Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]:40667) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fYNDf-0007dp-E6 for qemu-devel@nongnu.org; Wed, 27 Jun 2018 23:03:39 -0400 Received: by mail-pf0-x230.google.com with SMTP id z24-v6so1887375pfe.7 for ; Wed, 27 Jun 2018 20:03:39 -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 :mime-version:content-transfer-encoding; bh=RMq3UagQQRq1eCWiLtYcyhJ383CIfBeY/Y6nCwoDUMU=; b=TMkSBt5Xmqn6EAbJ9CRWOgPFjImVOfGS/OGqz3z0u6Xc7FA4olgQ9uNjEjWHV4B66H lcY//uT1ZjHDWl8x9eS2L6qJrUHy6vZCQu6ZPmYawAOe6vYr1sRLrvqRKu9lt3WG1Xm9 w/n2Xg1a54Bbzay6kbrWv5f8ylnquNJCF1d4w= 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=RMq3UagQQRq1eCWiLtYcyhJ383CIfBeY/Y6nCwoDUMU=; b=FWJvpfFBTDeHDUIHc9oMOXAqjgGfblGPSDu/QgIAOz9aHj72rY3LaPBHigz88gpE8Y ahThzJRfYxBeaENNiC4ZLuwfNz3jhFcZ2RY7X59zC6y1s1rMevgV9EZDVciYy6OnA7Rz xosd0nI/ItlP9tw4r5r4/HuWmhBJ3Co2ZvE5QK8xQKNyf1qW30BORsIkmbh1vG9AO3DG oQatT+jAFHsNIVPPe5yfVIv/NaU7kLCkWYUQVnAGz/OMr/8cy8VcJNx6+5QrVHWT2JSV c7a3pOgEeSbsrL/I1Jrtpv+tMomQEonZjLjoUWmOgpgRWTjyfL0HkkDSrvq3ykwl3sXQ tVRA== X-Gm-Message-State: APt69E3zT3AI7AIX51vY0w5AdToWCd8y7Rbxnm6zvT6LsiUKgxuGqbuT ngconou8r+KYLUV3FV0sgn9lDSue260= X-Received: by 2002:a62:e310:: with SMTP id g16-v6mr8360528pfh.25.1530155018065; Wed, 27 Jun 2018 20:03:38 -0700 (PDT) Received: from cloudburst.twiddle.net (97-126-112-211.tukw.qwest.net. [97.126.112.211]) by smtp.gmail.com with ESMTPSA id y15-v6sm8030489pfm.136.2018.06.27.20.03.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Jun 2018 20:03:37 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 27 Jun 2018 20:03:11 -0700 Message-Id: <20180628030330.15615-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180628030330.15615-1-richard.henderson@linaro.org> References: <20180628030330.15615-1-richard.henderson@linaro.org> 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::230 Subject: [Qemu-devel] [PATCH v3 04/23] 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: shorne@gmail.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" These values are unused. Reviewed-by: Stafford Horne Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- target/openrisc/translate.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.17.1 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