From patchwork Wed Nov 25 13:32:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Krebbel X-Patchwork-Id: 548567 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 5D04A1402E2 for ; Thu, 26 Nov 2015 00:33:32 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=i0sjmqnQ; 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; q=dns; s=default; b=nJ9i8xHpNBcYQO8 ZJfRIoueAmTFDpKUkvZ7SVEI9UQAjpiu8jcsvf8A82vyHKnVDZ9I/EH0A24cN2pN gDfGj4uhG/hAwSvzZkDyObmXvhdVYThKIqJAV7M3eLtOBDgnWvuwd9upeK0tt0vU 809zez1CYGGeDjWsVVtVYprXMdIQ= 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; s=default; bh=5MTyGHckFRh0gBboBg3DA rRMt+0=; b=i0sjmqnQNnbzhfJVBlvFEggS3uUvATKp2JZAix6R6Kq6Z7rN5VD63 USCjjOM/zDz1z3HTWzEH2+RV23HomLqAfJJJYN1TpY9U2danX0NnWFVta0Uez1iT Jzv4j/cWmd/ORFElgkOnxMzfp/QusSQjYsy5eP2ymWjk3n3RJ2O9Hs= Received: (qmail 63294 invoked by alias); 25 Nov 2015 13:33: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 63203 invoked by uid 89); 25 Nov 2015 13:33:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: e06smtp14.uk.ibm.com Received: from e06smtp14.uk.ibm.com (HELO e06smtp14.uk.ibm.com) (195.75.94.110) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 25 Nov 2015 13:33:03 +0000 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 25 Nov 2015 13:33:00 -0000 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 25 Nov 2015 13:32:57 -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 b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 270B617D806C for ; Wed, 25 Nov 2015 13:33:22 +0000 (GMT) Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id tAPDWuVp10289612 for ; Wed, 25 Nov 2015 13:32:56 GMT Received: from d06av06.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id tAPDWuOn015117 for ; Wed, 25 Nov 2015 06:32:56 -0700 Received: from maggie.boeblingen.de.ibm.com (dyn-9-152-212-123.boeblingen.de.ibm.com [9.152.212.123]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id tAPDWtcx015085 (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=NO) for ; Wed, 25 Nov 2015 06:32:56 -0700 From: Andreas Krebbel To: gcc-patches@gcc.gnu.org Subject: [PATCH] S/390: Enable 64 bit atomic tests with -m31 -mzarch. Date: Wed, 25 Nov 2015 14:32:55 +0100 Message-Id: <1448458375-6489-4-git-send-email-krebbel@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15112513-0017-0000-0000-00000650DDC1 X-IsSubscribed: yes gcc/testsuite/ChangeLog: 2015-11-25 Andreas Krebbel * lib/target-supports.exp: Add s390 and s390x to the list of long long atomic targets. --- gcc/testsuite/lib/target-supports.exp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index acd786e..b0945c4 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -5348,6 +5348,7 @@ proc check_effective_target_sync_int_128_runtime { } { # Return 1 if the target supports atomic operations on "long long". # # Note: 32bit x86 targets require -march=pentium in dg-options. +# Note: 32bit s390 targets require -mzarch in dg-options. proc check_effective_target_sync_long_long { } { if { [istarget x86_64-*-*] || [istarget i?86-*-*]) @@ -5355,6 +5356,7 @@ proc check_effective_target_sync_long_long { } { || [istarget arm*-*-*] || [istarget alpha*-*-*] || ([istarget sparc*-*-*] && [check_effective_target_lp64]) + || [istarget s390*-*-*] || [istarget spu-*-*] } { return 1 } else {