microsoft / llvm-mctoll

llvm-mctoll
Other
816 stars 125 forks source link

[X86-64] Sign-extend `MOV64ri32` immediate #127

Closed martin-fink closed 3 years ago

martin-fink commented 3 years ago

MOV64ri32 should sign-extend the 32 bit immediate, not zero-extend.

https://www.felixcloutier.com/x86/mov

bharadwajy commented 3 years ago

Thanks! Pulled to master.