From nobody Sun Nov 24 01:28:00 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1729064776; cv=none; d=zohomail.com; s=zohoarc; b=mXXNiTSpQFIpsiz2mSpMTpt3oMJNreRA9TATLuZGsnhrsbTu6JsEjATL96Zm7l5pqp4uOmvkfENs/s4b5ZQNeajjtTPYa8on5F6NCx6h8/Gm8obJBkTym54whJcU57j5NQl+0wy9o0jD7kGBD2mJXn7Z+CyQPMKaiwPIOJ7EWXQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1729064776; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=kaK+FwZ5ydb+9n/3CEWaD8IkBqtAO8NGdnnZgkThlTw=; b=LvGn6ZipbSXm82nsNDWg082BXWPKg8jYGFFG4bzg0ntBM7cYcwMlSSNLT4h+VZQgC8bejs33PRfhH2G/PWpHF8EC9l77yzqCSSJv1Uyz872AhsveftZojpno75GFEr+JRP6ny8M6STBngtSKIouMBHAJOoyeBvKt3JNNwR6uHWY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1729064776768452.12883880324546; Wed, 16 Oct 2024 00:46:16 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.819571.1232949 (Exim 4.92) (envelope-from ) id 1t0yj5-0008Hy-Gp; Wed, 16 Oct 2024 07:45:47 +0000 Received: by outflank-mailman (output) from mailman id 819571.1232949; Wed, 16 Oct 2024 07:45:47 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t0yj5-0008Hr-EJ; Wed, 16 Oct 2024 07:45:47 +0000 Received: by outflank-mailman (input) for mailman id 819571; Wed, 16 Oct 2024 07:45:45 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t0yj3-0008Hl-O9 for xen-devel@lists.xenproject.org; Wed, 16 Oct 2024 07:45:45 +0000 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [2a00:1450:4864:20::32d]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id a630d1d0-8b92-11ef-a0be-8be0dac302b0; Wed, 16 Oct 2024 09:45:44 +0200 (CEST) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-431286f50e1so46118275e9.0 for ; Wed, 16 Oct 2024 00:45:44 -0700 (PDT) Received: from [10.156.60.236] (ip-037-024-206-209.um08.pools.vodafone-ip.de. [37.24.206.209]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4314f1c3c5csm10004725e9.0.2024.10.16.00.45.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Oct 2024 00:45:43 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: a630d1d0-8b92-11ef-a0be-8be0dac302b0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1729064744; x=1729669544; darn=lists.xenproject.org; h=content-transfer-encoding:autocrypt:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=kaK+FwZ5ydb+9n/3CEWaD8IkBqtAO8NGdnnZgkThlTw=; b=BJ3BALUsK9m/02jZxRCvvT3NwrQ6O/MHXElnvhNYXU4fhopJ93GS0+k5Xu4dqrvpf9 1hPH0IHidjbYTObLsAfCr9+jXEP0Ypz5psi6Df9N8SMZebblDw5c6U4bqFHQHvFlTWI8 TCLkN7CwmY9ZvUY85uLyyMlZLOLdT6J5zLh4HgR5ndapU+YazTm06T8waAxieKelMBn+ vwW+mhI75aMk5kiV1Dym8mTyRHnq5wL3waqanOEt5ChWjMiECQaKL+PCm8cHRuhnH6Cn OxAqAdg65vDkS6hU7h2xKqnmsR9biLBON5RL1iTBbElSLdMcIVQ2fWTwvOmjztnf3AA+ wPCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729064744; x=1729669544; h=content-transfer-encoding:autocrypt:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kaK+FwZ5ydb+9n/3CEWaD8IkBqtAO8NGdnnZgkThlTw=; b=m1R+HvOaU1eINLIdnCd4PBXHTISKqEk2JKmvsb/3FQE01GB+YaJCcd4cfe36IBXeyY G34oE7UvB+5f2ZcGcBQflg8GMaHvvAtDsbAAiUepOf9LhDlKsxR7amg2FGZW4ZVNMRAS S3QwFEMv48zpf0CWQuOwktOXhHwajp2aJyjM/vQU9cZAXaOFj0ZEAVZz+iaVf7zklxYU YB8lY54Ih4DdA0OOTTtHteUVGoioB5rjrh7IUgdsp9zE7P/95xAuY4jAZIdkA2fD7byW BjKZZ41sqtJCIo9jQ1DUCL7CWM5mr7ch2PtlPF0VMoz8V73oi0QX1imMQwXETucEsBot Oa5g== X-Gm-Message-State: AOJu0YzjOBifZT7mDibVwBZ8taNPObM3t5FDc6sfyojIpSMF4TwoZWOJ kuBs0GYb7mMP6HyP703u2LOWmJI2BtVft5MtdCRaGs/P625l2fu0XirTaF1N2SJa4puhuXIfPJ8 = X-Google-Smtp-Source: AGHT+IFMLQN/YXmN0Wq9Xlw64tNBbvpczcXhaqPuby7gYNChcog6NQbFoxqmJdYHzYZCEkg24DRZcA== X-Received: by 2002:a05:600c:4fd3:b0:431:54f3:11ab with SMTP id 5b1f17b1804b1-43154f3151amr1323275e9.33.1729064743603; Wed, 16 Oct 2024 00:45:43 -0700 (PDT) Message-ID: Date: Wed, 16 Oct 2024 09:45:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= From: Jan Beulich Subject: [PATCH] x86emul/test: correct loop body indentation in evex-disp8.c:test_one() Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj2XbGWIUrZrd70x1eAP9QE3P79Y2oLrsCgbZJfEwCgvz9JjGmQqQkRiTVzlZVCJYcyGGsD /0tbFCzD2h20ahe8rC1gbb3K3qk+LpBtvjBu1RY9drYk0NymiGbJWZgab6t1jM7sk2vuf0Py O9Hf9XBmK0uE9IgMaiCpc32XV9oASz6UJebwkX+zF2jG5I1BfnO9g7KlotcA/v5ClMjgo6Gl MDY4HxoSRu3i1cqqSDtVlt+AOVBJBACrZcnHAUSuCXBPy0jOlBhxPqRWv6ND4c9PH1xjQ3NP nx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+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1729064777636116600 Content-Type: text/plain; charset="utf-8" For some reason I entirely consistently screwed these up. Signed-off-by: Jan Beulich --- a/tools/tests/x86_emulator/evex-disp8.c +++ b/tools/tests/x86_emulator/evex-disp8.c @@ -905,8 +905,8 @@ static void test_one(const struct test * goto fail; =20 for ( i =3D 0; i < (test->scale =3D=3D SC_vl ? vsz : esz); ++i ) - if ( accessed[i] ) - goto fail; + if ( accessed[i] ) + goto fail; =20 n =3D test->scale =3D=3D SC_vl ? vsz : esz; if ( !sg ) @@ -917,13 +917,13 @@ static void test_one(const struct test * ++n; =20 for ( ; i < n; ++i ) - if ( accessed[i] !=3D (sg ? (vsz / esz) >> (test->opc & 1 & !evex= .w) - : 1) ) - goto fail; + if ( accessed[i] !=3D (sg ? (vsz / esz) >> (test->opc & 1 & !evex.= w) + : 1) ) + goto fail; =20 for ( ; i < ARRAY_SIZE(accessed); ++i ) - if ( accessed[i] ) - goto fail; + if ( accessed[i] ) + goto fail; =20 /* Also check the broadcast case, if available. */ if ( test->vsz >=3D VSZ_el || test->scale !=3D SC_vl ) @@ -954,14 +954,14 @@ static void test_one(const struct test * goto fail; =20 for ( i =3D 0; i < esz; ++i ) - if ( accessed[i] ) - goto fail; + if ( accessed[i] ) + goto fail; for ( ; i < esz * 2; ++i ) - if ( accessed[i] !=3D 1 ) - goto fail; + if ( accessed[i] !=3D 1 ) + goto fail; for ( ; i < ARRAY_SIZE(accessed); ++i ) - if ( accessed[i] ) - goto fail; + if ( accessed[i] ) + goto fail; =20 return;