[Bug 278417] The _cvtsh_ss() intrinsic function generates illegal instructions

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 Apr 2024 21:54:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278417

--- 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.

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