From patchwork Tue Jun 29 18:08:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Clarke" X-Patchwork-Id: 1498517 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=DJZdbaXY; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GDsvh5kLjz9sV8 for ; Wed, 30 Jun 2021 04:10:08 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9AB1038515F7 for ; Tue, 29 Jun 2021 18:09:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9AB1038515F7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1624990197; bh=xyXMbd9iUZg+R1w9HY6tYBmmrT/gn2XoPeh1yERqyq4=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=DJZdbaXYfAGf2KjRyEdiMfhvWGqCrBGBGE0ze/sPYkTMeTpwspA7pveliHLHtHFkM ZQvHTvo2/4A660HauwAGtzhvmJOQ/cKNpuIQoDOJD+wQmdx/v+8FftL2vKXxdD9xrE Q3V6OJilMyJinDCMok4gsSglgvT335DHWnZNOogo= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 66137385481C for ; Tue, 29 Jun 2021 18:09:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 66137385481C Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15TI4ENx080512; Tue, 29 Jun 2021 14:09:09 -0400 Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0a-001b2d01.pphosted.com with ESMTP id 39g8dy87pj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 29 Jun 2021 14:09:08 -0400 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15TI8drk003970; Tue, 29 Jun 2021 18:09:08 GMT Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by ppma02dal.us.ibm.com with ESMTP id 39duvcn9du-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 29 Jun 2021 18:09:08 +0000 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15TI97or13697460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 29 Jun 2021 18:09:07 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id ED3AC7926D; Tue, 29 Jun 2021 18:09:06 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A966879252; Tue, 29 Jun 2021 18:09:06 +0000 (GMT) Received: from localhost (unknown [9.85.182.157]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Tue, 29 Jun 2021 18:09:06 +0000 (GMT) To: gcc-patches@gcc.gnu.org Subject: [PATCH 0/4] rs6000: Add SSE4.1 "test" and "blend" intrinsics Date: Tue, 29 Jun 2021 13:08:55 -0500 Message-Id: <20210629180859.1235662-1-pc@us.ibm.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: h9yF_mC2DzkLR64o3WH9ZDYKfcVpZ0Wc X-Proofpoint-GUID: h9yF_mC2DzkLR64o3WH9ZDYKfcVpZ0Wc X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-06-29_11:2021-06-29, 2021-06-29 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 adultscore=0 clxscore=1011 impostorscore=0 phishscore=0 mlxlogscore=939 spamscore=0 suspectscore=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106290114 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "Paul A. Clarke via Gcc-patches" From: "Paul A. Clarke" Reply-To: "Paul A. Clarke" Cc: segher@kernel.crashing.org Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Paul A. Clarke (4): rs6000: Add support for SSE4.1 "test" intrinsics rs6000: Add tests for SSE4.1 "test" intrinsics rs6000: Add support for SSE4.1 "blend" intrinsics rs6000: Add tests for SSE4.1 "blend" intrinsics gcc/config/rs6000/smmintrin.h | 96 ++++++++++++++ .../gcc.target/powerpc/sse4_1-blendpd.c | 89 +++++++++++++ .../gcc.target/powerpc/sse4_1-blendps-2.c | 81 ++++++++++++ .../gcc.target/powerpc/sse4_1-blendps.c | 90 ++++++++++++++ .../gcc.target/powerpc/sse4_1-blendvpd.c | 65 ++++++++++ .../gcc.target/powerpc/sse4_1-ptest-1.c | 117 ++++++++++++++++++ 6 files changed, 538 insertions(+) create mode 100644 gcc/testsuite/gcc.target/powerpc/sse4_1-blendpd.c create mode 100644 gcc/testsuite/gcc.target/powerpc/sse4_1-blendps-2.c create mode 100644 gcc/testsuite/gcc.target/powerpc/sse4_1-blendps.c create mode 100644 gcc/testsuite/gcc.target/powerpc/sse4_1-blendvpd.c create mode 100644 gcc/testsuite/gcc.target/powerpc/sse4_1-ptest-1.c