mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-07 23:18:10 +01:00
Implement thumb16_{SXTH,SXTB,UXTH,UXTB,REV,REV16,REVSH}
This commit is contained in:
parent
866dce0f23
commit
3720da4e19
8 changed files with 194 additions and 8 deletions
|
|
@ -171,6 +171,31 @@ IR::ValuePtr IREmitter::Not(IR::ValuePtr a) {
|
|||
return Inst(IR::Opcode::Not, {a});
|
||||
}
|
||||
|
||||
IR::ValuePtr IREmitter::SignExtendHalfToWord(IR::ValuePtr a) {
|
||||
return Inst(IR::Opcode::SignExtendHalfToWord, {a});
|
||||
}
|
||||
|
||||
IR::ValuePtr IREmitter::SignExtendByteToWord(IR::ValuePtr a) {
|
||||
return Inst(IR::Opcode::SignExtendByteToWord, {a});
|
||||
}
|
||||
|
||||
IR::ValuePtr IREmitter::ZeroExtendHalfToWord(IR::ValuePtr a) {
|
||||
return Inst(IR::Opcode::ZeroExtendHalfToWord, {a});
|
||||
}
|
||||
|
||||
IR::ValuePtr IREmitter::ZeroExtendByteToWord(IR::ValuePtr a) {
|
||||
return Inst(IR::Opcode::ZeroExtendByteToWord, {a});
|
||||
}
|
||||
|
||||
IR::ValuePtr IREmitter::ByteReverseWord(IR::ValuePtr a) {
|
||||
return Inst(IR::Opcode::ByteReverseWord, {a});
|
||||
}
|
||||
|
||||
IR::ValuePtr IREmitter::ByteReverseHalf(IR::ValuePtr a) {
|
||||
return Inst(IR::Opcode::ByteReverseHalf, {a});
|
||||
}
|
||||
|
||||
|
||||
IR::ValuePtr IREmitter::ReadMemory8(IR::ValuePtr vaddr) {
|
||||
return Inst(IR::Opcode::ReadMemory8, {vaddr});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue