S390: refetch the address of supports_wasm_simd_128_address when popping

Change-Id: I22345aef595be1e5daef0604139e39337f003f15
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2972734
Reviewed-by: Junliang Yan <junyan@redhat.com>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/master@{#75254}
This commit is contained in:
Milad Fa 2021-06-18 13:08:52 -04:00 committed by V8 LUCI CQ
parent 2a7bdf4bc6
commit fb83bded06

View File

@ -755,6 +755,8 @@ void TurboAssembler::MultiPopF64OrV128(RegList dregs, Register location) {
isolate() && isolate()->IsGeneratingEmbeddedBuiltins();
if (generating_bultins) {
Label pop_doubles, simd_popped;
Move(r1, ExternalReference::supports_wasm_simd_128_address());
LoadU8(r1, MemOperand(r1));
LoadAndTestP(r1, r1); // If > 0 then simd is available.
ble(&pop_doubles, Label::kNear);
// Pop vector registers, don't pop double registers anymore.