From nobody Wed Jul 31 17:23:58 2024 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WYzTq13Kxz5SFrd; Wed, 31 Jul 2024 17:23:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WYzTp75Spz4Hrq; Wed, 31 Jul 2024 17:23:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722446639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tXPHj7kyFLQUxuPWaHicnujiNjR4p9+l+yE6TxjFhOE=; b=jvNQKr3MaKmFy0V72EZCZi11hFYly4FnqHAtJbIDjBjxCDqxBTsEjrKTwhuTnATIacZdOW JrkQp6MpJ4XuUcN5+6CCqF9iUI1j2TnxKiUaqGXIF8yy1wOOtF2y9PKeUtM17VZibLDrsa yc1Gz7lelrQjTWp5+LIMTliNhj4oDN20NQ78tc+lYV5EQns5+hYZC9PLqb58kxvOEfhdib RwnjHQQQnxyLDoIzeYwZozOqoKu2QuACwR/TUYTtaNiZZtvOp0ToHCkvNgVjHNxGX89Chb pF1XwZBxDEOYbr4mwbO17xXPXAMJ1pfscSBgJ4+SNnsXiRmiGhV6JNyN37bmQg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722446639; a=rsa-sha256; cv=none; b=te4XhoIGJeq0lDu2JjHsdyuYZoMj0PylFjeAE7ayzBcV42WLFQtrltVyJZyArItO1u4wQb 6/jBBnP2DkWItQjhn+H3Ao0scGEXM99q7j2mkIoyRxKa06oL7Rir6EWVdoOPLnpXzH/+k3 sH7iXRztDyu172YlikV7unzcKV2GVXQkbI73ZLnfKz5y7Ch++coSbzekx7W5TyEsROHOpI X+vJU/z5Rdsj6XNlBoSKdV6NHY32qp6iMJfPqnrcB1jSkSto2frx9VdoC1gtFdTTrKdoIb XQaHzjPg/b53gY6z+vlLIfaVMHaPwnua5mcivJEly63Nli+bxsrUvw1uMPuG1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722446639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tXPHj7kyFLQUxuPWaHicnujiNjR4p9+l+yE6TxjFhOE=; b=kpE3hA8J0zx3YrZ5CvtEOUQza6c7dfUM6D+t0TX7rJHUtYmu9vFHA10WYfvm2Hj4rg5JLz JkTfawRs8efMKXT46hNk5vkbNycR3dQDVgWNycOsqliI5TU1XqDHXWGiWlyoFvpMvkX4FQ AkjcJPTb+GSbd84jCnAg9fetDcD52WitLIWBlmTdxI6f3xlBlwoLoDOAIFWnlJyEgVnUEF 6fPVLJbZrA3nfC3jv51V9BUbLTd+9uEbcX9GLr0riemgZyvM6ucHm2jQV1d5L/pxEVeV0j 7wvT3hcINXjkfERM2O/dYEV+FY74oJpd5BWq6jVcPrGvNWAKeQugRd8525Y4OQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WYzTp6jbfz199j; Wed, 31 Jul 2024 17:23:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46VHNwgf073001; Wed, 31 Jul 2024 17:23:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46VHNwv7072998; Wed, 31 Jul 2024 17:23:58 GMT (envelope-from git) Date: Wed, 31 Jul 2024 17:23:58 GMT Message-Id: <202407311723.46VHNwv7072998@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michal Meloun Subject: git: 8ca43e674e3c - stable/13 - gdtoa: Regenerate configuration headers for 32-bit arm. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mmel X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 8ca43e674e3cddf3574e062abde6cd70c120984e Auto-Submitted: auto-generated The branch stable/13 has been updated by mmel: URL: https://cgit.FreeBSD.org/src/commit/?id=8ca43e674e3cddf3574e062abde6cd70c120984e commit 8ca43e674e3cddf3574e062abde6cd70c120984e Author: Michal Meloun AuthorDate: 2023-08-13 05:51:56 +0000 Commit: Michal Meloun CommitDate: 2024-07-31 12:25:35 +0000 gdtoa: Regenerate configuration headers for 32-bit arm. These configuration headers were only guessed, but unfortunately not exactly correctly. Therefore, re-generate them on real HW. Generated on CA15, verified on CA9, CA7(with VFP lite) and on 32-bit ARMv9. PR: 272229 Reported by: Robert Clausecker MFC after: 2 weeks (cherry picked from commit e59b6e48f4c8bbfee43a1bc6d9fd47691d3bd603) --- lib/libc/arm/arith.h | 10 ++++++---- lib/libc/arm/gd_qnan.h | 11 ++++++----- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/lib/libc/arm/arith.h b/lib/libc/arm/arith.h index f0e28d253bf2..36e241f05356 100644 --- a/lib/libc/arm/arith.h +++ b/lib/libc/arm/arith.h @@ -1,19 +1,21 @@ /* * MD header for contrib/gdtoa - */ - -/* + * * NOTE: The definitions in this file must be correct or strtod(3) and * floating point formats in printf(3) will break! The file can be * generated by running contrib/gdtoa/arithchk.c on the target * architecture. See contrib/gdtoa/gdtoaimp.h for details. + * + * Generated on CA15, verified on CA9, CA7(with VFP lite) and on 32-bit ARMv9. + * */ #if !defined(__ARMEB__) && (defined(__VFP_FP__) || defined(__ARM_EABI__)) #define IEEE_8087 #define Arith_Kind_ASL 1 -#define Sudden_Underflow #else #define IEEE_MC68k #define Arith_Kind_ASL 2 #endif + +#define Double_Align diff --git a/lib/libc/arm/gd_qnan.h b/lib/libc/arm/gd_qnan.h index e5c4846e026f..acf13d0b7852 100644 --- a/lib/libc/arm/gd_qnan.h +++ b/lib/libc/arm/gd_qnan.h @@ -4,18 +4,19 @@ * This file can be generated by compiling and running contrib/gdtoa/qnan.c * on the target architecture after arith.h has been generated. * - * XXX I don't have ARM hardware, so I just guessed. --das + * Generated on CA15, verified on CA9, CA7(with VFP lite) and on 32-bit ARMv9. + * */ #define f_QNAN 0x7fc00000 #define d_QNAN0 0x0 #define d_QNAN1 0x7ff80000 #define ld_QNAN0 0x0 -#define ld_QNAN1 0xc0000000 -#define ld_QNAN2 0x7fff +#define ld_QNAN1 0x7ff80000 +#define ld_QNAN2 0x0 #define ld_QNAN3 0x0 #define ldus_QNAN0 0x0 #define ldus_QNAN1 0x0 #define ldus_QNAN2 0x0 -#define ldus_QNAN3 0xc000 -#define ldus_QNAN4 0x7fff +#define ldus_QNAN3 0x7ff8 +#define ldus_QNAN4 0x0