Description
Currently, Macro::Assembler(Address dst, intprt_t src) on x64 uses an intermediate scratch register to store the 64-bit immediate.
But, if the value fits into 32-bits, we can also explicitly use the 32-bit immediate overload, which saves an instruction and a register use.
But, if the value fits into 32-bits, we can also explicitly use the 32-bit immediate overload, which saves an instruction and a register use.
Attachments
Issue Links
- relates to
-
JDK-8255921 Use 'nop' to replace 'mov' when patching instructions
-
- Closed
-