[llvm-bugs] [Bug 41421] New: [sse] fshl and fshr vector intrinsics should accept a scalar as the 3rd argument

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Apr 7 15:18:45 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41421

            Bug ID: 41421
           Summary: [sse] fshl and fshr vector intrinsics should accept a
                    scalar as the 3rd argument
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: slandden at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

The fshl and fshr vector intrinsics are documented to take a vector as the
third argument (the shift)

https://llvm.org/docs/LangRef.html#llvm-fshl-intrinsic

However the actual instructions for fshl and fshr only take a scalar for the
third argument, at least on amd64:

https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=alignr&expand=251,250

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190407/7374d9e3/attachment.html>


More information about the llvm-bugs mailing list