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

ppc: [liftoff] fix rounding issue

Change-Id: Iec020471bd8268043961c62207cc03ca8a315d33
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3197290Reviewed-by: 's avatarMilad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/main@{#77176}
parent c1e26cc7
...@@ -1046,10 +1046,14 @@ void LiftoffAssembler::FillStackSlotsWithZero(int start, int size) { ...@@ -1046,10 +1046,14 @@ void LiftoffAssembler::FillStackSlotsWithZero(int start, int size) {
#define UNOP_LIST(V) \ #define UNOP_LIST(V) \
V(f32_abs, fabs, DoubleRegister, DoubleRegister, , , USE, , void) \ V(f32_abs, fabs, DoubleRegister, DoubleRegister, , , USE, , void) \
V(f32_neg, fneg, DoubleRegister, DoubleRegister, , , USE, , void) \ V(f32_neg, fneg, DoubleRegister, DoubleRegister, , , USE, , void) \
V(f32_sqrt, fsqrt, DoubleRegister, DoubleRegister, , , USE, , void) \ V(f32_sqrt, fsqrt, DoubleRegister, DoubleRegister, , , ROUND_F64_TO_F32, , \
V(f32_floor, frim, DoubleRegister, DoubleRegister, , , USE, true, bool) \ void) \
V(f32_ceil, frip, DoubleRegister, DoubleRegister, , , USE, true, bool) \ V(f32_floor, frim, DoubleRegister, DoubleRegister, , , ROUND_F64_TO_F32, \
V(f32_trunc, friz, DoubleRegister, DoubleRegister, , , USE, true, bool) \ true, bool) \
V(f32_ceil, frip, DoubleRegister, DoubleRegister, , , ROUND_F64_TO_F32, \
true, bool) \
V(f32_trunc, friz, DoubleRegister, DoubleRegister, , , ROUND_F64_TO_F32, \
true, bool) \
V(f64_abs, fabs, DoubleRegister, DoubleRegister, , , USE, , void) \ V(f64_abs, fabs, DoubleRegister, DoubleRegister, , , USE, , void) \
V(f64_neg, fneg, DoubleRegister, DoubleRegister, , , USE, , void) \ V(f64_neg, fneg, DoubleRegister, DoubleRegister, , , USE, , void) \
V(f64_sqrt, fsqrt, DoubleRegister, DoubleRegister, , , USE, , void) \ V(f64_sqrt, fsqrt, DoubleRegister, DoubleRegister, , , USE, , void) \
......
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