From nobody Thu May 02 17:14:40 2024 X-Original-To: dev-commits-src-all@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 4VVgXc504bz5JgCh; Thu, 2 May 2024 17:14:40 +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 4VVgXc49R3z4bsj; Thu, 2 May 2024 17:14:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714670080; 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=H4x9qD5Xl+li9svPME0c+TSY0PWM4VHjvIUu1G4uFIQ=; b=qjgnqgOuMr3T2eIal2M5EeBtVYW8rdKxFoZEd9PawLPAEB3RLjh44TU3LOI80WPGMDOpky Eu7yR7HW2eBtpuYtpBaSpNmsiBKfMAL8rBUnb6ByR0SGWL2AqSH4WV9Y9wHiLYdIB3Khr7 bxmYqmSdr9Ar5B+nbpDLnyGFFUbt5hx3o1ZuWCDRsvigIf9G5zoVsFi3+trww0Mp4x7ySC VQ+ZggcoaZG2HBTsDVUUE2OjTXSyWmi1V3ShdWiei348Ib7ikeK76QlJ0K1MJ8Z6KJnKZY /8EanZS3y3rbpK0Y9bRAmMnwgikilG/XyD1caKaLEwdRoKdmqAZ2soo8ezQOhQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714670080; a=rsa-sha256; cv=none; b=bkRHFSJtY1mE7qo4vnrltTMz19FjOxh8E5IZIMADiOTaPcQTkLPpR4MXteCCExYEKnV3af 6bTFFQMVRqPgf3LxZ6qxXlHZLO4fscrsENB6pCDRpX2ZfVt7/lxE1sWFOZmGnAu3D4OZ9j R+l299aGSZwMDKFjn48w7Xpty6Kg3mdM7tyIUYqBZLpOZzpitxTIrtK8DUWFgXYYxHhG/r 2uTDn7OFLtx1w42iD1q/z/IMfe0qnnjC8Ob3qCpmYmdTuxOa6m7KdqiivZ32mws4MKV08S FUEMf1bMwV5qCt/M8jhT7G95NOMZfGikv5xLCkf7A2XuIXGnyVzem9Fsch83YQ== 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=1714670080; 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=H4x9qD5Xl+li9svPME0c+TSY0PWM4VHjvIUu1G4uFIQ=; b=oSiNmepmsxl06V3yL10cws4bGu3vvaGNdzqWU0FjXQh1SpzvOtJgBhkPs32cg1q1BfKlYi Bm0/44pQrDHlBnjM+ul87/W9fBLXAxM93rUS1EqtlESnYKkr5GUItcjvNa1VYBLkVvXpbx Hng6IuEr/MWubIE8/MDTWJdhWwawL2qLyf87fOBSJwo0tAE8KZ5R89lMoTBE8aYNzdAPdK PS5DrsBwfdlEJOiSDs50rgugLDP0/D6gtX9EsUsAcNBjCDjse/UxnP2GpzXKVxjUmFDbA6 p5uU1RoQT3FankkVrYj9INHVj6pTmvr2FHv4tJ/kAztdGP9xpjfg+Y9RVW33pw== 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 4VVgXc3mF5z19tB; Thu, 2 May 2024 17:14:40 +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 442HEe05069312; Thu, 2 May 2024 17:14:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 442HEeeS069309; Thu, 2 May 2024 17:14:40 GMT (envelope-from git) Date: Thu, 2 May 2024 17:14:40 GMT Message-Id: <202405021714.442HEeeS069309@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 723e60a278b1 - main - libgcc_s: __extendxftf2 and __trunctfxf2 are amd64-only List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 723e60a278b16fc4411cb4d9f201cb3ba26108cf Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=723e60a278b16fc4411cb4d9f201cb3ba26108cf commit 723e60a278b16fc4411cb4d9f201cb3ba26108cf Author: Brooks Davis AuthorDate: 2024-05-02 17:13:23 +0000 Commit: Brooks Davis CommitDate: 2024-05-02 17:13:23 +0000 libgcc_s: __extendxftf2 and __trunctfxf2 are amd64-only __extendxftf2 and __trunctfxf2 build on amd64 not aarch64 and riscv. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D45052 --- lib/libcompiler_rt/Makefile.inc | 8 ++++++-- lib/libgcc_s/Symbol.map | 10 ++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/lib/libcompiler_rt/Makefile.inc b/lib/libcompiler_rt/Makefile.inc index 9aea0f2b051a..6fb13cb12305 100644 --- a/lib/libcompiler_rt/Makefile.inc +++ b/lib/libcompiler_rt/Makefile.inc @@ -132,7 +132,6 @@ SRCF+= floatundisf # .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" SRCF+= divxc3 -SRCF+= extendxftf2 SRCF+= fixxfdi SRCF+= fixxfti SRCF+= fixunsxfdi @@ -142,7 +141,6 @@ SRCF+= floattixf SRCF+= floatuntixf SRCF+= mulxc3 SRCF+= powixf2 -SRCF+= trunctfxf2 # Avoid using SSE2 instructions on i386, if unsupported. .if ${MACHINE_CPUARCH} == "i386" && empty(MACHINE_CPU:Msse2) @@ -154,6 +152,12 @@ SRCF+= floatundixf .endif .endif +# 128-bit float is an amd64 feature +.if ${MACHINE_CPUARCH} == "amd64" +SRCF+= extendxftf2 +SRCF+= trunctfxf2 +.endif + # __cpu_model support, only used on aarch64 and x86 .if ${MACHINE_CPUARCH} == "aarch64" SRCS+= cpu_model/aarch64.c diff --git a/lib/libgcc_s/Symbol.map b/lib/libgcc_s/Symbol.map index def8f0981664..00b0ed789cf1 100644 --- a/lib/libgcc_s/Symbol.map +++ b/lib/libgcc_s/Symbol.map @@ -191,15 +191,14 @@ GCC_4.3.0 { __bswapsi2; }; -#if defined(__aarch64__) || defined(__riscv) GCC_4.6.0 { +#if defined(__aarch64__) || defined(__riscv) __addtf3; __cmptf2; __divtf3; __eqtf2; __extenddftf2; __extendsftf2; - __extendxftf2; __fixtfdi; __fixtfsi; __fixtfti; @@ -221,10 +220,13 @@ GCC_4.6.0 { __subtf3; __trunctfdf2; __trunctfsf2; - __trunctfxf2; __unordtf2; -}; #endif +#if defined(__amd64__) + __extendxftf2; + __trunctfxf2; +#endif +}; GCC_7.0.0 { #ifdef __i386__