[static-roots][x64] Load tagged root as quad word

Experiment to see if this resolves a particular regression.

Bug: chromium:1407581
Bug: v8:13466
Change-Id: I45d68a14fab43775fae65dbe710d24db504f5486
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4218393
Reviewed-by: Jakob Linke <jgruber@chromium.org>
Commit-Queue: Jakob Linke <jgruber@chromium.org>
Auto-Submit: Olivier Flückiger <olivf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85667}
This commit is contained in:
Olivier Flückiger 2023-02-02 19:32:59 +01:00 committed by V8 LUCI CQ
parent 4ae2bea49f
commit 2bcd96f3fa

View File

@ -165,7 +165,7 @@ Operand MacroAssembler::RootAsOperand(RootIndex index) {
void MacroAssembler::LoadTaggedRoot(Register destination, RootIndex index) {
if (V8_STATIC_ROOTS_BOOL && RootsTable::IsReadOnly(index)) {
mov_tagged(destination, Immediate(ReadOnlyRootPtr(index)));
movq(destination, Immediate(ReadOnlyRootPtr(index)));
return;
}
DCHECK(root_array_available_);