1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +00:00

UserspaceEmulator: Make the shift/rotate instructions more generic

This commit is contained in:
Andreas Kling 2020-07-16 12:17:39 +02:00
parent d871301fd9
commit db1929e3ff
2 changed files with 69 additions and 159 deletions

View file

@ -794,6 +794,19 @@ private:
template<bool update_dest, typename Op>
void generic_reg8_RM8(Op, const X86::Instruction&);
template<typename Op>
void generic_RM8_1(Op, const X86::Instruction&);
template<typename Op>
void generic_RM8_CL(Op, const X86::Instruction&);
template<typename Op>
void generic_RM16_1(Op, const X86::Instruction&);
template<typename Op>
void generic_RM16_CL(Op, const X86::Instruction&);
template<typename Op>
void generic_RM32_1(Op, const X86::Instruction&);
template<typename Op>
void generic_RM32_CL(Op, const X86::Instruction&);
template<bool check_zf, typename Callback>
void do_once_or_repeat(const X86::Instruction& insn, Callback);