Commit 70dd5f89 authored by Milad Fa's avatar Milad Fa Committed by V8 LUCI CQ

S390 [liftoff]: push and pop Simd registers

Detect if Simd is enabled and if so push/pop the entire
128 bit value, if not then only push/pop the double values.

Change-Id: I45d54dcf799a685066559cc3521ef44cd884b788
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2979352Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/master@{#75332}
parent b49e43e3
......@@ -3304,11 +3304,11 @@ void LiftoffAssembler::AssertUnreachable(AbortReason reason) {
void LiftoffAssembler::PushRegisters(LiftoffRegList regs) {
MultiPush(regs.GetGpList());
MultiPushDoubles(regs.GetFpList());
MultiPushF64OrV128(regs.GetFpList());
}
void LiftoffAssembler::PopRegisters(LiftoffRegList regs) {
MultiPopDoubles(regs.GetFpList());
MultiPopF64OrV128(regs.GetFpList());
MultiPop(regs.GetGpList());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment