From patchwork Fri May 24 07:49:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: liuhongt X-Patchwork-Id: 1938836 Return-Path: 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=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=jz20N3i3; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Vlxyr1y6zz1ynR for ; Fri, 24 May 2024 17:49:56 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 98366385B529 for ; Fri, 24 May 2024 07:49:54 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by sourceware.org (Postfix) with ESMTPS id 6F7243858D29 for ; Fri, 24 May 2024 07:49:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6F7243858D29 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6F7243858D29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.14 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716536972; cv=none; b=pVbmTJANRBP4bImbr5iMQZOhu0nHOwKqtxbUX87FWOgNG6kG1HGeRrl1zTJvrWBnZpXj7Wc93bAaVdda9xfSd3GHMLHLHmi/LA51fWlcPnUa5SEwTS9lnLefqkpNhJTxi4GMVKyDh3UQ7KuPsNGsXwWrun1ZS1WDznq+89sXjV4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716536972; c=relaxed/simple; bh=7LAqrpDGc9SP6noKu0ccI5IUwol+mYVPgsddKFoihaw=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=r7WyBN9kklAPfc2LBjJxOTNitAXYmOewMZ43Wr64zzt5j51ZKwBzbZS8x4dXCliAkdpsl4+nWi4G3t3E5QADTuNtzI0/7EvQX4T8skZbR9na1baFbgcbaamQWEIY2Bq3sb4TrJ9yLa/WgynuM38/ZvyneNNzC8ybrYxmDtVtLpE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716536971; x=1748072971; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7LAqrpDGc9SP6noKu0ccI5IUwol+mYVPgsddKFoihaw=; b=jz20N3i3chW9JCDjDv/X0MV7iBS6hqqzs0MWLnJ00RgUrIukNKghnO5Q I/OqoPndtV44sYpZEWHQ3gilXsDCl8+T69sEny/09AbiRXj28Xjbb5wFN FyEEzBXIgCNGJPRbShRaUxHF39uAvgJZRzR7DgtRO2QMgrrMWFLW4uzp6 zQz5FcpHhsVbvCRb34tDTg3KpZIZ2r+El8Wpu9vY5jlA/gAigpEx4IqxM DS+2LqkCpTLjUuph4IoJcDJVumqKl2YRKwe2gymmHfRTCJK51ARyZOGAP UoRaQCWLWzP573v1lzZDX5yjKPzdQdEnNU+hEzeLs5opFNWpU3xzYruBK A==; X-CSE-ConnectionGUID: 0M/k/sZ3R3ypCFqlUI5qCw== X-CSE-MsgGUID: BnXEzEyjSDuWQI7GhknZnw== X-IronPort-AV: E=McAfee;i="6600,9927,11081"; a="13133295" X-IronPort-AV: E=Sophos;i="6.08,184,1712646000"; d="scan'208";a="13133295" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2024 00:49:30 -0700 X-CSE-ConnectionGUID: 5VUSkICmQli9M2CSdKChqQ== X-CSE-MsgGUID: WZ5shlitQVquZQqgEHrIFA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,184,1712646000"; d="scan'208";a="34544111" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by orviesa007.jf.intel.com with ESMTP; 24 May 2024 00:49:28 -0700 Received: from shliclel4217.sh.intel.com (shliclel4217.sh.intel.com [10.239.240.127]) by shvmail03.sh.intel.com (Postfix) with ESMTP id D63621005127; Fri, 24 May 2024 15:49:26 +0800 (CST) From: liuhongt To: gcc-patches@gcc.gnu.org Cc: crazylht@gmail.com, hjl.tools@gmail.com Subject: [PATCH] Fix typo in the testcase. Date: Fri, 24 May 2024 15:49:26 +0800 Message-Id: <20240524074926.3931289-1-hongtao.liu@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Committed as an obvious patch. gcc/testsuite/ChangeLog: PR target/114148 * gcc.target/i386/pr106010-7b.c: Refine testcase. --- gcc/testsuite/gcc.target/i386/pr106010-7b.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/gcc.target/i386/pr106010-7b.c b/gcc/testsuite/gcc.target/i386/pr106010-7b.c index 26482cc10f5..917e56e45f7 100644 --- a/gcc/testsuite/gcc.target/i386/pr106010-7b.c +++ b/gcc/testsuite/gcc.target/i386/pr106010-7b.c @@ -34,11 +34,11 @@ avx_test (void) p_init[i] = i % 2 + 3; memcpy (pd_src, p_init, 2 * N * sizeof (double)); - memcpy (ps_dst, p_init, 2 * N * sizeof (float)); - memcpy (epi64_dst, p_init, 2 * N * sizeof (long long)); - memcpy (epi32_dst, p_init, 2 * N * sizeof (int)); - memcpy (epi16_dst, p_init, 2 * N * sizeof (short)); - memcpy (epi8_dst, p_init, 2 * N * sizeof (char)); + memcpy (ps_src, p_init, 2 * N * sizeof (float)); + memcpy (epi64_src, p_init, 2 * N * sizeof (long long)); + memcpy (epi32_src, p_init, 2 * N * sizeof (int)); + memcpy (epi16_src, p_init, 2 * N * sizeof (short)); + memcpy (epi8_src, p_init, 2 * N * sizeof (char)); foo_pd (pd_dst, pd_src[0]); foo_ps (ps_dst, ps_src[0]);