From nobody Tue Nov 18 07:47:46 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.50 as permitted sender) client-ip=209.85.221.50; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f50.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.50 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1608136096; cv=none; d=zohomail.com; s=zohoarc; b=g1tgZ5nxnsBmYlueioOKPZNHIEjebl7JCmCDkXv4lKrRzLzDyc1cRy2/PFnbnyyZvnw9oTIqzE1hFc4D39cGsMEjRqlhZsxxdRPg7NkVBIKn/CuOq1aehZ76vBWBT/K5qXsdkDi/OQu1aTwTmZYStAJTIBlDAYReh9OJWs6DSYM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1608136096; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=rWhkzIf/6CTljorBq+mR8pkgCAWYYKs0Obfa0b4MU1w=; b=WI1t2tFzIYvGjjbu5cUQreTGBJKkcBDL7R+g7AKuBGMzCQhkcwl/kIigF0cYBf9VXuo6xBxUEi47HCJApA/2OjLAkuVXiOzN+qi5gUBHStmfnNjL2LOUlmSTS0shhnro/JDq+orEuJc79EI2I+rhyC5BqVu4COTlOt3CNp5eh40= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.50 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx.zohomail.com with SMTPS id 160813609665625.071349510235564; Wed, 16 Dec 2020 08:28:16 -0800 (PST) Received: by mail-wr1-f50.google.com with SMTP id d26so10550592wrb.12 for ; Wed, 16 Dec 2020 08:28:14 -0800 (PST) Return-Path: Return-Path: 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) 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=aQbYJtAogU0Is5D6hIAhT2CmH7ZPWJSiSSTYL2p5x37r/ZeqrpGvJuvh5d4p3KIE3R GGXtIkrK92SnRGD7znNXKBHQWI65h87498xCNdU39rFho5GVsQrNp/zI4KmD5t4dKUIg KmknYAw5BITTKfzy2kV0YEVRnVq9Lu0kp3DXoOjq5Wc745yDk4Ipx9zYQ5a3v0p3k/sV fRb4iaQiiD1sw0uJ6tVRYfga/lbU8s8Ak+6Agg9+ou7+gxJBVhyeeFixOC3qtoXOp6Uk rYcSaEat01IcmldG26O3ZJn9n92l7PVPpj0dShxcGXXK2b3jfwplBmkMX0lwlPWmfWkK mkwg== X-Gm-Message-State: AOAM531w4kuvGoQ0y+jyovC+P3ltiwqR4Ar1GWyMLhc+nCpo++tJzbP2 0388lNhI4yGq/Dixw0ndv6k= 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) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Aleksandar Rikalo , Laurent Vivier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Paul Burton , Jiaxun Yang , Aurelien Jarno 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: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) 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=C3=A9 Reviewed-by: Richard Henderson --- 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 @@ =20 /* 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) =20 /* MIPS Technologies "Release 5" */ #define CPU_MIPS32R5 (CPU_MIPS32R3 | ISA_MIPS32R5) --=20 2.26.2