mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-01 12:14:50 +01:00
A32: Implement ARM-mode SBFX
This commit is contained in:
parent
47218ee65d
commit
877fa0f8c3
5 changed files with 35 additions and 2 deletions
|
|
@ -598,6 +598,9 @@ public:
|
|||
std::string arm_RBIT(Cond cond, Reg d, Reg m) {
|
||||
return fmt::format("rbit{} {}, {}", CondToString(cond), d, m);
|
||||
}
|
||||
std::string arm_SBFX(Cond cond, Imm5 widthm1, Reg d, Imm5 lsb, Reg n) {
|
||||
return fmt::format("sbfx{} {}, {}, #{}, #{}", CondToString(cond), d, n, lsb, widthm1 + 1);
|
||||
}
|
||||
std::string arm_SEL(Cond cond, Reg n, Reg d, Reg m) {
|
||||
return fmt::format("sel{} {}, {}, {}", CondToString(cond), d, n, m);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue