[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] x86emul: correct AVX512VL+VPCLMUL test descriptions


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 4 Apr 2023 12:48:38 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=Cf8KOdXE7psy3J1Dgd+qmWiV5099rLBr/uhBEdSFlTs=; b=GVxNefWRk1qm1V/1NQT8LdLgikIAi5APO95GVkRLFT3gnR8LjggpmiHUe2TYabjPvPufgQejJSNUPdv0usgTyIRCMLTvBGb8+WwLZpPEKv51Ff+/FM7rKUihF7Dweqa3GCBys6XZmD9fqycHY1MNQ81XiTBCh8gkslNwbU1Dby0eEINxK/hvTFDrylSNuqqQc9dnogvGXRrin21A7/qvsdf5hgyHiDjm5ZRJKOPQpxy8YOjqkYzYtROTgjY28yrvLvxcNPvlnr2j3CB9S5A7XfTks4yzj+YHDpi03lyZlTL/vRT93w1Rgt6+7233FhV76gWpvwZGoYW43xLqqD1NiA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dvDvE+LdazRTMVRdDLDqwsNJxaThusd9CBiFKV57vm0UBFZmGSem9OShFD2UMBKabaw5DrqhPj6/6hqFVFHjS+fXL9LUTmdE/bpL11afEra45alD6mqKJdknys3xZqyhT9DWjC+MlvnM2dfDHCGC04wAN0KrwibaY6zjHugujdsZnnlD2bbr0Y3xHPQaSmgjPb5SrZZl3vxq4uJrtzA6z3qHBeZoeSt/lkBJf/GjOaNUnW5BPMPtjPp0gXbCa/2IGghWAMv+mcWSZyrG6xUNDaiqBVgYu9Fvb6gETdLC2UVcP+7Gbu0dxoQVrAlvhQPz6Xuj9EuZuH4wpbS7LS4NNg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Tue, 04 Apr 2023 10:48:59 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

The stride values (based on 32-bit element size) were wrong for these
two test, yielding misleading output (especially when comparing with the
test variants also involving AVX512-VBMI2).

Also insert a missing blank on a nearby, related line.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/tools/tests/x86_emulator/test_x86_emulator.c
+++ b/tools/tests/x86_emulator/test_x86_emulator.c
@@ -520,10 +520,10 @@ static const struct {
     SIMD(VAES (EVEX/x64), avx512bw_vaes,      64),
     AVX512VL(VL+VAES (x16), avx512bw_vaes,    16),
     AVX512VL(VL+VAES (x32), avx512bw_vaes,    32),
-    SIMD(VPCLMUL (VEX/x4), avx2_vpclmulqdq,  32),
+    SIMD(VPCLMUL (VEX/x4), avx2_vpclmulqdq,   32),
     SIMD(VPCLMUL (EVEX/x8), avx512bw_vpclmulqdq, 64),
-    AVX512VL(VL+VPCLMUL (x4), avx512bw_vpclmulqdq, 16),
-    AVX512VL(VL+VPCLMUL (x8), avx512bw_vpclmulqdq, 32),
+    AVX512VL(VL+VPCLMUL (x2), avx512bw_vpclmulqdq, 16),
+    AVX512VL(VL+VPCLMUL (x4), avx512bw_vpclmulqdq, 32),
     SIMD(AVX512_VBMI2+VPCLMUL (x8), avx512vbmi2_vpclmulqdq, 64),
     AVX512VL(_VBMI2+VL+VPCLMUL (x2), avx512vbmi2_vpclmulqdq, 16),
     AVX512VL(_VBMI2+VL+VPCLMUL (x4), avx512vbmi2_vpclmulqdq, 32),



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.