mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2025-12-30 19:24:42 +01:00
A32: Implement ASIMD VPADD (floating-point)
This commit is contained in:
parent
e006f0a205
commit
f58e247ef3
8 changed files with 27 additions and 17 deletions
|
|
@ -368,6 +368,13 @@ bool ArmTranslatorVisitor::asimd_VSUB_float(bool D, bool sz, size_t Vn, size_t V
|
|||
});
|
||||
}
|
||||
|
||||
bool ArmTranslatorVisitor::asimd_VPADD_float(bool D, bool sz, size_t Vn, size_t Vd, bool N, bool Q, bool M, size_t Vm) {
|
||||
return FloatingPointInstruction(*this, D, sz, Vn, Vd, N, Q, M, Vm, [this, Q](const auto&, const auto& reg_n, const auto& reg_m) {
|
||||
return Q ? ir.FPVectorPairedAdd(32, reg_n, reg_m, false)
|
||||
: ir.FPVectorPairedAddLower(32, reg_n, reg_m, false);
|
||||
});
|
||||
}
|
||||
|
||||
bool ArmTranslatorVisitor::asimd_VMUL_float(bool D, bool sz, size_t Vn, size_t Vd, bool N, bool Q, bool M, size_t Vm) {
|
||||
return FloatingPointInstruction(*this, D, sz, Vn, Vd, N, Q, M, Vm, [this](const auto&, const auto& reg_n, const auto& reg_m) {
|
||||
return ir.FPVectorMul(32, reg_n, reg_m, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue