Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -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 #####

Expand Down
5 changes: 5 additions & 0 deletions deps/v8/src/builtins/riscv/builtins-riscv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);

Expand Down
Loading