comment
This commit is contained in:
1 parent
51bdc5c684
commit
397176759d
1 file changed
+1
@@ -38,6 +38,7 @@ impl Code {
|
||||
}
|
||||
self.prefix16(dst);
|
||||
if dst.width() == Width::B64 && src_width <= Width::B32 && src.0 < 0 {
|
||||
// use different op that sign extends for less bytes
|
||||
self.bytes
|
||||
.extend([rex(dst.width(), 0, 0, dst), 0xc7, 0xc0 | dst.base()]);
|
||||
self.imm(src, Width::B32);
|
||||
|
||||
Reference in new issue
Block a user