emit_x64: bug: OP m/r64, imm32 form instructions sign-extend their immediate on x64

This commit is contained in:
MerryMage 2018-01-13 17:59:50 +00:00
parent 989d036e65
commit e4615a4562
4 changed files with 29 additions and 8 deletions

View file

@ -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?