-
Notifications
You must be signed in to change notification settings - Fork 15k
Closed
Labels
Description
| Bugzilla Link | 46069 |
| Resolution | FIXED |
| Resolved on | Jun 22, 2020 15:47 |
| Version | 10.0 |
| OS | All |
| Blocks | #44654 |
| CC | @nemanjai,@tstellar |
| Fixed by commit(s) | a28e9f1 3428405 |
Extended Description
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) :);