mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-06 10:32:58 +00:00
A32: Implement ASIMD VRSHRN
This commit is contained in:
@@ -281,6 +281,11 @@ bool ArmTranslatorVisitor::asimd_VSHRN(bool D, size_t imm6, size_t Vd, bool M, s
|
||||
Rounding::None, Narrowing::Truncation, Signedness::Unsigned);
|
||||
}
|
||||
|
||||
bool ArmTranslatorVisitor::asimd_VRSHRN(bool D, size_t imm6, size_t Vd, bool M, size_t Vm) {
|
||||
return ShiftRightNarrowing(*this, D, imm6, Vd, M, Vm,
|
||||
Rounding::Round, Narrowing::Truncation, Signedness::Unsigned);
|
||||
}
|
||||
|
||||
bool ArmTranslatorVisitor::asimd_VQRSHRUN(bool D, size_t imm6, size_t Vd, bool M, size_t Vm) {
|
||||
return ShiftRightNarrowing(*this, D, imm6, Vd, M, Vm,
|
||||
Rounding::Round, Narrowing::SaturateToUnsigned, Signedness::Signed);
|
||||
|
||||
@@ -515,6 +515,7 @@ struct ArmTranslatorVisitor final {
|
||||
bool asimd_VSLI(bool D, size_t imm6, size_t Vd, bool L, bool Q, bool M, size_t Vm);
|
||||
bool asimd_VQSHL(bool U, bool D, size_t imm6, size_t Vd, bool op, bool L, bool Q, bool M, size_t Vm);
|
||||
bool asimd_VSHRN(bool D, size_t imm6, size_t Vd, bool M, size_t Vm);
|
||||
bool asimd_VRSHRN(bool D, size_t imm6, size_t Vd, bool M, size_t Vm);
|
||||
bool asimd_VQSHRUN(bool D, size_t imm6, size_t Vd, bool M, size_t Vm);
|
||||
bool asimd_VQRSHRUN(bool D, size_t imm6, size_t Vd, bool M, size_t Vm);
|
||||
bool asimd_VQSHRN(bool U, bool D, size_t imm6, size_t Vd, bool M, size_t Vm);
|
||||
|
||||
Reference in New Issue
Block a user