[{"id":1764381,"web_url":"http://patchwork.ozlabs.org/comment/1764381/","msgid":"<4f5dd767-65d9-016e-d38a-e8b02a67ad84@linux.vnet.ibm.com>","list_archive_url":null,"date":"2017-09-06T21:13:50","subject":"Re: [PATCH,\n\trs6000] Add builtins to convert from float/double to int/long using\n\tcurrent rounding mode","submitter":{"id":5186,"url":"http://patchwork.ozlabs.org/api/people/5186/","name":"Pat Haugen","email":"pthaugen@linux.vnet.ibm.com"},"content":"On 09/06/2017 11:24 AM, Carl Love wrote:\n> +  \"fctiw %1,%1; mfvsrd %0,%1; extsw %0,%0\"\n> +  [(set_attr \"type\" \"integer\")\n> +   (set_attr \"length\" \"4\")])\n\nShould be type \"three\" and length \"12\".\n\n-Pat","headers":{"Return-Path":"<gcc-patches-return-461645-incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list gcc-patches@gcc.gnu.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-461645-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"EA43Rz0C\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xnbv14mbtz9sRY\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 07:14:35 +1000 (AEST)","(qmail 4853 invoked by alias); 6 Sep 2017 21:14:25 -0000","(qmail 1715 invoked by uid 89); 6 Sep 2017 21:14:19 -0000","from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com)\n\t(148.163.156.1) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tWed, 06 Sep 2017 21:14:15 +0000","from pps.filterd (m0098396.ppops.net [127.0.0.1])\tby\n\tmx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv86LEBq5062731\tfor <gcc-patches@gcc.gnu.org>;\n\tWed, 6 Sep 2017 17:14:13 -0400","from e17.ny.us.ibm.com (e17.ny.us.ibm.com [129.33.205.207])\tby\n\tmx0a-001b2d01.pphosted.com with ESMTP id\n\t2ctm6q6by0-1\t(version=TLSv1.2 cipher=AES256-SHA bits=256\n\tverify=NOT)\tfor <gcc-patches@gcc.gnu.org>;\n\tWed, 06 Sep 2017 17:14:12 -0400","from localhost\tby e17.ny.us.ibm.com with IBM ESMTP SMTP Gateway:\n\tAuthorized Use Only! Violators will be prosecuted\tfor\n\t<gcc-patches@gcc.gnu.org> from <pthaugen@linux.vnet.ibm.com>;\n\tWed, 6 Sep 2017 17:13:54 -0400","from b01cxnp23034.gho.pok.ibm.com (9.57.198.29)\tby\n\te17.ny.us.ibm.com (146.89.104.204) with IBM ESMTP SMTP\n\tGateway: Authorized Use Only! Violators will be prosecuted;\n\tWed, 6 Sep 2017 17:13:51 -0400","from b01ledav005.gho.pok.ibm.com (b01ledav005.gho.pok.ibm.com\n\t[9.57.199.110])\tby b01cxnp23034.gho.pok.ibm.com\n\t(8.14.9/8.14.9/NCO v10.0) with ESMTP id v86LDo4w26542228;\n\tWed, 6 Sep 2017 21:13:50 GMT","from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1])\tby IMSVA\n\t(Postfix) with ESMTP id 750EEAE034;\n\tWed,  6 Sep 2017 17:14:17 -0400 (EDT)","from oc1687012634.ibm.com (unknown [9.10.86.162])\tby\n\tb01ledav005.gho.pok.ibm.com (Postfix) with ESMTP id\n\t00B67AE03B; Wed,  6 Sep 2017 17:14:16 -0400 (EDT)"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:subject:to:cc:references:from:date:mime-version:in-reply-to\n\t:content-type:content-transfer-encoding:message-id; q=dns; s=\n\tdefault; b=ONJdo9J3H6mWlavTA2L5NSgMJ5TH47sLJPsYrvMhd9cjatS04aVCB\n\tIjkP07AKjPk7St7pMOzfqDukjxj9VKOqwx/hrubB9IH0DxwC2vZkt0cT3H/dIWB9\n\tgj4tcNnAUU5kBLneQq57yHlqLi+DIJNSpzSrPzGAyaPPWZB6UGszEs=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:subject:to:cc:references:from:date:mime-version:in-reply-to\n\t:content-type:content-transfer-encoding:message-id; s=default;\n\tbh=OilIo/A6TlpEf355vxZI9mgWfiI=; b=EA43Rz0CoO4fuKbIRz1Tc3t50imK\n\thG/DOmQtHspvuPjLvJmjQLpj2Smp1TMSMJ8yTxNOAU+9dC8fe7VRz91zWGK0fKey\n\tG8Lf6E5QK51TVdDuZkY3jCePEfIDPi/eEcDIiLbVJ4kbz1tqGMy2Tsek6Eh2RO7A\n\twIfJrGBLiV6c1rw=","Mailing-List":"contact gcc-patches-help@gcc.gnu.org; run by ezmlm","Precedence":"bulk","List-Id":"<gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>","List-Archive":"<http://gcc.gnu.org/ml/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-help@gcc.gnu.org>","Sender":"gcc-patches-owner@gcc.gnu.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-1.9 required=5.0 tests=AWL, BAYES_00,\n\tKAM_LAZY_DOMAIN_SECURITY,\n\tRCVD_IN_DNSWL_LOW autolearn=no version=3.3.2\n\tspammy=Hx-languages-length:299, love","X-HELO":"mx0a-001b2d01.pphosted.com","Subject":"Re: [PATCH,\n\trs6000] Add builtins to convert from float/double to int/long using\n\tcurrent rounding mode","To":"Carl Love <cel@us.ibm.com>, gcc-patches@gcc.gnu.org,\n\tDavid Edelsohn <dje.gcc@gmail.com>,\n\tSegher Boessenkool <segher@kernel.crashing.org>","Cc":"Bill Schmidt <wschmidt@linux.vnet.ibm.com>","References":"<1504715047.18797.12.camel@us.ibm.com>","From":"Pat Haugen <pthaugen@linux.vnet.ibm.com>","Date":"Wed, 6 Sep 2017 16:13:50 -0500","User-Agent":"Mozilla/5.0 (X11; Linux x86_64;\n\trv:52.0) Gecko/20100101 Thunderbird/52.2.0","MIME-Version":"1.0","In-Reply-To":"<1504715047.18797.12.camel@us.ibm.com>","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"7bit","X-TM-AS-GCONF":"00","x-cbid":"17090621-0040-0000-0000-0000039D15FF","X-IBM-SpamModules-Scores":"","X-IBM-SpamModules-Versions":"BY=3.00007679; HX=3.00000241; KW=3.00000007;\n\tPH=3.00000004; SC=3.00000226; SDB=6.00913242; UDB=6.00458335;\n\tIPR=6.00693504; BA=6.00005574; NDR=6.00000001; ZLA=6.00000005;\n\tZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000;\n\tZU=6.00000002; MB=3.00017039; XFM=3.00000015;\n\tUTC=2017-09-06 21:13:52","X-IBM-AV-DETECTION":"SAVI=unused REMOTE=unused XFE=unused","x-cbparentid":"17090621-0041-0000-0000-0000079215F2","Message-Id":"<4f5dd767-65d9-016e-d38a-e8b02a67ad84@linux.vnet.ibm.com>","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-06_07:, , signatures=0","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=0 malwarescore=0 phishscore=0\n\tadultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx\n\tscancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1709060303","X-IsSubscribed":"yes"}},{"id":1764415,"web_url":"http://patchwork.ozlabs.org/comment/1764415/","msgid":"<1504736748.18797.15.camel@us.ibm.com>","list_archive_url":null,"date":"2017-09-06T22:25:48","subject":"Re: [PATCH,\n\trs6000] Add builtins to convert from float/double to int/long using\n\tcurrent rounding mode","submitter":{"id":1003,"url":"http://patchwork.ozlabs.org/api/people/1003/","name":"Carl Love","email":"cel@us.ibm.com"},"content":"On Wed, 2017-09-06 at 16:13 -0500, Pat Haugen wrote:\n> On 09/06/2017 11:24 AM, Carl Love wrote:\n> > +  \"fctiw %1,%1; mfvsrd %0,%1; extsw %0,%0\"\n> > +  [(set_attr \"type\" \"integer\")\n> > +   (set_attr \"length\" \"4\")])\n> \n> Should be type \"three\" and length \"12\".\n> \n> -Pat\n\nPat:\n\nYes, that is wrong in more ways then one.  Looks like I posted the wrong\nversion of the patch.  This was the first version which unfortunately\nresults in generating extra extsw instructions.  \n\nI withdraw this patch from consideration.\n\n                   Carl Love","headers":{"Return-Path":"<gcc-patches-return-461648-incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list gcc-patches@gcc.gnu.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-461648-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"RsjFJdQc\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xndTY3VdCz9s82\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 08:26:08 +1000 (AEST)","(qmail 121115 invoked by alias); 6 Sep 2017 22:26:01 -0000","(qmail 120164 invoked by uid 89); 6 Sep 2017 22:26:00 -0000","from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com)\n\t(148.163.158.5) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tWed, 06 Sep 2017 22:25:55 +0000","from pps.filterd (m0098414.ppops.net [127.0.0.1])\tby\n\tmx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv86MNraZ082719\tfor <gcc-patches@gcc.gnu.org>;\n\tWed, 6 Sep 2017 18:25:53 -0400","from e36.co.us.ibm.com (e36.co.us.ibm.com [32.97.110.154])\tby\n\tmx0b-001b2d01.pphosted.com with ESMTP id\n\t2ctntd9n1g-1\t(version=TLSv1.2 cipher=AES256-SHA bits=256\n\tverify=NOT)\tfor <gcc-patches@gcc.gnu.org>;\n\tWed, 06 Sep 2017 18:25:52 -0400","from localhost\tby e36.co.us.ibm.com with IBM ESMTP SMTP Gateway:\n\tAuthorized Use Only! Violators will be prosecuted\tfor\n\t<gcc-patches@gcc.gnu.org> from <cel@us.ibm.com>;\n\tWed, 6 Sep 2017 16:25:51 -0600","from b03cxnp08028.gho.boulder.ibm.com (9.17.130.20)\tby\n\te36.co.us.ibm.com (192.168.1.136) with IBM ESMTP SMTP\n\tGateway: Authorized Use Only! Violators will be prosecuted;\n\tWed, 6 Sep 2017 16:25:49 -0600","from b03ledav006.gho.boulder.ibm.com\n\t(b03ledav006.gho.boulder.ibm.com [9.17.130.237])\tby\n\tb03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0)\n\twith ESMTP id v86MPnwS32112818; Wed, 6 Sep 2017 15:25:49 -0700","from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1])\tby\n\tIMSVA (Postfix) with ESMTP id 2B935C6042;\n\tWed,  6 Sep 2017 16:25:49 -0600 (MDT)","from oc3304648336.ibm.com (unknown [9.70.82.190])\tby\n\tb03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP id\n\tA8F3BC6037; Wed,  6 Sep 2017 16:25:48 -0600 (MDT)"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:subject:from:to:cc:date:in-reply-to:references:content-type\n\t:mime-version:content-transfer-encoding:message-id; q=dns; s=\n\tdefault; b=ZNXJ89RESTpchZpvOQKkW0z7DBVJZMEq2MlqaSwU3VwsxQnIBzFKx\n\tIg6eLcdfvSlouxUKHrip4rsQwqr88do3iwebPBxyrTiWnSh5/zYmVq4gP/ZwEcy3\n\tlwR3BjnRp0/3kTMdditqORXJr9+n3ChCjj1v8DeK1bHG+u3aW/nAwA=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:subject:from:to:cc:date:in-reply-to:references:content-type\n\t:mime-version:content-transfer-encoding:message-id; s=default;\n\tbh=A5n9KCHtd2n3yFvpUIx95t/r7f4=; b=RsjFJdQc4S0Z0lW3ZteVu2eaWwTJ\n\t2ZILJDgu0a+2OjFZhaiGQytqYqDNZB93u9eZDu7cERNktmHH94BYI//DUNgO8efi\n\tmkO0ZwO7hlTdp+5yfkzW99pNJhmtsbMZgfjt3DqqFns6AuWeWdGK23Ethh+8a6cm\n\tuT+/QJvRINoiGOI=","Mailing-List":"contact gcc-patches-help@gcc.gnu.org; run by ezmlm","Precedence":"bulk","List-Id":"<gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>","List-Archive":"<http://gcc.gnu.org/ml/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-help@gcc.gnu.org>","Sender":"gcc-patches-owner@gcc.gnu.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-4.3 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_LOW,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=HTo:U*pthaugen,\n\tlove","X-HELO":"mx0a-001b2d01.pphosted.com","Subject":"Re: [PATCH,\n\trs6000] Add builtins to convert from float/double to int/long using\n\tcurrent rounding mode","From":"Carl Love <cel@us.ibm.com>","To":"Pat Haugen <pthaugen@linux.vnet.ibm.com>","Cc":"gcc-patches@gcc.gnu.org, David Edelsohn <dje.gcc@gmail.com>,\n\tSegher Boessenkool <segher@kernel.crashing.org>,\n\tBill Schmidt <wschmidt@linux.vnet.ibm.com>","Date":"Wed, 06 Sep 2017 15:25:48 -0700","In-Reply-To":"<4f5dd767-65d9-016e-d38a-e8b02a67ad84@linux.vnet.ibm.com>","References":"<1504715047.18797.12.camel@us.ibm.com>\t\n\t<4f5dd767-65d9-016e-d38a-e8b02a67ad84@linux.vnet.ibm.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Mime-Version":"1.0","Content-Transfer-Encoding":"7bit","X-TM-AS-GCONF":"00","x-cbid":"17090622-0020-0000-0000-00000CAC4707","X-IBM-SpamModules-Scores":"","X-IBM-SpamModules-Versions":"BY=3.00007679; HX=3.00000241; KW=3.00000007;\n\tPH=3.00000004; SC=3.00000226; SDB=6.00913265; UDB=6.00458349;\n\tIPR=6.00693528; BA=6.00005574; NDR=6.00000001; ZLA=6.00000005;\n\tZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000;\n\tZU=6.00000002; MB=3.00017040; XFM=3.00000015;\n\tUTC=2017-09-06 22:25:51","X-IBM-AV-DETECTION":"SAVI=unused REMOTE=unused XFE=unused","x-cbparentid":"17090622-0021-0000-0000-00005E07B4B8","Message-Id":"<1504736748.18797.15.camel@us.ibm.com>","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-06_07:, , signatures=0","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=0 malwarescore=0 phishscore=0\n\tadultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx\n\tscancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1709060319","X-IsSubscribed":"yes"}}]