From patchwork Mon Dec 13 05:26:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 48860 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 902763858004 for ; Mon, 13 Dec 2021 05:27:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 902763858004 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1639373235; bh=nWqFjutv4hQw9VlJuSKXyzHm8QK1QkXbBOh+TfKWt08=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=QWWlmkM7Kfo8I+VZwPiKqi+z9juEf19vqSoZa/FVIkwZSpKMmMvw4Iw7lbs0Y17M8 LOL0sEtqd2p0h2kLpQ9yvsrss26bvG2yxJMOlLb3dPlZbaaR+DL3Z1E2Ja75dIZLsf ORgv2HG7YS006aHbgBJTQEz2GiGnwunhuohFVNBs= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from dog.birch.relay.mailchannels.net (dog.birch.relay.mailchannels.net [23.83.209.48]) by sourceware.org (Postfix) with ESMTPS id 24A663858401 for ; Mon, 13 Dec 2021 05:26:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 24A663858401 X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 00F396C09CA for ; Mon, 13 Dec 2021 05:26:51 +0000 (UTC) Received: from pdx1-sub0-mail-a305.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 53BFC6C0807 for ; Mon, 13 Dec 2021 05:26:50 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from pdx1-sub0-mail-a305.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.109.250.13 (trex/6.4.3); Mon, 13 Dec 2021 05:26:50 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Belong-Interest: 255c7dd8651eb799_1639373210577_1564340659 X-MC-Loop-Signature: 1639373210577:3281897915 X-MC-Ingress-Time: 1639373210577 Received: from rhbox.redhat.com (unknown [223.185.14.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a305.dreamhost.com (Postfix) with ESMTPSA id 4JC93r5qmtz29 for ; Sun, 12 Dec 2021 21:26:48 -0800 (PST) To: libc-alpha@sourceware.org Subject: [committed] Cleanup encoding in comments Date: Mon, 13 Dec 2021 10:56:40 +0530 Message-Id: <20211213052640.2370268-1-siddhesh@sourceware.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1170.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_ABUSEAT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NEUTRAL, 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Siddhesh Poyarekar via Libc-alpha From: Siddhesh Poyarekar Reply-To: Siddhesh Poyarekar Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" Replace non-UTF-8 and non-ASCII characters in comments with their UTF-8 equivalents so that files don't end up with mixed encodings. With this, all files (except tests that actually test different encodings) have a single encoding. Signed-off-by: Siddhesh Poyarekar --- sysdeps/i386/fpu/e_pow.S | 20 ++++++++++---------- sysdeps/i386/fpu/e_powl.S | 20 ++++++++++---------- sysdeps/ia64/fpu/s_tanf.S | 4 ++-- sysdeps/x86_64/fpu/e_powl.S | 20 ++++++++++---------- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/sysdeps/i386/fpu/e_pow.S b/sysdeps/i386/fpu/e_pow.S index 1ea6f09c15..a3280bf144 100644 --- a/sysdeps/i386/fpu/e_pow.S +++ b/sysdeps/i386/fpu/e_pow.S @@ -79,7 +79,7 @@ ENTRY(__ieee754_pow) cmpb $0x40, %ah // is y == 0 ? je 11f - cmpb $0x05, %ah // is y == ±inf ? + cmpb $0x05, %ah // is y == ±inf ? je 12f cmpb $0x01, %ah // is y == NaN ? @@ -95,10 +95,10 @@ ENTRY(__ieee754_pow) movb %ah, %dh andb $0x45, %ah cmpb $0x40, %ah - je 20f // x is ±0 + je 20f // x is ±0 cmpb $0x05, %ah - je 15f // x is ±inf + je 15f // x is ±inf cmpb $0x01, %ah je 32f // x is NaN @@ -173,7 +173,7 @@ ENTRY(__ieee754_pow) DBL_NARROW_EVAL_UFLOW_NONNAN ret - /* y is ±NAN */ + /* y is ±NAN */ 30: fldl 4(%esp) // x : y fldl MO(one) // 1.0 : x : y fucomp %st(1) // x : y @@ -267,13 +267,13 @@ ENTRY(__ieee754_pow) ret - // pow(x,±0) = 1 + // pow(x,±0) = 1 .align ALIGNARG(4) 11: fstp %st(0) // pop y fldl MO(one) ret - // y == ±inf + // y == ±inf .align ALIGNARG(4) 12: fstp %st(0) // pop y fldl MO(one) // 1 @@ -304,7 +304,7 @@ ENTRY(__ieee754_pow) cfi_adjust_cfa_offset (8) .align ALIGNARG(4) - // x is ±inf + // x is ±inf 15: fstp %st(0) // y testb $2, %dh jz 16f // jump if x == +inf @@ -362,12 +362,12 @@ ENTRY(__ieee754_pow) cfi_adjust_cfa_offset (8) .align ALIGNARG(4) - // x is ±0 + // x is ±0 20: fstp %st(0) // y testb $2, %dl jz 21f // y > 0 - // x is ±0 and y is < 0. We must find out whether y is an odd integer. + // x is ±0 and y is < 0. We must find out whether y is an odd integer. testb $2, %dh jz 25f @@ -414,7 +414,7 @@ ENTRY(__ieee754_pow) cfi_adjust_cfa_offset (8) .align ALIGNARG(4) - // x is ±0 and y is > 0. We must find out whether y is an odd integer. + // x is ±0 and y is > 0. We must find out whether y is an odd integer. 21: testb $2, %dh jz 22f diff --git a/sysdeps/i386/fpu/e_powl.S b/sysdeps/i386/fpu/e_powl.S index 2826ba4980..50692c7381 100644 --- a/sysdeps/i386/fpu/e_powl.S +++ b/sysdeps/i386/fpu/e_powl.S @@ -85,7 +85,7 @@ ENTRY(__ieee754_powl) cmpb $0x40, %ah // is y == 0 ? je 11f - cmpb $0x05, %ah // is y == ±inf ? + cmpb $0x05, %ah // is y == ±inf ? je 12f cmpb $0x01, %ah // is y == NaN ? @@ -101,10 +101,10 @@ ENTRY(__ieee754_powl) movb %ah, %dh andb $0x45, %ah cmpb $0x40, %ah - je 20f // x is ±0 + je 20f // x is ±0 cmpb $0x05, %ah - je 15f // x is ±inf + je 15f // x is ±inf cmpb $0x01, %ah je 32f // x is NaN @@ -195,7 +195,7 @@ ENTRY(__ieee754_powl) LDBL_CHECK_FORCE_UFLOW_NONNAN ret - /* y is ±NAN */ + /* y is ±NAN */ 30: fldt 4(%esp) // x : y fldl MO(one) // 1.0 : x : y fucomp %st(1) // x : y @@ -247,7 +247,7 @@ ENTRY(__ieee754_powl) cfi_adjust_cfa_offset (-36) ret - // pow(x,±0) = 1, unless x is sNaN + // pow(x,±0) = 1, unless x is sNaN .align ALIGNARG(4) 11: fstp %st(0) // pop y fldt 4(%esp) // x @@ -265,7 +265,7 @@ ENTRY(__ieee754_powl) fadd %st(0) ret - // y == ±inf + // y == ±inf .align ALIGNARG(4) 12: fstp %st(0) // pop y fldl MO(one) // 1 @@ -297,7 +297,7 @@ ENTRY(__ieee754_powl) cfi_adjust_cfa_offset (8) .align ALIGNARG(4) - // x is ±inf + // x is ±inf 15: fstp %st(0) // y testb $2, %dh jz 16f // jump if x == +inf @@ -358,12 +358,12 @@ ENTRY(__ieee754_powl) cfi_adjust_cfa_offset (8) .align ALIGNARG(4) - // x is ±0 + // x is ±0 20: fstp %st(0) // y testb $2, %dl jz 21f // y > 0 - // x is ±0 and y is < 0. We must find out whether y is an odd integer. + // x is ±0 and y is < 0. We must find out whether y is an odd integer. testb $2, %dh jz 25f @@ -413,7 +413,7 @@ ENTRY(__ieee754_powl) cfi_adjust_cfa_offset (8) .align ALIGNARG(4) - // x is ±0 and y is > 0. We must find out whether y is an odd integer. + // x is ±0 and y is > 0. We must find out whether y is an odd integer. 21: testb $2, %dh jz 22f diff --git a/sysdeps/ia64/fpu/s_tanf.S b/sysdeps/ia64/fpu/s_tanf.S index 8bbdee9232..30d11a6f88 100644 --- a/sysdeps/ia64/fpu/s_tanf.S +++ b/sysdeps/ia64/fpu/s_tanf.S @@ -224,7 +224,7 @@ LOCAL_OBJECT_END(coeff_B) LOCAL_LIBM_ENTRY(cotf) { .mlx - getf.exp rExp = f8 // ***** Get 2ˆ17 * s + E + getf.exp rExp = f8 // ***** Get 2^17 * s + E movl rSigRcpPiby2= 0xA2F9836E4E44152A // significand of 2/Pi } { .mlx @@ -251,7 +251,7 @@ LOCAL_LIBM_END(cotf) GLOBAL_IEEE754_ENTRY(tanf) { .mlx - getf.exp rExp = f8 // ***** Get 2ˆ17 * s + E + getf.exp rExp = f8 // ***** Get 2^17 * s + E movl rSigRcpPiby2= 0xA2F9836E4E44152A // significand of 2/Pi } { .mlx diff --git a/sysdeps/x86_64/fpu/e_powl.S b/sysdeps/x86_64/fpu/e_powl.S index 2a404eb3f8..2b0d48350f 100644 --- a/sysdeps/x86_64/fpu/e_powl.S +++ b/sysdeps/x86_64/fpu/e_powl.S @@ -80,7 +80,7 @@ ENTRY(__ieee754_powl) cmpb $0x40, %ah // is y == 0 ? je 11f - cmpb $0x05, %ah // is y == ±inf ? + cmpb $0x05, %ah // is y == ±inf ? je 12f cmpb $0x01, %ah // is y == NaN ? @@ -93,10 +93,10 @@ ENTRY(__ieee754_powl) movb %ah, %dh andb $0x45, %ah cmpb $0x40, %ah - je 20f // x is ±0 + je 20f // x is ±0 cmpb $0x05, %ah - je 15f // x is ±inf + je 15f // x is ±inf cmpb $0x01, %ah je 31f // x is NaN @@ -180,7 +180,7 @@ ENTRY(__ieee754_powl) LDBL_CHECK_FORCE_UFLOW_NONNAN ret - /* y is ±NAN */ + /* y is ±NAN */ 30: fldt 8(%rsp) // x : y fldl MO(one) // 1.0 : x : y fucomip %st(1),%st // x : y @@ -223,7 +223,7 @@ ENTRY(__ieee754_powl) cfi_adjust_cfa_offset (-40) ret - // pow(x,±0) = 1, unless x is sNaN + // pow(x,±0) = 1, unless x is sNaN .align ALIGNARG(4) 11: fstp %st(0) // pop y fldt 8(%rsp) // x @@ -241,7 +241,7 @@ ENTRY(__ieee754_powl) fadd %st(0) ret - // y == ±inf + // y == ±inf .align ALIGNARG(4) 12: fstp %st(0) // pop y fldl MO(one) // 1 @@ -277,7 +277,7 @@ ENTRY(__ieee754_powl) ret .align ALIGNARG(4) - // x is ±inf + // x is ±inf 15: fstp %st(0) // y testb $2, %dh jz 16f // jump if x == +inf @@ -343,12 +343,12 @@ ENTRY(__ieee754_powl) ret .align ALIGNARG(4) - // x is ±0 + // x is ±0 20: fstp %st(0) // y testb $2, %dl jz 21f // y > 0 - // x is ±0 and y is < 0. We must find out whether y is an odd integer. + // x is ±0 and y is < 0. We must find out whether y is an odd integer. testb $2, %dh jz 25f @@ -392,7 +392,7 @@ ENTRY(__ieee754_powl) ret .align ALIGNARG(4) - // x is ±0 and y is > 0. We must find out whether y is an odd integer. + // x is ±0 and y is > 0. We must find out whether y is an odd integer. 21: testb $2, %dh jz 22f