From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11438 invoked by alias); 24 Oct 2019 06:57:07 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 11427 invoked by uid 89); 24 Oct 2019 06:57:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:761 X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 24 Oct 2019 06:57:05 +0000 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x9O6naM2116613 for ; Thu, 24 Oct 2019 02:57:03 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2vu3dreg2v-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 24 Oct 2019 02:57:03 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 24 Oct 2019 07:57:01 +0100 Received: from b06avi18878370.portsmouth.uk.ibm.com (9.149.26.194) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 24 Oct 2019 07:56:58 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x9O6ut1L42795266 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 24 Oct 2019 06:56:55 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 37D14AE058; Thu, 24 Oct 2019 06:56:55 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0EE93AE056; Thu, 24 Oct 2019 06:56:55 +0000 (GMT) Received: from [9.152.222.42] (unknown [9.152.222.42]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 24 Oct 2019 06:56:54 +0000 (GMT) Subject: Re: [PATCH] S/390: Use UNSPEC_GET_TP for thread pointer loads To: Ilya Leoshkevich , gcc-patches@gcc.gnu.org Cc: uweigand@de.ibm.com, stli@linux.ibm.com References: <20191023110235.11457-1-iii@linux.ibm.com> From: Andreas Krebbel Date: Thu, 24 Oct 2019 07:11:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191023110235.11457-1-iii@linux.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit x-cbid: 19102406-0016-0000-0000-000002BC9CA1 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19102406-0017-0000-0000-0000331DDFCC Message-Id: <39366c13-23c6-b3e6-29c2-e348528eef29@linux.ibm.com> X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg01713.txt.bz2 On 23.10.19 13:02, Ilya Leoshkevich wrote: > Boostrapped and regtested on s390x-redhat-linux. > > gcc/ChangeLog: > > 2019-10-21 Ilya Leoshkevich > > * config/s390/s390.c (s390_get_thread_pointer): Use > gen_get_thread_pointer. > (s390_expand_split_stack_prologue): Likewise. > * config/s390/s390.md (UNSPEC_GET_TP): New UNSPEC. > (*get_tp_31): New 31-bit splitter for UNSPEC_GET_TP. > (*get_tp_64): New 64-bit splitter for UNSPEC_GET_TP. > (get_thread_pointer): Use UNSPEC_GET_TP, use > parameterized name. > > gcc/testsuite/ChangeLog: > > 2019-10-21 Ilya Leoshkevich > > * gcc.target/s390/load-thread-pointer-once-2.c: New test. Ok. Thanks! Andreas