-
haoyuintel authored
This CL fixed cmpq in TestMoveSmi by using cmp_tagged and further optimizes Move(Register, Smi) for 31-bit negative Smi. To move a Smi of -1 to register, the disassembly before the commit is as: 48c7c0feffffff REX.W movq rax, 0xfffffffe The disassembly after the commit is as: b8feffffff movl rax, 0xfffffffe Bug: v8:12696 Change-Id: I6fafeec7959491ba8b084acf797c58910c2928fa Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3514654Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Haoyu Zhang <haoyu.zhang@intel.com> Cr-Commit-Position: refs/heads/main@{#79475}
a875615c