Commit c6988630 authored by Junliang Yan's avatar Junliang Yan Committed by V8 LUCI CQ

ppc64: [baseline] implement baseline descriptor

Change-Id: I57eac5fdeddd49ecf8b45e293fbe9f98f068b86b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3597310Reviewed-by: 's avatarMilad Farazmand <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/main@{#80059}
parent 1920426b
......@@ -114,14 +114,10 @@ constexpr Register GrowArrayElementsDescriptor::KeyRegister() { return r6; }
// static
constexpr Register BaselineLeaveFrameDescriptor::ParamsSizeRegister() {
// TODO(v8:11421): Implement on this platform.
return r6;
}
// static
constexpr Register BaselineLeaveFrameDescriptor::WeightRegister() {
// TODO(v8:11421): Implement on this platform.
return r7;
}
constexpr Register BaselineLeaveFrameDescriptor::WeightRegister() { return r7; }
// static
// static
......@@ -244,8 +240,7 @@ constexpr auto CompareDescriptor::registers() { return RegisterArray(r4, r3); }
// static
constexpr auto Compare_BaselineDescriptor::registers() {
// TODO(v8:11421): Implement on this platform.
return DefaultRegisterArray();
return RegisterArray(r4, r3, r5);
}
// static
......@@ -253,14 +248,12 @@ constexpr auto BinaryOpDescriptor::registers() { return RegisterArray(r4, r3); }
// static
constexpr auto BinaryOp_BaselineDescriptor::registers() {
// TODO(v8:11421): Implement on this platform.
return DefaultRegisterArray();
return RegisterArray(r4, r3, r5);
}
// static
constexpr auto BinarySmiOp_BaselineDescriptor::registers() {
// TODO(v8:11421): Implement on this platform.
return DefaultRegisterArray();
return RegisterArray(r3, r4, r5);
}
// static
......
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