Date: Wed, 17 Apr 2024 21:54:03 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 278417] The _cvtsh_ss() intrinsic function generates illegal instructions Message-ID: <bug-278417-29464-iMNzqJYdy0@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 #3 from Dimitry Andric <dim@FreeBSD.org> --- Indeed, this intrinsic is defined in f16cintrin.h, but that header is only included by immintrin.h if __F16C__ is defined, and that macro is normally = only available when the CPU features support F16C. If you force the support by adding -mf16c on the command line, you have to = make sure your CPU actually has this instruction, or have some other mechanism to ensure that the function is never called unless the feature is detected at run-time. --=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-iMNzqJYdy0>