From patchwork Thu Mar 28 14:14:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 87772 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3DB553858C55 for ; Thu, 28 Mar 2024 14:14:49 +0000 (GMT) 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.133.124]) by sourceware.org (Postfix) with ESMTPS id 19B253858D1E for ; Thu, 28 Mar 2024 14:14:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 19B253858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 19B253858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711635261; cv=none; b=ebhGYip5iWws1vV/wUnrsDODzLkRTJ6W6Q2o9UqA2uyHt5mR8Z97HsYRfMnX+l3BAjxrl9xlLqLFGHaeO2lXXywD5avlyCYI9QJUyJJIzwQ40F+baaiv97dUWlM3r1+GfroEtc5WSdGZvbZzeknhxVwiNQ72m0RykJoyzQT1iNw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711635261; c=relaxed/simple; bh=wOa/PWsLUe42XILS68xrEsk0INgM5FSL3p0YcmpADWI=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=knJvevBZl5Bg/7eoLZMMYQmCFh9QLZVk3uf7KMQ+C1kEFWkY8ZqDH2rEs7vwgqpEplbpIeFAKttJaqL+v1XVIYhe2QAU79lJDBJJjRbPaVB9P/hA+znYg8bGzxoMUvZ577BUR86R8K03Xno3hq+/qp9KqtzMZpbBBm577M14qYY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711635259; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=ikacmsIE7GxN0j7sKP1bWO9tAuJHBYjR2+RXMkNMBwg=; b=CwUBO9MQpkY7VwWKPXgX9BDgKdDjWkh/2ak9/OhbBxU4AWfI+4AlLNrao0uU7qRYDaDFwd Jbx4+ffDVWnuWh8dFiS1nhRZg5+Y5JTQp7zN+NJ0JUIXGiRxbEt3DDI7VKraY7J+ZHM9gN WiMfGDfpdwYO6tOVpxxyyBEMx3PL1s0= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-6-Ku9mxUtsN1O0RWSbfVrjrw-1; Thu, 28 Mar 2024 10:14:16 -0400 X-MC-Unique: Ku9mxUtsN1O0RWSbfVrjrw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8BECD3CBDFC0 for ; Thu, 28 Mar 2024 14:14:15 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.57]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4D26C1121306 for ; Thu, 28 Mar 2024 14:14:15 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 42SEE8qC1229363 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 28 Mar 2024 15:14:09 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 42SEE82r1229362 for gcc-patches@gcc.gnu.org; Thu, 28 Mar 2024 15:14:08 +0100 Date: Thu, 28 Mar 2024 15:14:08 +0100 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] predict: Fix comment typo Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Hi! I've noticed a typo in a comment. Fixed thusly, committed to trunk as obvious. 2024-03-28 Jakub Jelinek * predict.cc (estimate_bb_frequencies): Fix comment typo, scalling -> scaling. Jakub --- gcc/predict.cc.jj 2024-01-18 08:44:33.593917768 +0100 +++ gcc/predict.cc 2024-03-28 14:20:22.642724959 +0100 @@ -4035,7 +4035,7 @@ estimate_bb_frequencies () /* Scaling frequencies up to maximal profile count may result in frequent overflows especially when inlining loops. - Small scalling results in unnecesary precision loss. Stay in + Small scaling results in unnecesary precision loss. Stay in the half of the (exponential) range. */ freq_max = (sreal (1) << (profile_count::n_bits / 2)) / freq_max; if (freq_max < 16)