[llvm-bugs] [Bug 46069] New: PPC back end missing vmsumud
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon May 25 21:04:45 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46069
Bug ID: 46069
Summary: PPC back end missing vmsumud
Product: libraries
Version: 10.0
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: PowerPC
Assignee: unassignedbugs at nondot.org
Reporter: nemanja.i.ibm at gmail.com
CC: llvm-bugs at lists.llvm.org, nemanja.i.ibm at gmail.com
As reported by a user of Clang on PPC, we have missed the implementation of
this instruction when we implemented the rest of the P9 instructions.
Test case:
vector long long test(vector long long a, vector long long b, vector long long
c) {
vector long long res;
__asm__("vmsumudm %0,%1,%2,%3;\n" : "=v"(res) : "v"(a), "v"(b), "v"(c) :);
return res;
}
clang -mcpu=power9 -O t.c -S -o -
t.c:3:11: error: invalid instruction, did you mean: vmsumubm, vmsumuhm?
__asm__("vmsumudm %0,%1,%2,%3;\n" : "=v"(res) : "v"(a), "v"(b), "v"(c) :);
--
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/20200526/699972e5/attachment-0001.html>
More information about the llvm-bugs
mailing list