Skip to content

PPC back end missing vmsumud #45414

@nemanjai

Description

@nemanjai
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) :);

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions