/third_party/node/deps/v8/src/execution/riscv64/ |
H A D | simulator-riscv64.h | 757 auto alu_out = fn(dst, src1, src2); in CanonicalizeFPUOpFMA() local 759 if (std::isnan(alu_out) || std::isnan(src1) || std::isnan(src2) || in CanonicalizeFPUOpFMA() 762 if (isSnan(alu_out) || isSnan(src1) || isSnan(src2) || isSnan(dst)) in CanonicalizeFPUOpFMA() 764 alu_out = std::numeric_limits<T>::quiet_NaN(); in CanonicalizeFPUOpFMA() 766 return alu_out; in CanonicalizeFPUOpFMA() 775 auto alu_out = fn(src1, src2, src3); in CanonicalizeFPUOp3() local 777 if (std::isnan(alu_out) || std::isnan(src1) || std::isnan(src2) || in CanonicalizeFPUOp3() 780 if (isSnan(alu_out) || isSnan(src1) || isSnan(src2) || isSnan(src3)) in CanonicalizeFPUOp3() 782 alu_out = std::numeric_limits<T>::quiet_NaN(); in CanonicalizeFPUOp3() 784 return alu_out; in CanonicalizeFPUOp3() 792 auto alu_out = fn(src1, src2); CanonicalizeFPUOp2() local 807 auto alu_out = fn(src1); CanonicalizeFPUOp1() local 819 float alu_out = fn(drs1()); CanonicalizeDoubleToFloatOperation() local 827 float alu_out = fn(frs); CanonicalizeDoubleToFloatOperation() local 835 double alu_out = fn(frs); CanonicalizeFloatToDoubleOperation() local 843 double alu_out = fn(frs1()); CanonicalizeFloatToDoubleOperation() local [all...] |
H A D | simulator-riscv64.cc | 907 auto alu_out = fn(vs1, vs2); \ 909 if (std::isnan(alu_out) || std::isnan(vs1) || std::isnan(vs2)) { \ 911 if (isSnan(alu_out) || isSnan(vs1) || isSnan(vs2)) \ 913 alu_out = std::numeric_limits<type>::quiet_NaN(); \ 915 vd = alu_out; 926 auto alu_out = fn(fs1, vs2); \ 928 if (std::isnan(alu_out) || std::isnan(fs1) || std::isnan(vs2)) { \ 930 if (isSnan(alu_out) || isSnan(fs1) || isSnan(vs2)) \ 932 alu_out = std::numeric_limits<type>::quiet_NaN(); \ 934 vd = alu_out; [all...] |
/third_party/node/deps/v8/src/execution/loong64/ |
H A D | simulator-loong64.h | 431 inline void SetResult(const int32_t rd_reg, const int64_t alu_out) { in SetResult() argument 432 set_register(rd_reg, alu_out); in SetResult() 433 TraceRegWr(alu_out); in SetResult() 436 inline void SetFPUWordResult(int32_t fd_reg, int32_t alu_out) { in SetFPUWordResult() argument 437 set_fpu_register_word(fd_reg, alu_out); in SetFPUWordResult() 441 inline void SetFPUWordResult2(int32_t fd_reg, int32_t alu_out) { in SetFPUWordResult2() argument 442 set_fpu_register_word(fd_reg, alu_out); in SetFPUWordResult2() 446 inline void SetFPUResult(int32_t fd_reg, int64_t alu_out) { in SetFPUResult() argument 447 set_fpu_register(fd_reg, alu_out); in SetFPUResult() 451 inline void SetFPUResult2(int32_t fd_reg, int64_t alu_out) { in SetFPUResult2() argument 456 SetFPUFloatResult(int32_t fd_reg, float alu_out) SetFPUFloatResult() argument 461 SetFPUDoubleResult(int32_t fd_reg, double alu_out) SetFPUDoubleResult() argument [all...] |
H A D | simulator-loong64.cc | 2492 int64_t alu_out; in DecodeTypeOp6() local 2557 alu_out = static_cast<int64_t>(si16_upper) + rj(); in DecodeTypeOp6() 2558 SetResult(rd_reg(), alu_out); in DecodeTypeOp6() local 2630 int64_t alu_out; in DecodeTypeOp7() local 2645 alu_out = (static_cast<int64_t>(si20_signExtend) << 32) | in DecodeTypeOp7() 2647 SetResult(rd_reg(), alu_out); in DecodeTypeOp7() local 2655 alu_out = static_cast<int64_t>(si20_signExtend) + current_pc; in DecodeTypeOp7() 2656 SetResult(rd_reg(), alu_out); in DecodeTypeOp7() local 2665 alu_out = static_cast<int64_t>(si20_signExtend) + current_pc; in DecodeTypeOp7() 2666 SetResult(rd_reg(), alu_out in DecodeTypeOp7() 2675 SetResult(rd_reg(), alu_out); DecodeTypeOp7() local 2684 SetResult(rd_reg(), alu_out); DecodeTypeOp7() local 2768 int64_t alu_out = 0x0; DecodeTypeOp10() local 2796 SetResult(rd_reg(), alu_out); DecodeTypeOp10() local 2811 SetResult(rd_reg(), alu_out); DecodeTypeOp10() local 2829 SetResult(rd_reg(), alu_out); DecodeTypeOp10() local 2869 SetResult(rd_reg(), alu_out); DecodeTypeOp10() local 4290 int64_t alu_out; DecodeTypeOp22() local 4298 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4306 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4314 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4322 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4345 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4368 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4391 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4414 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4437 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4460 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4488 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4516 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4527 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4535 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4544 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local 4553 SetResult(rd_reg(), alu_out); DecodeTypeOp22() local [all...] |
/third_party/node/deps/v8/src/execution/mips64/ |
H A D | simulator-mips64.h | 496 inline void SetResult(const int32_t rd_reg, const int64_t alu_out) { in SetResult() argument 497 set_register(rd_reg, alu_out); in SetResult() 498 TraceRegWr(alu_out); in SetResult() 501 inline void SetFPUWordResult(int32_t fd_reg, int32_t alu_out) { in SetFPUWordResult() argument 502 set_fpu_register_word(fd_reg, alu_out); in SetFPUWordResult() 506 inline void SetFPUWordResult2(int32_t fd_reg, int32_t alu_out) { in SetFPUWordResult2() argument 507 set_fpu_register_word(fd_reg, alu_out); in SetFPUWordResult2() 511 inline void SetFPUResult(int32_t fd_reg, int64_t alu_out) { in SetFPUResult() argument 512 set_fpu_register(fd_reg, alu_out); in SetFPUResult() 516 inline void SetFPUResult2(int32_t fd_reg, int64_t alu_out) { in SetFPUResult2() argument 521 SetFPUFloatResult(int32_t fd_reg, float alu_out) SetFPUFloatResult() argument 526 SetFPUDoubleResult(int32_t fd_reg, double alu_out) SetFPUDoubleResult() argument [all...] |
H A D | simulator-mips64.cc | 3437 int64_t alu_out = 0x12345678; in DecodeTypeRegisterWRsType() local 3440 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType() 3441 SetFPUFloatResult(fd_reg(), static_cast<float>(alu_out)); in DecodeTypeRegisterWRsType() 3444 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType() 3445 SetFPUDoubleResult(fd_reg(), static_cast<double>(alu_out)); in DecodeTypeRegisterWRsType() 3727 int64_t alu_out; in DecodeTypeRegisterSPECIAL() local 3775 alu_out = static_cast<int32_t>(static_cast<uint32_t>(rt_u()) >> sa()); in DecodeTypeRegisterSPECIAL() 3780 alu_out = static_cast<int32_t>( in DecodeTypeRegisterSPECIAL() 3786 SetResult(rd_reg(), alu_out); in DecodeTypeRegisterSPECIAL() local 3793 alu_out in DecodeTypeRegisterSPECIAL() 3802 SetResult(rd_reg(), alu_out); DecodeTypeRegisterSPECIAL() local 3819 SetResult(rd_reg(), alu_out); DecodeTypeRegisterSPECIAL() local 3849 SetResult(rd_reg(), alu_out); DecodeTypeRegisterSPECIAL() local 3863 SetResult(rd_reg(), alu_out); DecodeTypeRegisterSPECIAL() local 3895 SetResult(rd_reg(), alu_out); DecodeTypeRegisterSPECIAL() local 3907 SetResult(rd_reg(), alu_out); DecodeTypeRegisterSPECIAL() local [all...] |
/third_party/node/deps/v8/src/execution/s390/ |
H A D | simulator-s390.cc | 1916 bool Simulator::OverflowFromSigned(T1 alu_out, T1 left, T1 right, in OverflowFromSigned() argument 1923 && ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFromSigned() 1928 && ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFromSigned() 4885 uint32_t alu_out = 0; in EVALUATE() local 4887 alu_out = (r3_val << shiftBits) | (rotateBits); in EVALUATE() 4888 set_low_register(r1, alu_out); in EVALUATE() 5206 uint32_t alu_out = 0; in EVALUATE() local 5208 alu_out in EVALUATE() 5220 uint32_t alu_out = 0; EVALUATE() local 5359 int32_t alu_out = 0; EVALUATE() local 5378 int32_t alu_out = 0; EVALUATE() local 5396 int32_t alu_out = 0; EVALUATE() local 5434 int32_t alu_out = 0; EVALUATE() local 5461 int32_t alu_out = 0; EVALUATE() local 5476 int32_t alu_out = 0; EVALUATE() local 5503 int32_t alu_out = 0; EVALUATE() local 5521 int32_t alu_out = 0; EVALUATE() local 5692 uint32_t alu_out = 0; EVALUATE() local 5707 uint32_t alu_out = 0; EVALUATE() local 5722 int32_t alu_out = -1; EVALUATE() local 5740 int32_t alu_out = 0; EVALUATE() local 5762 uint64_t alu_out = r1_val >> shiftBits; EVALUATE() local 5779 uint64_t alu_out = (static_cast<uint64_t>(r1_val) << 32) | EVALUATE() local 5797 int64_t alu_out = r1_val >> shiftBits; EVALUATE() local 6478 uint32_t alu_out = 0; EVALUATE() local 6489 uint32_t alu_out = 0; EVALUATE() local 6501 uint32_t alu_out = get_high_register<uint32_t>(r1); EVALUATE() local 6512 uint32_t alu_out = get_low_register<uint32_t>(r1); EVALUATE() local 6523 uint32_t alu_out = get_high_register<uint32_t>(r1); EVALUATE() local 6534 uint32_t alu_out = get_low_register<uint32_t>(r1); EVALUATE() local 6562 int64_t alu_out = get_register(r1); EVALUATE() local 6571 int32_t alu_out = get_low_register<int32_t>(r1); EVALUATE() local 6585 uint64_t alu_out; EVALUATE() local 6595 uint32_t alu_out = get_low_register<uint32_t>(r1); EVALUATE() local 6611 int64_t alu_out = r1_val + i2; EVALUATE() local 6626 int32_t alu_out = r1_val + i2; EVALUATE() local 6641 uint64_t alu_out; EVALUATE() local 6652 uint32_t alu_out = get_low_register<uint32_t>(r1); EVALUATE() local 8870 uint32_t alu_out = 0; EVALUATE() local 8891 uint32_t alu_out = 0; EVALUATE() local 9255 int64_t alu_out = get_register(r1); EVALUATE() local 9270 int64_t alu_out = get_register(r1); EVALUATE() local 9290 uint64_t alu_out = r1_val; EVALUATE() local 9308 uint64_t alu_out = r1_val; EVALUATE() local 9399 uint64_t alu_out = r1_val; EVALUATE() local 9414 uint64_t alu_out = r1_val; EVALUATE() local 9504 int64_t alu_out = get_register(r1); EVALUATE() local 9516 int64_t alu_out = get_register(r1); EVALUATE() local 9647 int32_t alu_out = get_low_register<int32_t>(r1); EVALUATE() local 9660 uint32_t alu_out = get_low_register<uint32_t>(r1); EVALUATE() local 9671 int32_t alu_out = get_low_register<int32_t>(r1); EVALUATE() local 9684 int32_t alu_out = get_low_register<int32_t>(r1); EVALUATE() local 9697 int32_t alu_out = get_low_register<int32_t>(r1); EVALUATE() local 9708 int32_t alu_out = get_low_register<int32_t>(r1); EVALUATE() local 9724 int32_t alu_out = get_low_register<int32_t>(r1); EVALUATE() local 9758 uint32_t alu_out = get_low_register<uint32_t>(r1); EVALUATE() local 9771 uint32_t alu_out = get_low_register<uint32_t>(r1); EVALUATE() local 9878 int32_t alu_out = 0; EVALUATE() local 9896 int32_t alu_out = 0; EVALUATE() local 9917 int64_t alu_out = get_register(r1); EVALUATE() local 9930 int64_t alu_out = get_register(r1); EVALUATE() local 9943 int64_t alu_out = get_register(r1); EVALUATE() local 10257 intptr_t alu_out = 0; EVALUATE() local 10274 intptr_t alu_out = 0; EVALUATE() local 10297 uint64_t alu_out = 0; EVALUATE() local 10316 uint64_t alu_out = 0; EVALUATE() local 10404 uint64_t alu_out = 0; EVALUATE() local 10561 int32_t alu_out = mem_val + i2; EVALUATE() local 10590 int64_t alu_out = mem_val + i2; EVALUATE() local 10689 int32_t alu_out = -1; EVALUATE() local 10708 int32_t alu_out = 0; EVALUATE() local 10733 uint32_t alu_out = 0; EVALUATE() local 10754 uint32_t alu_out = 0; EVALUATE() local [all...] |
H A D | simulator-s390.h | 222 inline bool OverflowFromSigned(T1 alu_out, T1 left, T1 right, bool addition);
|
/third_party/node/deps/v8/src/execution/ppc/ |
H A D | simulator-ppc.cc | 919 bool Simulator::OverflowFrom(int32_t alu_out, int32_t left, int32_t right, in OverflowFrom() argument 926 && ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFrom() 931 && ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFrom() 1561 intptr_t alu_out; in ExecuteGeneric() local 1563 alu_out = im_val; in ExecuteGeneric() 1566 alu_out = ra_val + im_val; in ExecuteGeneric() 1568 set_register(rt, alu_out); in ExecuteGeneric() 1666 intptr_t alu_out in ExecuteGeneric() local 1753 uintptr_t alu_out = ra_val + im_val; ExecuteGeneric() local 1767 intptr_t alu_out; ExecuteGeneric() local 1782 intptr_t alu_out; ExecuteGeneric() local 1931 intptr_t alu_out = rs_val | im_val; ExecuteGeneric() local 1940 intptr_t alu_out = rs_val | (im_val << 16); ExecuteGeneric() local 1949 intptr_t alu_out = rs_val ^ im_val; ExecuteGeneric() local 1959 intptr_t alu_out = rs_val ^ (im_val << 16); ExecuteGeneric() local 1968 intptr_t alu_out = rs_val & im_val; ExecuteGeneric() local 1978 intptr_t alu_out = rs_val & (im_val << 16); ExecuteGeneric() local 2017 uint32_t alu_out = (rb_val == 0) ? -1 : ra_val % rb_val; ExecuteGeneric() local 2028 uint64_t alu_out = (rb_val == 0) ? -1 : ra_val % rb_val; ExecuteGeneric() local 2042 int32_t alu_out = (rb_val == 0 || overflow) ? -1 : ra_val % rb_val; ExecuteGeneric() local 2057 int64_t alu_out = ExecuteGeneric() local 2419 uintptr_t alu_out = ~ra_val + rb_val + 1; ExecuteGeneric() local 2440 uintptr_t alu_out = ~ra_val + rb_val; ExecuteGeneric() local 2458 uintptr_t alu_out = ra_val + rb_val; ExecuteGeneric() local 2479 uintptr_t alu_out = ra_val + rb_val; ExecuteGeneric() local 2496 int64_t alu_out = (int64_t)ra_val * (int64_t)rb_val; ExecuteGeneric() local 2512 uint64_t alu_out = (uint64_t)ra_val * (uint64_t)rb_val; ExecuteGeneric() local 2526 intptr_t alu_out = 1 + ~ra_val; ExecuteGeneric() local 2735 intptr_t alu_out = rs_val & rb_val; ExecuteGeneric() local 2748 intptr_t alu_out = rs_val & ~rb_val; ExecuteGeneric() local 2802 intptr_t alu_out = rb_val - ra_val; ExecuteGeneric() local 2831 intptr_t alu_out = ~(rs_val | rb_val); ExecuteGeneric() local 2844 int32_t alu_out = ra_val * rb_val; ExecuteGeneric() local 2859 int64_t alu_out = ra_val * rb_val; ExecuteGeneric() local 2877 int32_t alu_out = (rb_val == 0 || overflow) ? -1 : ra_val / rb_val; ExecuteGeneric() local 2900 uint32_t alu_out = (overflow) ? -1 : ra_val / rb_val; ExecuteGeneric() local 2926 int64_t alu_out = ExecuteGeneric() local 2944 uint64_t alu_out = (rb_val == 0) ? -1 : ra_val / rb_val; ExecuteGeneric() local 2960 intptr_t alu_out = ra_val + rb_val; ExecuteGeneric() local 2974 intptr_t alu_out = rs_val ^ rb_val; ExecuteGeneric() local 2987 intptr_t alu_out = rs_val | rb_val; ExecuteGeneric() local 3000 intptr_t alu_out = rs_val | ~rb_val; ExecuteGeneric() local [all...] |
H A D | simulator-ppc.h | 264 bool OverflowFrom(int32_t alu_out, int32_t left, int32_t right,
|
/third_party/node/deps/v8/src/execution/mips/ |
H A D | simulator-mips.h | 483 inline void SetResult(int32_t rd_reg, int32_t alu_out) { in SetResult() argument 484 set_register(rd_reg, alu_out); in SetResult() 485 TraceRegWr(alu_out); in SetResult() 488 inline void SetFPUWordResult(int32_t fd_reg, int32_t alu_out) { in SetFPUWordResult() argument 489 set_fpu_register_word(fd_reg, alu_out); in SetFPUWordResult() 493 inline void SetFPUResult(int32_t fd_reg, int64_t alu_out) { in SetFPUResult() argument 494 set_fpu_register(fd_reg, alu_out); in SetFPUResult() 498 inline void SetFPUFloatResult(int32_t fd_reg, float alu_out) { in SetFPUFloatResult() argument 499 set_fpu_register_float(fd_reg, alu_out); in SetFPUFloatResult() 503 inline void SetFPUDoubleResult(int32_t fd_reg, double alu_out) { in SetFPUDoubleResult() argument [all...] |
H A D | simulator-mips.cc | 3080 int32_t alu_out = 0x12345678; in DecodeTypeRegisterWRsType() local 3083 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType() 3084 SetFPUFloatResult(fd_reg(), static_cast<float>(alu_out)); in DecodeTypeRegisterWRsType() 3087 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType() 3088 SetFPUDoubleResult(fd_reg(), static_cast<double>(alu_out)); in DecodeTypeRegisterWRsType() 3786 int64_t alu_out = 0x12345678; in DecodeTypeRegisterSPECIAL() local 3823 alu_out = rt() << sa(); in DecodeTypeRegisterSPECIAL() 3824 SetResult(rd_reg(), static_cast<int32_t>(alu_out)); in DecodeTypeRegisterSPECIAL() 3830 alu_out = rt_u() >> sa(); in DecodeTypeRegisterSPECIAL() 3835 alu_out in DecodeTypeRegisterSPECIAL() [all...] |
/third_party/node/deps/v8/src/execution/arm/ |
H A D | simulator-arm.cc | 1225 bool Simulator::OverflowFrom(int32_t alu_out, int32_t left, int32_t right, in OverflowFrom() argument 1232 && ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFrom() 1237 && ((left < 0 && alu_out >= 0) || (left >= 0 && alu_out < 0)); in OverflowFrom() 2049 int32_t alu_out = base::MulWithWraparound(rm_val, rs_val); in DecodeType01() local 2050 set_register(rd, alu_out); in DecodeType01() 2052 SetNZFlags(alu_out); in DecodeType01() 2403 int32_t alu_out; in DecodeType01() local 2409 alu_out in DecodeType01() [all...] |
H A D | simulator-arm.h | 314 bool OverflowFrom(int32_t alu_out, int32_t left, int32_t right,
|