diff --git a/common.gypi b/common.gypi index 953a1448d4baa5..fec31779ecea1d 100644 --- a/common.gypi +++ b/common.gypi @@ -38,7 +38,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.17', + 'v8_embedder_string': '-node.19', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/src/builtins/riscv/builtins-riscv.cc b/deps/v8/src/builtins/riscv/builtins-riscv.cc index be6ada8a428624..fbf3e26909ea08 100644 --- a/deps/v8/src/builtins/riscv/builtins-riscv.cc +++ b/deps/v8/src/builtins/riscv/builtins-riscv.cc @@ -3188,7 +3188,10 @@ static void SaveVectorRegisters(MacroAssembler* masm, // Check if the machine has simd128 support. Otherwise, the // vector registers might not exist and accessing them would SIGILL. Label done; + + ASM_CODE_COMMENT(masm); __ li(kScratchReg, ExternalReference::supports_wasm_simd_128_address()); + __ Lb(kScratchReg, MemOperand(kScratchReg, 0)); // If != 0, then simd is available. __ Branch(&done, eq, kScratchReg, Operand(zero_reg), Label::Distance::kNear); @@ -3210,7 +3213,9 @@ static void RestoreVectorRegisters(MacroAssembler* masm, // Check if the machine has simd128 support. Otherwise, the // vector registers might not exist and accessing them would SIGILL. Label done; + ASM_CODE_COMMENT(masm); __ li(kScratchReg, ExternalReference::supports_wasm_simd_128_address()); + __ Lb(kScratchReg, MemOperand(kScratchReg, 0)); // If != 0, then simd is available. __ Branch(&done, eq, kScratchReg, Operand(zero_reg), Label::Distance::kNear);