Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2024 19:07:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 278417] Support for the F16C CPU extension should be added to bsd.cpu.mk (Was: The _cvtsh_ss() intrinsic function generates illegal instructions)
Message-ID:  <bug-278417-29464-whZkZt6Y1d@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278417-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278417-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278417

--- Comment #10 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Db449894978b56651bc8d2a19b03c4af67=
e4ec59c

commit b449894978b56651bc8d2a19b03c4af67e4ec59c
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-04-18 17:46:57 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-04-21 19:02:09 +0000

    share/mk/bsd.cpu.mk: add F16C feature for i386 and amd64 architectures

    As discussed in bug 278417, some ports require the F16C instruction set
    to compile, but there is no way yet to detect whether the currently
    chosen CPUTYPE supports this feature.

    Add the feature to the MACHINE_CPU variable, for each processor that
    supports it. The list of processors was extracted from clang 18's -dM
    output, filtered on the __F16C__ define.

    PR:             278417
    Reviewed by:    brooks, emaste
    MFC after:      3 days
    Differential Revision: https://reviews.freebsd.org/D44848

    (cherry picked from commit 2fd73b7126d7d7e5701e001af929411ce7a0c5f1)

 share/mk/bsd.cpu.mk | 42 ++++++++++++++++++++++++------------------
 1 file changed, 24 insertions(+), 18 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278417-29464-whZkZt6Y1d>