Message ID | AM9PR09MB4851C847B4402BD6C923407184402@AM9PR09MB4851.eurprd09.prod.outlook.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=htecgroup.com header.i=@htecgroup.com header.a=rsa-sha256 header.s=selector1 header.b=hFueDQmW; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XVQLV1Pntz1xw2 for <incoming@patchwork.ozlabs.org>; Sat, 19 Oct 2024 00:20:34 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1t1mta-0000K7-Jo; Fri, 18 Oct 2024 09:19:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <aleksandar.rakic@htecgroup.com>) id 1t1mtY-0000Ch-Id for qemu-devel@nongnu.org; Fri, 18 Oct 2024 09:19:56 -0400 Received: from mail-am0eur02on20724.outbound.protection.outlook.com ([2a01:111:f403:2606::724] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <aleksandar.rakic@htecgroup.com>) id 1t1mtW-0005gW-UI for qemu-devel@nongnu.org; Fri, 18 Oct 2024 09:19:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KMCfofQU90xu7WbAtXPv2e50FFuq5cHIt7JhET372lRnc/e49vlodOCAjLLN9Na4FqyAP1JLOW3K8fPa0EJ9mfsLId4ax9YKHapOxnzYkMzb6HAB+cJoUKvD+EJMzqkD+LwsqF9XgXVFNm2g5WxZjE5kT/Zcad1wVkR3MJbv0z6udwPgh5xs9Nx2OIAW1XsVNvwW2LD4f3sVJdwHmQLfuPCyuoJtlthp8udaXTDehB4Fjg4f6mzPiGsFE91DQmzxX5ynY3U6SwQyTEDcNRicSzlpCZoIQi2gdaWy5W9E0cqFD3m5Uri25HPa/0dlpM+ksEn3PH2R1/3PzG3RwQiVHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZG8DwdtWCuBlvLd3g4B+ZH8HYmTKV2iNHqD+y3XPEcg=; b=Svc64ZkdKgjhlACmPThfEZMG3KdZbqBpFaVkEMXFmSx+7A9CdQtvgGQ+LBzbGh8pvUbrNosuyPlV9MiXe/Geeq4dRQpW6eVF/sankrvZp9jwm858y8KrIapO6GczVfXMFz/peXIVMXFnv6yWo00JL4b/Obx4bCnV5nz3u70A9cQcoEvTrA7doyj7EDZqcorFIGxlfgO/G21x0wzrSz5yJ3WxgpOIAmxbki1nn/XLXDEeilUQrfbemeGN+LgUqv4hDwzR0vQ10q+rZU7v2/yyPlTQua7iputXiuMwOe/v92H52DoecdqXSkLZGRL5BiS85/BmeSS09veKmwdmQ0IUOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=htecgroup.com; dmarc=pass action=none header.from=htecgroup.com; dkim=pass header.d=htecgroup.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=htecgroup.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZG8DwdtWCuBlvLd3g4B+ZH8HYmTKV2iNHqD+y3XPEcg=; b=hFueDQmWD9eMR1+Z8kkyJl7RBKXUnf9zVpChSIpMtBc5QQphnHY9DM2aW7RbxyQ5GfYwpDH8h5yDUZo2XJtR0XFRg2NaTkqhmwHVL++6Yy6suXQ1tHyQSLjgGNDF/RCory5MHRJZByORiMdend6xktabXNH1Tkv4qrl25DO+deePYj6IBJ1FvIgFBxaE19xKyWN5gZj6G3OqZZCfnDO3phqxB6Z5HfoBhtztk9XK7XxNqTbt6Do/9qFiy7+cqciF96UAAias95ND6J+U4bB7wZwMB/mb74l31DlSGmMvJ0cNbldb1yPgyXdaYk2ghUSC7ZzuZjNS0eGo1ck93BnGpw== Received: from AM9PR09MB4851.eurprd09.prod.outlook.com (2603:10a6:20b:2d4::13) by DU0PR09MB6635.eurprd09.prod.outlook.com (2603:10a6:10:418::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Fri, 18 Oct 2024 13:19:50 +0000 Received: from AM9PR09MB4851.eurprd09.prod.outlook.com ([fe80::2fed:370:dd45:13a2]) by AM9PR09MB4851.eurprd09.prod.outlook.com ([fe80::2fed:370:dd45:13a2%6]) with mapi id 15.20.8069.020; Fri, 18 Oct 2024 13:19:50 +0000 From: Aleksandar Rakic <aleksandar.rakic@htecgroup.com> To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org> CC: Djordje Todorovic <Djordje.Todorovic@htecgroup.com>, "cfu@mips.com" <cfu@mips.com>, "arikalo@gmail.com" <arikalo@gmail.com>, "peter.maydell@linaro.org" <peter.maydell@linaro.org> Subject: [PATCH v2 4/8] Skip NaN mode check for soft-float Thread-Topic: [PATCH v2 4/8] Skip NaN mode check for soft-float Thread-Index: AQHbIV0ja7PIGqNK+UKcpB1JtQwmEg== Date: Fri, 18 Oct 2024 13:19:50 +0000 Message-ID: <AM9PR09MB4851C847B4402BD6C923407184402@AM9PR09MB4851.eurprd09.prod.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=htecgroup.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AM9PR09MB4851:EE_|DU0PR09MB6635:EE_ x-ms-office365-filtering-correlation-id: 6658285b-331b-4df0-cbd7-08dcef778bf5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?q?ch97+Lf2pC9vobOXk5i5BbAIi3?= =?iso-8859-1?q?jbKQXx13KkcA58YU8M68rl5bECLpFdTXHM2/dl+0KmZOGlgCqnskG8UzYWuI?= =?iso-8859-1?q?0CkGi+8RMU8FAwDQWEXIH7p8LFhktMbCxHQtX0Eq2ZmLTVllxooQiNSmG2nC?= =?iso-8859-1?q?voyEnr4nDKzxnAgfl+GmkPAIE6S3O3AoNK/KD1vuzWAvWoAv/y3OQ65k14YS?= =?iso-8859-1?q?PAaE6T2rXg4ILj98GKDmSxMu3+Iyh5eCq/89KcJvvJUt9ZJKLhJZPCmTiiOt?= =?iso-8859-1?q?ux4/YEuy1lzja7h5kRzJLgknL/j5CcOJaYl6uBFIaRYFRsCfpMZ+5kP4Kc9K?= =?iso-8859-1?q?/Ft5ckygpDGTRio58L8FWvQEyI+lo/tl4oHcRkpdSkR/XdoiGW3OmZ2wUJUO?= =?iso-8859-1?q?t5IoRHpKbWst6E5cEHd5zR1SjIO9EDlVMc7eYTeXO9ws46E7VV0ljls0Yscr?= =?iso-8859-1?q?qzqwlHfzH1QGAbVqGPunMpvKaKYfFtQmwhuILgWbeLC80GIDLAdJ3DmqCIcY?= =?iso-8859-1?q?y7Q4TvL9mNSc5ontYbmPb6TxR7FrazMjHCdZKVzRR43sNxhnJrRxqWrCsLpt?= =?iso-8859-1?q?uScCAsHTifbGmYHGopkyAi4fazrS36ZG99kNrZ5gEheg2hUxZ7lMpZiDla8W?= =?iso-8859-1?q?eQ/BC0UZaH7rZ41G5GoNq59UUqx8JxhVcE0OtoEd5SLGEaWAZ3VHURZqrLum?= =?iso-8859-1?q?M1tHi905QVa+95fBVRfDx3leybqr9aLPh3PopVaKsqhOgPrkYXe05fd8GMa4?= =?iso-8859-1?q?m/xzg+H62fmmBC+9iRi1MvDmYwwIGosEeOrWoerVO/JL0GUbkUl9VCBx4jPY?= =?iso-8859-1?q?4yPyBmu+W8TnUdhKi3jvRvL793OkeJ8+63qmcxPrZs6DBO3/A+O6dXAFn6h+?= =?iso-8859-1?q?zYMDlbOmHc5+x7tqv9P7Bw7dGflTezXXjKB+YPpfbkuohemkc+mmPjq+7soP?= =?iso-8859-1?q?7oeFhI+Te/J4x8ZxUkMit8i1KLMshCxu1g8gjBXYkiuhgy1LFsA+voKuzJOq?= =?iso-8859-1?q?+FU1ZhidjixlfZSI1F+fj4fsRPXg44A87KI6WBnVYYy3kTapehh484EtTxQJ?= =?iso-8859-1?q?IDWmKADBJGwTpD+krT4fdFab59fknnbVpUlkf2gJyyPv9mAhpbCNLGtQWaq5?= =?iso-8859-1?q?OjaBoGspJzQJ2jORbVqaJT3oUb4eUHr0m82M9ZQYPHzN1cJObpqGId6FwU3+?= =?iso-8859-1?q?+QY4ry2Sf08tU+ewIKui84LMWYw10JQZ6UzSmgQD4bC0UBP7bhaKzfuXzekf?= =?iso-8859-1?q?W7qfOXz32hkm+h20mecXk0WLrPjYAn71vMmGLqY55MFbO17R70sthWmNqMZU?= =?iso-8859-1?q?KD04H0QAqPHJA2FWsFlcEUALSUVKp0rZwDbPy8j+FhjNVEaOyl0IOBBSRzNb?= =?iso-8859-1?q?cw1j18iQPkoMhrH6hucY7YMgr/eIx0RbgRj25MGkq++PZ0kExLLpOOIaHZzP?= =?iso-8859-1?q?iT?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM9PR09MB4851.eurprd09.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?0A5NG5a6tX3MjAn04lqlwDL?= =?iso-8859-1?q?0cfHjsjh7ouHkNNxjBHsSBPD9ZcX0VJYIK5gIBeJ/Plikm/Z2G3ZjyENsUjb?= =?iso-8859-1?q?7AqfoI900E+9t7coSnM7mbpvHgHs2eQVLZ1WdNSRhdTCfeZsXAHFfiePoTDD?= =?iso-8859-1?q?6G4vrmtxVJHn+ru7hbPdb90byWoQ9kbY5z5T7zEpLUlRQiWZS4vYGBhDSMst?= =?iso-8859-1?q?D665FgmoCWWFJJN62kSlvW3LTpQ5h1UTjq8tsk62BPI1EdivjoudxNOKD/ai?= =?iso-8859-1?q?W4whAyVhtjfZs/x4fq2SvaAtZxgKAE2lpTxpp0GdDG7IPS9RRfl/KMLHgnKd?= =?iso-8859-1?q?XS7DXaPH4PX+PfJ6HT0U3xuJ1dlU6gnxpDeTBNZU/PRUMw0WxZcDShVToRUz?= =?iso-8859-1?q?yuHs2YdUiU7wyjCA5+in7o4i4i/gWVX9nJosTbxqEzY9gbfmEKoJcrynp3jT?= =?iso-8859-1?q?MXUVRgZ7h0W18djHw/zebAnafq4GgQp1kjLVLMuAsr2FBccBTA6GK62ETKrl?= =?iso-8859-1?q?7NYwkAZBKCs5KK1cT8LTcT4I6Xcd33yWdgLXKvha43fTG8rsWg4rAeDrRCdN?= =?iso-8859-1?q?A1t8FjcUbgHP/PGUIkf+xprWdiWmkr1XHNVT4a1MKBfXEgYa1z16XjV9NVCt?= =?iso-8859-1?q?DFPw/KCYnQECoS6VgNCI9q1L6ENIPYiIpYdAUHQW3eJl8jBQeQ672Bp6CWT0?= =?iso-8859-1?q?h9JxlyHJ57OumvvMMpP6uEsrl19VDzcBBNRgYnBh1PkV3qjb93V8bmcsiBeJ?= =?iso-8859-1?q?Xb2KDF1TOMuDGgyVixHY7kgZIvD5h00ljWESNRIK15TvxpnJu0TtB7vxurmn?= =?iso-8859-1?q?snoSYrlynAgEsAYZAEZRq+CN4S/dkQolDqeiZTAZeyvFlCDFgANE694J82PL?= =?iso-8859-1?q?id1W97yT/3X78kzxF04JFdWMNGB2K1AATeOvpfzBGkNTZljDhroTL5e2W1U7?= =?iso-8859-1?q?C4Try6TBd6RWV57fhfv9WXmvJESNnN1L3mX7LrY9g3vLpVTomM/Z7JoZai5I?= =?iso-8859-1?q?ahcdOR58yXXJF0N3aOcHNDZtjAccpuCMuJV2J+A7pBVVkyq1ELP75txG1Ko1?= =?iso-8859-1?q?eVkEBV7VF9fd9PQfwK1JK+FYFajJvTu/re3nTrGrhyUZZ8rKBtJoPsoo1c96?= =?iso-8859-1?q?ZZGiAFtCWQnna89GaNPJotUlbpobntuDh5KTf4gSQpblBEulPUVKqRch34RO?= =?iso-8859-1?q?nLOoZHDcYFuOx5Reb4HtHC5ffAwX/jhPa78ns3PZaVFZosxXbtBXblsELLnv?= =?iso-8859-1?q?4GKA0i5dFThTJz4aPRq5aQ6YJMA3PsL2iL9GCulTB6PtACQyZtqYRVlylq/a?= =?iso-8859-1?q?+CpjEDxTfUDASsbervVb00DK6oE7OPqoF0a82YLOeEtj9zdDoHFiFSuq7VnL?= =?iso-8859-1?q?tEl8tyhI/odD/G80Ip4EqI6QUgos2MuHwUPiKqk1CU7uaog55orO4QJL9Dpd?= =?iso-8859-1?q?FFR8uWH1xIP3C/98wxju+xvADLQ6pdQWsuszw99doG3uXiQsZKfmWiBfiMtr?= =?iso-8859-1?q?SX+T1yvRk8UwXX6VYAArWEPc53AhNDFmzqbBTusdGi0H9Skwq5pPgfQcP9wz?= =?iso-8859-1?q?s6msAAKkVPr0fBAs3mJc8sq66er6v4qydSZDy80PQB131+AEhaE6iMUWyi1t?= =?iso-8859-1?q?+2kOS9R1zHNMM8jvN4yOopXfyGbNFTDSS7ccHqQ=3D=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: htecgroup.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM9PR09MB4851.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6658285b-331b-4df0-cbd7-08dcef778bf5 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2024 13:19:50.7777 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 9f85665b-7efd-4776-9dfe-b6bfda2565ee X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DnZpX1muyfnD3wYLKopLpOGbbx7G1PlkW6dE1CGwsEj8A4x7qJ16Pym55P5+92Xl3VQtR8gKqIxzCVbXYJSdFJtvlkFZzr9FNXDkliF0co0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR09MB6635 Received-SPF: pass client-ip=2a01:111:f403:2606::724; envelope-from=aleksandar.rakic@htecgroup.com; helo=EUR02-AM0-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org |
Series |
[v2,1/8] Add CP0 MemoryMapID register implementation
|
expand
|
diff --git a/linux-user/mips/cpu_loop.c b/linux-user/mips/cpu_loop.c index 462387a073..07c1ebe287 100644 --- a/linux-user/mips/cpu_loop.c +++ b/linux-user/mips/cpu_loop.c @@ -304,8 +304,10 @@ void target_cpu_copy_regs(CPUArchState *env, struct target_pt_regs *regs) if (env->insn_flags & ISA_NANOMIPS32) { return; } - if (((info->elf_flags & EF_MIPS_NAN2008) != 0) != - ((env->active_fpu.fcr31 & (1 << FCR31_NAN2008)) != 0)) { + if (info->fp_abi != MIPS_ABI_FP_SOFT + && ((info->elf_flags & EF_MIPS_NAN2008) != 0) != + ((env->active_fpu.fcr31 & (1 << FCR31_NAN2008)) != 0)) + { if ((env->active_fpu.fcr31_rw_bitmask & (1 << FCR31_NAN2008)) == 0) { fprintf(stderr, "ELF binary's NaN mode not supported by CPU\n");