Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35401C4361B for ; Wed, 16 Dec 2020 16:39:59 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AA236233E2 for ; Wed, 16 Dec 2020 16:39:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AA236233E2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:37596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpZqH-00088o-Bz for qemu-devel@archiver.kernel.org; Wed, 16 Dec 2020 11:39:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpZex-0004mc-DH for qemu-devel@nongnu.org; Wed, 16 Dec 2020 11:28:15 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:37451) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpZev-0007k8-Ol for qemu-devel@nongnu.org; Wed, 16 Dec 2020 11:28:15 -0500 Received: by mail-wr1-x434.google.com with SMTP id i9so23798438wrc.4 for ; Wed, 16 Dec 2020 08:28:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rWhkzIf/6CTljorBq+mR8pkgCAWYYKs0Obfa0b4MU1w=; b=rdHpUab6qapBrv4wfDwlNW0lMxaNrWKX6o01jjeiJFiD79qeN+tmsI9dTVIu5YI9YF p+/Od4AS0r6scots8dpxkvABSvpIEmn5ERKB2EP1lmmPlSpFjNI7/D92EHpy6TQcqeuT GsjycqpDtKfuy+HmC0owQM3yrOT3yoEz2Xj2o7/2L2y47BmpvfX+k6/9czqWn0P88qWP +jtEFBUakdnGC3trL566sotUy9bH6XGFHIP+pn2ynh0QSo0eikQFJatocDYdhK6f6qpX yPSoy1ovZKF6SoBivyVBweUQYvf3Oxgi7zvFMN3cml4do1Cv+sYjPBx6btLWZQYwL5VH eLSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=rWhkzIf/6CTljorBq+mR8pkgCAWYYKs0Obfa0b4MU1w=; b=ldAwd0PdEwtJp0YayGLU+yEIlFxbn5EDxYJbEi4mUBbNYaStcl3qq3WBtHvwJwmCmE jMzLadDArfaZclOiwZSWhOcX6u7m4NUuTryni5NtOJUQrMkhFvLDyRG40CdMs7GM/Yek XKJsC1RuC/j7Hh9WuChDNIf+CwjjCbFkniApPt2xEVZRegy5YZQvK72I+1IyvvQGy0cV FObYocZWQk3KisMyW2Hv4PcRFD3+iI2h7zNV+VBazmkO3MP3GDvvpICOMiNK8lWFg3Bl FxCxYo7kkXLqPxlMP7KqEWr30G52hc+B023TJVu/0SvcTasGVEYsIi1q6V12Hrx0i0zt DHgg== X-Gm-Message-State: AOAM533Wqifmi8aPml7jMFBoPmX5CAx7k0kn1s+4SjL/8QfX5P9XTeS7 /LAlobiJlLkmmOCV000RSRr16PwvfOI= X-Google-Smtp-Source: ABdhPJyFtLKC++p9W9uAFDevtLeiz0Dpdg5OwUulr9cZoLP+DN1QNwx5AeUibWwWsO1oYjwHQwVvKQ== X-Received: by 2002:a5d:4d8d:: with SMTP id b13mr7847105wru.415.1608136092197; Wed, 16 Dec 2020 08:28:12 -0800 (PST) Received: from localhost.localdomain (101.red-88-21-206.staticip.rima-tde.net. [88.21.206.101]) by smtp.gmail.com with ESMTPSA id b12sm6845045wmj.2.2020.12.16.08.28.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Dec 2020 08:28:11 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 05/12] target/mips/mips-defs: Use ISA_MIPS32R3 definition to check Release 3 Date: Wed, 16 Dec 2020 17:27:37 +0100 Message-Id: <20201216162744.895920-6-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201216162744.895920-1-f4bug@amsat.org> References: <20201216162744.895920-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Aleksandar Rikalo , Paul Burton , Richard Henderson , Laurent Vivier , Jiaxun Yang , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aurelien Jarno Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Use the single ISA_MIPS32R3 definition to check if the Release 3 ISA is supported, whether the CPU support 32/64-bit. For now we keep '32' in the definition name, we will rename it as ISA_MIPS_R3 in few commits. Signed-off-by: Philippe Mathieu-Daudé --- target/mips/mips-defs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/mips/mips-defs.h b/target/mips/mips-defs.h index 9cfa4c346bf..0d906ca64b3 100644 --- a/target/mips/mips-defs.h +++ b/target/mips/mips-defs.h @@ -25,7 +25,6 @@ #define ISA_MIPS32 0x0000000000000020ULL #define ISA_MIPS32R2 0x0000000000000040ULL #define ISA_MIPS32R3 0x0000000000000200ULL -#define ISA_MIPS64R3 0x0000000000000400ULL #define ISA_MIPS32R5 0x0000000000000800ULL #define ISA_MIPS64R5 0x0000000000001000ULL #define ISA_MIPS32R6 0x0000000000002000ULL @@ -84,7 +83,7 @@ /* MIPS Technologies "Release 3" */ #define CPU_MIPS32R3 (CPU_MIPS32R2 | ISA_MIPS32R3) -#define CPU_MIPS64R3 (CPU_MIPS64R2 | CPU_MIPS32R3 | ISA_MIPS64R3) +#define CPU_MIPS64R3 (CPU_MIPS64R2 | CPU_MIPS32R3) /* MIPS Technologies "Release 5" */ #define CPU_MIPS32R5 (CPU_MIPS32R3 | ISA_MIPS32R5) -- 2.26.2