From patchwork Fri Oct 14 10:03:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aldy Hernandez X-Patchwork-Id: 2635 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp94663wrs; Fri, 14 Oct 2022 03:04:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM71gTULtBAoRoOFDV17l8gsmng28H9WIx0bwlE1/yMfE1s7gaEzphzOV/vTQPkiHSu5fZ6+ X-Received: by 2002:a05:6402:2694:b0:45c:a035:34bc with SMTP id w20-20020a056402269400b0045ca03534bcmr3529827edd.158.1665741863077; Fri, 14 Oct 2022 03:04:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665741863; cv=none; d=google.com; s=arc-20160816; b=LsDR12z4OFWtdemXVZxDo10NZQzVHlARki/6cOIbE93cxrUb4YqX9khn+fEEl3OFcT XLItUPuXM2bDfCH1jDFfT2a7r7kNqmnI3wUjZYJtSNBJdqHSsljBblGiLBhwyPsieHrr ffCEiMxZRIv+ruGM2TaSWLiAyQJhltpBcQd6IN8xpVSUwU5+Lrl0PzMFanSEkXWTHBt2 8jONORbIvkkhFQK8/lDraD+rneCOuqpXeEGd+xK0r59+He9o2Et0h9oBhosrmcJ883X8 SQRyblFw1tx4MqtnfR3N8nKh7juVhc0zNn/vkF+IlCfhX1Gvf9MJaWWqpbCILHnuETIa BGaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=E4/PXtzZYEQq9oslUT6iwXGSJFA2aTO7IH0tJekNtDk=; b=oKHDl5k15/GUqyUAAhECBOtxYIXrJ43aYjXiApDPsTJDBWmu/gR/OVRBKdhg4PHPNd ngbg6WXN7XmvGqd89ktRp3c+Yflz7GNhDRm0jzir7avzEejJkYVF0n8XJDJN2veRjDc3 PVOumRvs1ZuMDt5xS4e1pzr9Y2bfS1QYu3r0usaHv/pk229qTb2Gta8OBCnGJ8ctE2B7 L+zQ2JBlaQRGSN25EIlELynVxBJ8cdv7cbLopRs9J8EivsasgGpnRLcgojMBbX3i06mT GC7dMeYCiKv2qp5G4iV+4xgKT+jKly7j/pyLNOZnOFjkN+nikmx3mcedPmburlAW/w3W xxUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=sNFoDu1H; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id sd41-20020a1709076e2900b00780e022dfb8si2071523ejc.494.2022.10.14.03.04.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 03:04:23 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=sNFoDu1H; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 224533851AB7 for ; Fri, 14 Oct 2022 10:04:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 224533851AB7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665741862; bh=E4/PXtzZYEQq9oslUT6iwXGSJFA2aTO7IH0tJekNtDk=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=sNFoDu1H7OB2IKWyGcw7CC3NuyGnnROcf0Zqr40RX9gbI8288iUpzWREoqz4XjxFG p9VA7bTrQfy20NUM2IDF5xS6DlB3y9bA/KKUPJhn4kh+aX0Qqn4+NRuIihRgf0NaMM HAjVPRrmfeuGa5IaO3sHeVXac0YI+u2PmfOQDNKE= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id BF9F83852753 for ; Fri, 14 Oct 2022 10:03:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BF9F83852753 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-639-RjBNoFbTPMqabie60dAL2A-1; Fri, 14 Oct 2022 06:03:38 -0400 X-MC-Unique: RjBNoFbTPMqabie60dAL2A-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 45FE938149B1 for ; Fri, 14 Oct 2022 10:03:27 +0000 (UTC) Received: from abulafia.quesejoda.com (unknown [10.39.195.163]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8CD861402156; Fri, 14 Oct 2022 10:03:20 +0000 (UTC) Received: from abulafia.quesejoda.com (localhost [127.0.0.1]) by abulafia.quesejoda.com (8.17.1/8.17.1) with ESMTPS id 29EA3IRu568810 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 14 Oct 2022 12:03:18 +0200 Received: (from aldyh@localhost) by abulafia.quesejoda.com (8.17.1/8.17.1/Submit) id 29EA3Iu6568809; Fri, 14 Oct 2022 12:03:18 +0200 To: GCC patches Subject: [COMMITTED] Add cases for CFN_BUILT_IN_SIGNBIT[FL]. Date: Fri, 14 Oct 2022 12:03:16 +0200 Message-Id: <20221014100316.568795-1-aldyh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Aldy Hernandez via Gcc-patches From: Aldy Hernandez Reply-To: Aldy Hernandez Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746656939749832144?= X-GMAIL-MSGID: =?utf-8?q?1746656939749832144?= gcc/ChangeLog: * gimple-range-op.cc (gimple_range_op_handler::maybe_builtin_call): Add CFN_BUILT_IN_SIGNBIT[FL]* entries. --- gcc/gimple-range-op.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/gimple-range-op.cc b/gcc/gimple-range-op.cc index bc4389eb2e1..9bdef3d45c0 100644 --- a/gcc/gimple-range-op.cc +++ b/gcc/gimple-range-op.cc @@ -757,6 +757,8 @@ gimple_range_op_handler::maybe_builtin_call () break; case CFN_BUILT_IN_SIGNBIT: + case CFN_BUILT_IN_SIGNBITF: + case CFN_BUILT_IN_SIGNBITL: m_op1 = gimple_call_arg (call, 0); m_float = &op_cfn_signbit; m_valid = true;