From patchwork Tue Feb 23 10:20:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Krebbel X-Patchwork-Id: 586802 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 734201402BC for ; Tue, 23 Feb 2016 21:21:20 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=hNO/tF/0; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references; q=dns; s= default; b=wbnc9ywwoRPNXwXrwy3wqljyXQKxlqUST6JEcVBn8IgpOsatH2nYZ tPxPo1pHoSX0iTUPI88PS+41FpJyeItqf+SuQ2PYbtIiybFkHwadCm1aDHyYZp1x T9nNNZqqJWFaGUtOHB6jGNtjd5WpdaJH3XKQx18RX4/r8ZGVhFYO5g= 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:from :to:subject:date:message-id:in-reply-to:references; s=default; bh=x45yrBrPhApdm2hOd4i6GHc6d5Q=; b=hNO/tF/0yyOevv4QMORSfdS0Iyav btMh2yawS3BnW6tQzMxwjrGwlQtp0kraS7lUfcE/TT/ihvRl6TTfGqeNqFAR7mBJ FF8XJ1xkYEE9qm1QEpf+dg7M+qKY0KvwG/Zm90xOiJh5Mm7XMArRWSuEjin9mSUS iFiMCCXY9fcVHCY= Received: (qmail 123300 invoked by alias); 23 Feb 2016 10:20:31 -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 123255 invoked by uid 89); 23 Feb 2016 10:20:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=*src X-HELO: e06smtp11.uk.ibm.com Received: from e06smtp11.uk.ibm.com (HELO e06smtp11.uk.ibm.com) (195.75.94.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 23 Feb 2016 10:20:29 +0000 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 23 Feb 2016 10:20:26 -0000 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 23 Feb 2016 10:20:15 -0000 X-IBM-Helo: d06dlp01.portsmouth.uk.ibm.com X-IBM-MailFrom: krebbel@linux.vnet.ibm.com X-IBM-RcptTo: gcc-patches@gcc.gnu.org Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 55B6217D8062 for ; Tue, 23 Feb 2016 10:20:35 +0000 (GMT) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u1NAKEmR15466570 for ; Tue, 23 Feb 2016 10:20:14 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u1NAKEgK019337 for ; Tue, 23 Feb 2016 03:20:14 -0700 Received: from maggie.boeblingen.de.ibm.com (dyn-9-152-212-123.boeblingen.de.ibm.com [9.152.212.123]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u1NAKDNY019305 (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=NO) for ; Tue, 23 Feb 2016 03:20:13 -0700 From: Andreas Krebbel To: gcc-patches@gcc.gnu.org Subject: [Committed 1/3] S/390: Turn movstr-1.c into compile only test. Date: Tue, 23 Feb 2016 11:20:11 +0100 Message-Id: <1456222813-20865-2-git-send-email-krebbel@linux.vnet.ibm.com> In-Reply-To: <1456222813-20865-1-git-send-email-krebbel@linux.vnet.ibm.com> References: <1456222813-20865-1-git-send-email-krebbel@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16022310-0041-0000-0000-0000079C8B56 X-IsSubscribed: yes gcc/testsuite/ChangeLog: * gcc.target/s390/md/movstr-1.c: Turn into compile test. --- gcc/testsuite/gcc.target/s390/md/movstr-1.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/gcc/testsuite/gcc.target/s390/md/movstr-1.c b/gcc/testsuite/gcc.target/s390/md/movstr-1.c index da98415..b83ed6d 100644 --- a/gcc/testsuite/gcc.target/s390/md/movstr-1.c +++ b/gcc/testsuite/gcc.target/s390/md/movstr-1.c @@ -1,7 +1,7 @@ /* Machine description pattern tests. */ -/* { dg-do run } */ -/* { dg-options "-dP -save-temps" } */ +/* { dg-do compile } */ +/* { dg-options "-dP" } */ __attribute__ ((noinline)) void test(char *dest, const char *src) @@ -10,15 +10,3 @@ void test(char *dest, const char *src) } /* { dg-final { scan-assembler-times {{[*]movstr}|{vec_vfenesv16qi}} 1 } } */ - -#define LEN 200 -char buf[LEN]; - -int main(void) -{ - __builtin_memset(buf, 0, LEN); - test(buf, "hello world!"); - if (__builtin_strcmp(buf, "hello world!") != 0) - __builtin_abort(); - return 0; -}