Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Adding Darius as reviewer as well, since we've discussed Turbofan support together.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
@clem...@chromium.org: Could you please take this review to reduce my review workload?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
WasmTrustedInstanceData::kLastYoungAllocationAddressOffset);
Is this additional field on the `WasmTrustedInstanceData` needed? We have the roots register, from which we can get to the isolate address (constant offset, `kIsolateRootBias`?), right? So in the end we would emit a single store relative to the root register.
(and we can probably do the same for the `stress_deopt_counter_address`, but that's orthogonal)
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +1 |
WasmTrustedInstanceData::kLastYoungAllocationAddressOffset);
Is this additional field on the `WasmTrustedInstanceData` needed? We have the roots register, from which we can get to the isolate address (constant offset, `kIsolateRootBias`?), right? So in the end we would emit a single store relative to the root register.
(and we can probably do the same for the `stress_deopt_counter_address`, but that's orthogonal)
Hmm, good point. I have to check this. I simply copied the solution we use from NewSpaceAllocationTop. If that works, we should be able to use the same mechanism for this as well and maybe get some performance benefits from this as well.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
WasmTrustedInstanceData::kLastYoungAllocationAddressOffset);
Dominik InführIs this additional field on the `WasmTrustedInstanceData` needed? We have the roots register, from which we can get to the isolate address (constant offset, `kIsolateRootBias`?), right? So in the end we would emit a single store relative to the root register.
(and we can probably do the same for the `stress_deopt_counter_address`, but that's orthogonal)
Hmm, good point. I have to check this. I simply copied the solution we use from NewSpaceAllocationTop. If that works, we should be able to use the same mechanism for this as well and maybe get some performance benefits from this as well.
This indeed seems to work, thanks! PTALA
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hey, in PS12 I've updated the CL to only use the root relative code path as it should work both if isolate() is null or non-null. It should also basically create the same generated code. PTALA to see whether that's okay for you.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Hey, in PS12 I've updated the CL to only use the root relative code path as it should work both if isolate() is null or non-null. It should also basically create the same generated code. PTALA to see whether that's okay for you.
Ah, I was already wondering if we actually need the other code :)
LGTM.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +2 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[wasm, codegen] Add skipped write barrier verification to Liftoff
This CL adds support to Liftoff for skipped write barrier
verification. When this verification mode is enabled, skipped write
barriers call a C function in order to check whether skipping the
barrier was valid.
In order for this check to work, allocations in generated code
need to set the last_young_allocation_ field either to the new
object in new space or reset it to 0. For Liftoff, allocations
are generated through Turbofan/Turboshaft. So this CL also
extends MemoryOptimizationReducer.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
mv(kCArgRegs[0], object);
Are we sure these cannot overlap? Can we DCHECK?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[riscv][wasm, codegen] Add skipped write barrier verification to Liftoff
Port commit bc103f35c846906fe57914a9846c12b955ff9e46
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |