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

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

            Bug ID: 278417
           Summary: The _cvtsh_ss() intrinsic function generates illegal
                    instructions
           Product: Base System
           Version: 14.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org
 Attachment #250036 text/plain
         mime type:

Created attachment 250036
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250036&action=edit
test.cpp

See the attached testcase.

$ c++ test.cpp -mf16c
$ ./a.out 
Illegal instruction

This problem prevents porting of https://github.com/ggerganov/ggml


clang-17 on 14.0-STABLE

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