From nobody Sun Aug 13 07:35:58 2023 X-Original-To: dev-commits-src-main@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 4RNq8H0Scwz4q8lg; Sun, 13 Aug 2023 07:35: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RNq8G45THz4Mkq; Sun, 13 Aug 2023 07:35:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691912158; 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=8DiAG6wNECxB1vM+1B6F/lz34hoRQklPylL/+WljlVw=; b=tQB51IszcnM+H9RYthptpOxMz59VdFpL8ZYuq8L9ecsj/qrtcz5G0K7S8NqHToVQTgqn35 U+mDRU9YD3ZiodVolD+mny0rAHoKyskl6c7KCjMAzXy+c0oQVD+7teXbVmzVJT50DxMFgb Wn9uRnHGY5SNrSYF5lISBYkqWzAkvg8BVoCnRLWZr1jxXcYctaoIO/zLzV0Krx4pgKyl+V 7eXLDjXlpNetXUNDpUDpDIUpLlyX4dtFvOoTAZLBhcVXJl2gY/Dw9tDpMV2Adv100FcM/D rEiC/Xg/9klmyBMuyo+VrB1gYtSvm/APvBcJ3qWy/ky5Zio25nVTiDxS5mMDrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691912158; 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=8DiAG6wNECxB1vM+1B6F/lz34hoRQklPylL/+WljlVw=; b=HOI60SwamjM5FDSpK7uEb1kMM8qh0xvF+jKvdmsVC5NHcEOgjBS8YKvpV548sPXCAxRmz6 JOLmuPwuIYnM1h56M1kRN+jInQxqlII1mW0J14687gTIOoR1KAqVtU8rBYAnsyFdNXgiCW P83ijCWl5rtqjayDZv77EsLidxHq3JRl9YWPk4btEBiTQ1eRizY0LmLI85zZsS0xwrTE/m RLti34HH/ok3e/KCwudAmtj7tu+AKDW3DkAi62Hv86xZjQXzFqM2sxWUm/Etqo/zZgmYPX Muxcw7iRRhvKwJQigcKeh0YA2GiLQPMLXEEj02V2e5NVOxcGA5MeRLJ7EOtZyQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691912158; a=rsa-sha256; cv=none; b=eeYh/I8hWZNiJ+yd3kFm3kffm2b6jRagCd9fj3u6n0GxfLw6evGO+NTKQFCvhjJBIDvn6U wdq1v0nfCulYlD2rLHIgIjzNu67oiUOBmksOHCs7FIuYz6NTv+EeeAilbQAgwCVyzY6EHi sK4de1VgBEtt2PvYSyIEHpBxiwxy7PR6yy9+46xkLqHedgyc3l6/QgLwsOdKXcuOh/KF2F e1GfSjZKypLE7UC14g6caIpuFsExWpSlHRwCjdzlES+/nhI2ZK3K7t2W8xeiLvZ5yqR9+b nMAAErO/b6cPmtxU1Vvu18dcVZ9ALnp59DbTQqWPLlYVq/bGd7hbT4JJmNiPcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RNq8G3BWRztDd; Sun, 13 Aug 2023 07:35:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37D7ZwPu035397; Sun, 13 Aug 2023 07:35:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37D7Zwa9035394; Sun, 13 Aug 2023 07:35:58 GMT (envelope-from git) Date: Sun, 13 Aug 2023 07:35:58 GMT Message-Id: <202308130735.37D7Zwa9035394@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michal Meloun Subject: git: e59b6e48f4c8 - main - gdtoa: Regenerate configuration headers for 32-bit arm. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: e59b6e48f4c8bbfee43a1bc6d9fd47691d3bd603 Auto-Submitted: auto-generated The branch main has been updated by mmel: URL: https://cgit.FreeBSD.org/src/commit/?id=e59b6e48f4c8bbfee43a1bc6d9fd47691d3bd603 commit e59b6e48f4c8bbfee43a1bc6d9fd47691d3bd603 Author: Michal Meloun AuthorDate: 2023-08-13 05:51:56 +0000 Commit: Michal Meloun CommitDate: 2023-08-13 07:35:48 +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 --- lib/libc/arm/arith.h | 9 ++++----- lib/libc/arm/gd_qnan.h | 11 +++++------ 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/lib/libc/arm/arith.h b/lib/libc/arm/arith.h index 86121bf9a80c..418f83f64ccb 100644 --- a/lib/libc/arm/arith.h +++ b/lib/libc/arm/arith.h @@ -1,16 +1,15 @@ /* * MD header for contrib/gdtoa * - * $FreeBSD$ - */ - -/* * 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. + * */ #define IEEE_8087 #define Arith_Kind_ASL 1 -#define Sudden_Underflow +#define Double_Align diff --git a/lib/libc/arm/gd_qnan.h b/lib/libc/arm/gd_qnan.h index 8fa9edd83415..acf13d0b7852 100644 --- a/lib/libc/arm/gd_qnan.h +++ b/lib/libc/arm/gd_qnan.h @@ -4,20 +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. * - * $FreeBSD$ */ #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