From patchwork Wed Dec 5 03:44:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Hua X-Patchwork-Id: 1007978 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-491678-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="YoWMl2f2"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="BrJN3U9b"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 438l4B4ngtz9s8F for ; Wed, 5 Dec 2018 14:45:12 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:cc:content-type; q=dns; s=default; b=AN1JnkxoeRct+fPcaGbDkBzom92EX5675ZcSgbJpiTP aPQsydf4+SQn4EoQsTUSwRFvmhz20UTzxXPPigfD/FxEsp+G/3iBL7pq5x0TTHPn SglqRUKg5Dvd5qz54DKTw6RnrqAuOJ1dgzsTBmPYAlz/fEXbolCaORESLUwKzTd8 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:cc:content-type; s=default; bh=73OYP8WnsLKoc7AppLqQ04NXlv8=; b=YoWMl2f2jtU6DAuTa 3+fHBYDK72RwTlH66sUnzJx2CQ3vmvwGl7w/8e5uErl9nOUqei8V3bzjgSPSII/o AZ+2fkojrCy2JYlWDy5SZmx08RXOAox+l8dz61wOi1NnzwzaQEob6BCHEHl9vWwj ExugVbV0lrSKaD2tpAZXu4c5wQ= Received: (qmail 40824 invoked by alias); 5 Dec 2018 03:45:05 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 40761 invoked by uid 89); 5 Dec 2018 03:45:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy= X-HELO: mail-ot1-f53.google.com Received: from mail-ot1-f53.google.com (HELO mail-ot1-f53.google.com) (209.85.210.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 05 Dec 2018 03:44:52 +0000 Received: by mail-ot1-f53.google.com with SMTP id w25so17351579otm.13 for ; Tue, 04 Dec 2018 19:44:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=TkKR7P3OLFX0boeQNN8D1VzIXU5BBF9FdJyiNJVgQbw=; b=BrJN3U9bCGNjV5yBbM2cN4vsWwUDJ3xPKs47Kck9MNAQb8Ic1qTPKXsT/B37bl9jz0 0YKbxfVQYiM65wr8NSUsWJAX6/1CBTS4la6Nf2rACH6DTGEreJYc3uzodVBItOsCnK8P EWmrW0UfZFmsFb1xiv4CatBk/Yn75cIELesVDIFm7oiIVtGt5pabyukXf6bBiorjY5ay QrLH6Ut/axpdZkSy+rQHJWUjWqQPYurOhzvslmUkBwy+Gjms6p0QJ0EMpFzlKcfWWcA/ /BhwJLAxuy8TPE0yxv+TLFkZQ+7dMwFGquR2ZSera+3AQxYGLKk1nr0wr7VrPwYhIgY+ sJGA== MIME-Version: 1.0 From: Paul Hua Date: Wed, 5 Dec 2018 11:44:38 +0800 Message-ID: Subject: [Patch, Testsuite][MIPS][Committed] Adjusted msa compare instructions clti to clei. To: gcc-patches Cc: Matthew Fortune X-IsSubscribed: yes Hi: Recently gcc optimize msa compare code i<5 from clti_.df $wn,$wn,5 to clei_.df $wn,$wn,4. This patch adjusted testsuite. Committed as obviously. gcc/testsuite/ 2018-12-05 Chenghua Xu * gcc.target/mips/msa.c: Adjusted clti_.df $wn,$wn,5 to clei_.df $wn,$wn,4 in test31. diff --git a/gcc/testsuite/gcc.target/mips/msa.c b/gcc/testsuite/gcc.target/mips/msa.c index cdd5ca28dac..b741f35556f 100644 --- a/gcc/testsuite/gcc.target/mips/msa.c +++ b/gcc/testsuite/gcc.target/mips/msa.c @@ -330,14 +330,14 @@ /* { dg-final { scan-assembler-times "test30_v8u16:.*ceqi.h.*test30_v8u16" 1 } } */ /* { dg-final { scan-assembler-times "test30_v4u32:.*ceqi.w.*test30_v4u32" 1 } } */ /* { dg-final { scan-assembler-times "test30_v2u64:.*ceqi.d.*test30_v2u64" 1 } } */ -/* { dg-final { scan-assembler-times "test31_s_v16i8:.*clti_s.b.*test31_s_v16i8" 1 } } */ -/* { dg-final { scan-assembler-times "test31_s_v8i16:.*clti_s.h.*test31_s_v8i16" 1 } } */ -/* { dg-final { scan-assembler-times "test31_s_v4i32:.*clti_s.w.*test31_s_v4i32" 1 } } */ -/* { dg-final { scan-assembler-times "test31_s_v2i64:.*clti_s.d.*test31_s_v2i64" 1 } } */ -/* { dg-final { scan-assembler-times "test31_u_v16u8:.*clti_u.b.*test31_u_v16u8" 1 } } */ -/* { dg-final { scan-assembler-times "test31_u_v8u16:.*clti_u.h.*test31_u_v8u16" 1 } } */ -/* { dg-final { scan-assembler-times "test31_u_v4u32:.*clti_u.w.*test31_u_v4u32" 1 } } */ -/* { dg-final { scan-assembler-times "test31_u_v2u64:.*clti_u.d.*test31_u_v2u64" 1 } } */ +/* { dg-final { scan-assembler-times "test31_s_v16i8:.*clei_s.b.*test31_s_v16i8" 1 } } */ +/* { dg-final { scan-assembler-times "test31_s_v8i16:.*clei_s.h.*test31_s_v8i16" 1 } } */ +/* { dg-final { scan-assembler-times "test31_s_v4i32:.*clei_s.w.*test31_s_v4i32" 1 } } */ +/* { dg-final { scan-assembler-times "test31_s_v2i64:.*clei_s.d.*test31_s_v2i64" 1 } } */ +/* { dg-final { scan-assembler-times "test31_u_v16u8:.*clei_u.b.*test31_u_v16u8" 1 } } */ +/* { dg-final { scan-assembler-times "test31_u_v8u16:.*clei_u.h.*test31_u_v8u16" 1 } } */ +/* { dg-final { scan-assembler-times "test31_u_v4u32:.*clei_u.w.*test31_u_v4u32" 1 } } */ +/* { dg-final { scan-assembler-times "test31_u_v2u64:.*clei_u.d.*test31_u_v2u64" 1 } } */ /* { dg-final { scan-assembler-times "test32_s_v16i8:.*clei_s.b.*test32_s_v16i8" 1 } } */ /* { dg-final { scan-assembler-times "test32_s_v8i16:.*clei_s.h.*test32_s_v8i16" 1 } } */ /* { dg-final { scan-assembler-times "test32_s_v4i32:.*clei_s.w.*test32_s_v4i32" 1 } } */