Sintendo 53a947749a x64Emitter: short MOV for 64bit immediates (2)
Prior to this commit, the emitter would unconditionally emit a 10-byte
instruction known as MOVABS when loading a 64-bit immediate to a
register.

0:  48 b8 ef be ad de 00    movabs rax,0xdeadbeef
7:  00 00 00

With this change, it will instead rely on the fact that on x64 writes to
32-bit registers are automatically zero extended to 64-bits, allowing
us to emit a 5 or 6-bytes instruction with the same effect for certain
immediates.

0:  b8 ef be ad de          mov    eax,0xdeadbeef
2018-09-16 19:52:03 +02:00
..
2016-12-06 20:33:53 +01:00
2018-04-12 21:28:39 +02:00
2018-05-27 18:48:09 -04:00
2018-08-15 12:12:19 -05:00
2018-04-12 21:28:39 +02:00
2018-04-12 21:28:39 +02:00
2017-08-22 16:40:34 +02:00
2018-04-12 21:28:39 +02:00
2018-04-12 21:28:39 +02:00
2018-08-13 12:17:56 -07:00
2018-06-03 14:53:56 +02:00
2018-06-03 14:53:56 +02:00
2018-04-12 21:28:39 +02:00
2018-04-12 21:28:39 +02:00
2017-08-03 13:29:59 -07:00
2018-04-12 21:28:39 +02:00
2018-04-12 21:28:39 +02:00
2018-05-31 17:54:43 +02:00
2018-04-12 21:28:39 +02:00
2018-05-11 09:19:30 -04:00
2018-04-12 21:28:39 +02:00