mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-03 21:24:38 +01:00
IR: Implement VectorMultiply
This commit is contained in:
parent
90a053a5e4
commit
b6de612e01
4 changed files with 92 additions and 0 deletions
|
|
@ -913,6 +913,21 @@ U128 IREmitter::VectorLogicalShiftRight(size_t esize, const U128& a, u8 shift_am
|
|||
return {};
|
||||
}
|
||||
|
||||
U128 IREmitter::VectorMultiply(size_t esize, const U128& a, const U128& b) {
|
||||
switch (esize) {
|
||||
case 8:
|
||||
return Inst<U128>(Opcode::VectorMultiply8, a, b);
|
||||
case 16:
|
||||
return Inst<U128>(Opcode::VectorMultiply16, a, b);
|
||||
case 32:
|
||||
return Inst<U128>(Opcode::VectorMultiply32, a, b);
|
||||
case 64:
|
||||
return Inst<U128>(Opcode::VectorMultiply64, a, b);
|
||||
}
|
||||
UNREACHABLE();
|
||||
return {};
|
||||
}
|
||||
|
||||
U128 IREmitter::VectorNarrow(size_t original_esize, const U128& a) {
|
||||
switch (original_esize) {
|
||||
case 16:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue