From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id A38E03857C5D; Fri, 5 Nov 2021 13:20:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A38E03857C5D Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1A5BXHXD013528; Fri, 5 Nov 2021 13:20:35 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 3c510xnj8p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 05 Nov 2021 13:20:34 +0000 Received: from m0098413.ppops.net (m0098413.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 1A5DFxGe018791; Fri, 5 Nov 2021 13:20:34 GMT Received: from ppma02wdc.us.ibm.com (aa.5b.37a9.ip4.static.sl-reverse.com [169.55.91.170]) by mx0b-001b2d01.pphosted.com with ESMTP id 3c510xnj8c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 05 Nov 2021 13:20:34 +0000 Received: from pps.filterd (ppma02wdc.us.ibm.com [127.0.0.1]) by ppma02wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 1A5D9IGe003267; Fri, 5 Nov 2021 13:20:33 GMT Received: from b03cxnp07029.gho.boulder.ibm.com (b03cxnp07029.gho.boulder.ibm.com [9.17.130.16]) by ppma02wdc.us.ibm.com with ESMTP id 3c4t41j1de-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 05 Nov 2021 13:20:33 +0000 Received: from b03ledav002.gho.boulder.ibm.com (b03ledav002.gho.boulder.ibm.com [9.17.130.233]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 1A5DKWdf37356012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 5 Nov 2021 13:20:32 GMT Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B0189136066; Fri, 5 Nov 2021 13:20:32 +0000 (GMT) Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 76F88136051; Fri, 5 Nov 2021 13:20:32 +0000 (GMT) Received: from [9.211.111.110] (unknown [9.211.111.110]) by b03ledav002.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 5 Nov 2021 13:20:32 +0000 (GMT) Message-ID: <016e938f-d115-7e0d-1d2f-cf9495708e41@linux.ibm.com> Date: Fri, 5 Nov 2021 08:20:31 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Reply-To: wschmidt@linux.ibm.com Subject: Re: [PATCH v2] libstdc++: Add support for POWER9 DARN instruction to std::random_device To: Jonathan Wakely Cc: libstdc++ , gcc Patches , Segher Boessenkool References: <00a3f87e-77d4-39d4-8385-4207ab271bb1@linux.ibm.com> From: Bill Schmidt In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: vyNGnSTWmoMX777bwjMw74HrUrvk30TD X-Proofpoint-GUID: 0ZcXzEuEukXSlwI16fnRGUxZ4Ki0VbT2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-05_02,2021-11-03_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 bulkscore=0 clxscore=1015 suspectscore=0 mlxlogscore=999 malwarescore=0 phishscore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111050076 X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2021 13:20:39 -0000 On 11/5/21 7:44 AM, Jonathan Wakely wrote: > On Thu, 4 Nov 2021 at 20:44, Bill Schmidt wrote: For posterity:=C2=A0 Thi= s was discussed briefly on IRC, and Segher approved with some simplificatio= ns and a request to implement a fail/retry check. Here's what I have now. N= o more assembler check=20 > On Thu, 4 Nov 2021 at 20:44, Bill Schmidt wrote: > > For posterity:=C2=A0 This was discussed briefly on IRC, and Segher ap= proved with some > simplifications and a request to implement a fail/retry check. > > > Here's what I have now. No more assembler check in configure, and it uses= the 64-bit __builtin_darn() and truncates it to 32-bit, or retries (up to = 100 times) if it fails. > > I'm doing some more testing now. > Those changes look good from my perspective.=C2=A0 Thanks again for this wo= rk!=C2=A0 (Not a maintainer, blah blah...) Bill