From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 66458 invoked by alias); 11 Jul 2016 20:07:45 -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 66374 invoked by uid 89); 11 Jul 2016 20:07:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=King, IEEE, allocator, modifying 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 (AES256-SHA encrypted) ESMTPS; Mon, 11 Jul 2016 20:07:35 +0000 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u6BK3nbw099637 for ; Mon, 11 Jul 2016 16:07:33 -0400 Received: from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.151]) by mx0a-001b2d01.pphosted.com with ESMTP id 242we12v8u-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 11 Jul 2016 16:07:33 -0400 Received: from localhost by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 11 Jul 2016 14:07:32 -0600 Received: from d03dlp02.boulder.ibm.com (9.17.202.178) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 11 Jul 2016 14:07:03 -0600 X-IBM-Helo: d03dlp02.boulder.ibm.com X-IBM-MailFrom: meissner@ibm-tiger.the-meissners.org Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by d03dlp02.boulder.ibm.com (Postfix) with ESMTP id B53EF3E40041; Mon, 11 Jul 2016 14:07:02 -0600 (MDT) Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u6BK72nv41222336; Mon, 11 Jul 2016 13:07:02 -0700 Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8C4BDC603E; Mon, 11 Jul 2016 14:07:02 -0600 (MDT) Received: from ibm-tiger.the-meissners.org (unknown [9.32.77.111]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP id 77E56C6043; Mon, 11 Jul 2016 14:07:02 -0600 (MDT) Received: by ibm-tiger.the-meissners.org (Postfix, from userid 500) id D85564429D; Mon, 11 Jul 2016 16:07:01 -0400 (EDT) Date: Mon, 11 Jul 2016 20:07:00 -0000 From: Michael Meissner To: gcc-patches@gcc.gnu.org, Segher Boessenkool , David Edelsohn , Bill Schmidt Subject: [PATCH], PowerPC support to enable -mlra and/or -mfloat128 Mail-Followup-To: Michael Meissner , gcc-patches@gcc.gnu.org, Segher Boessenkool , David Edelsohn , Bill Schmidt MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16071120-0008-0000-0000-000005078BA8 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16071120-0009-0000-0000-0000393709B0 Message-Id: <20160711200701.GA21095@ibm-tiger.the-meissners.org> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-07-11_13:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1607110197 X-IsSubscribed: yes X-SW-Source: 2016-07/txt/msg00563.txt.bz2 These configuration switches will allow the PowerPC GCC developers to switch defaults in the compiler to debug the code, before making the decision to flip the default permanently. In the future, when the defaults have been changed, these configuration options would allow developers to go back to the previous versions without modifying the code using the --disable- form. The first option is --enable-lra, which changes the compiler so that the default is to use the LRA register allocator instead of the older RELOAD allocator. The PowerPC team would like to switch the default, but there is a critical bug in LRA that must be fixed before we can change the default: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69847 The second option is --enable-float128, which changes the compiler so that the default for VSX systems is to enable the __float128 keyword to allow users access to the IEEE 128-bit floating point implementation without having to use the keyword. Both of these switches are debug switches, and are not meant to be used by non-developers. The --enable-lra swich causes the following tests to fail: * testsuite/gcc.target/powerpc/bool3-p7.c * testsuite/gcc.target/powerpc/bool3-p8.c See bug 71846 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71846) for more details. The --enable-float128 switch causes libquadmath and libstdc++ to fail because we do not yet have enough of the support in the compiler to allow these libraries to build. It is our intention, that we will use the --enable-float128 option and work on getting the libraries fixed. If I build just a C compiler and disable building libquadmath, there are no regressions in the C tests with __float128 enabled or disabled. Can I check these options into the trunk as non-default options? -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meissner@linux.vnet.ibm.com, phone: +1 (978) 899-4797