From patchwork Thu Feb 6 14:15:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 1234375 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-519054-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha1 header.s=default header.b=SI1aJuR2; dkim-atps=neutral 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 48D0pb5g4nz9sRG for ; Fri, 7 Feb 2020 01:16:05 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :reply-to:to:cc:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=W1U c3tqDdY5Fy/Z4nHghTto6sga73jfTgU3XMITyIVZXnns8/Une4KiXAcXQNxQMkp7 CcP/bz7d7mRiEX7DTM7bp/LI3zS1aq4fMOXltw5TcE9IpuxhsQYZReG4vQ8krMhW 6cyCcw9FPyB3d3S7oPKjE5jwqv6FKfiOpHvyZxkk= 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 :reply-to:to:cc:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=6ycFM6kPj ah5BWQNRXFocmRn91M=; b=SI1aJuR2NjZyRU8SXS/LLiEU36urfBcf4UR3YQDln LsjDbRQ/M5uVxBiN9QCicAAUXGD5jsk64y8+BRLdruTQ741wi6YvHHdUtxVQyDfr 7mUc0kxLfcmchC1MFp7KeJ55tz/Ap5h6ztgFJNoqx7SaKin1RprXIfEpqc4PUXvO 4U= Received: (qmail 113592 invoked by alias); 6 Feb 2020 14:15:56 -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 113502 invoked by uid 89); 6 Feb 2020 14:15:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, HTML_MESSAGE, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.1 spammy=herein, H*c:alternative, H*UA:Macintosh, H*u:Macintosh 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, 06 Feb 2020 14:15:40 +0000 Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 016EBxgQ167812; Thu, 6 Feb 2020 09:15:38 -0500 Received: from ppma01dal.us.ibm.com (83.d6.3fa9.ip4.static.sl-reverse.com [169.63.214.131]) by mx0a-001b2d01.pphosted.com with ESMTP id 2y0m78rd3v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Feb 2020 09:15:38 -0500 Received: from pps.filterd (ppma01dal.us.ibm.com [127.0.0.1]) by ppma01dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 016EF9he005732; Thu, 6 Feb 2020 14:15:36 GMT Received: from b03cxnp07028.gho.boulder.ibm.com (b03cxnp07028.gho.boulder.ibm.com [9.17.130.15]) by ppma01dal.us.ibm.com with ESMTP id 2xykc98vrc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Feb 2020 14:15:36 +0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 016EFZCY49676720 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 6 Feb 2020 14:15:35 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 038E8BE053; Thu, 6 Feb 2020 14:15:35 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D1A73BE04F; Thu, 6 Feb 2020 14:15:34 +0000 (GMT) Received: from Bills-MacBook-Pro.local (unknown [9.211.138.47]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 6 Feb 2020 14:15:34 +0000 (GMT) Reply-To: wschmidt@linux.ibm.com To: GCC Patches Cc: Segher Boessenkool From: Bill Schmidt Subject: rs6000: Correct documentation for __builtin_mtfsf Message-ID: <0c811e14-82c1-71de-3d49-cc074cb7da25@linux.ibm.com> Date: Thu, 6 Feb 2020 08:15:34 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 Hi, PR93570 reports that the documentation shows __builtin_mtfsf to return a double, but that is incorrect.  The return signature should be void. Corrected herein. Built on powerpc64le-unknown-linux-gnu and verified correct PDF output. Committed as obvious. Thanks! Bill 2020-02-06 Bill Schmidt PR target/93570 * doc/extend.texi (Basic PowerPC Built-in Functions): Correct prototype for __builtin_mtfsf. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index ec99c38a607..5739063b330 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -17166,7 +17166,7 @@ unsigned long __builtin_ppc_mftb (); double __builtin_unpack_ibm128 (__ibm128, int); __ibm128 __builtin_pack_ibm128 (double, double); double __builtin_mffs (void); -double __builtin_mtfsf (const int, double); +void __builtin_mtfsf (const int, double); void __builtin_mtfsb0 (const int); void __builtin_mtfsb1 (const int); void __builtin_set_fpscr_rn (int);