mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-10 10:56:27 +00:00
data_processing_register: Clean-up
This commit is contained in:
@@ -142,6 +142,18 @@ ResultAndCarry<U32> IREmitter::RotateRightExtended(const U32& value_in, const U1
|
||||
return {result, carry_out};
|
||||
}
|
||||
|
||||
U32 IREmitter::LogicalShiftLeft(const U32& value_in, const U8& shift_amount) {
|
||||
return Inst<U32>(Opcode::LogicalShiftLeft32, value_in, shift_amount, Imm1(0));
|
||||
}
|
||||
|
||||
U64 IREmitter::LogicalShiftLeft(const U64& value_in, const U8& shift_amount) {
|
||||
return Inst<U64>(Opcode::LogicalShiftLeft64, value_in, shift_amount);
|
||||
}
|
||||
|
||||
U32 IREmitter::LogicalShiftRight(const U32& value_in, const U8& shift_amount) {
|
||||
return Inst<U32>(Opcode::LogicalShiftRight32, value_in, shift_amount, Imm1(0));
|
||||
}
|
||||
|
||||
U64 IREmitter::LogicalShiftRight(const U64& value_in, const U8& shift_amount) {
|
||||
return Inst<U64>(Opcode::LogicalShiftRight64, value_in, shift_amount);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user