mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-08 07:28:09 +01:00
emit_x64: bug: OP m/r64, imm32 form instructions sign-extend their immediate on x64
This commit is contained in:
parent
989d036e65
commit
e4615a4562
4 changed files with 29 additions and 8 deletions
|
|
@ -57,11 +57,13 @@ public:
|
|||
bool IsImmediate() const;
|
||||
|
||||
bool FitsInImmediateU32() const;
|
||||
bool FitsInImmediateS32() const;
|
||||
|
||||
bool GetImmediateU1() const;
|
||||
u8 GetImmediateU8() const;
|
||||
u16 GetImmediateU16() const;
|
||||
u32 GetImmediateU32() const;
|
||||
u64 GetImmediateS32() const;
|
||||
u64 GetImmediateU64() const;
|
||||
|
||||
/// Is this value currently in a GPR?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue