| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 01ebb47 commit 9d27d9a
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ | |||
| 11 | 11 | #define V8_MAJOR_VERSION 14 | |
| 12 | 12 | #define V8_MINOR_VERSION 3 | |
| 13 | 13 | #define V8_BUILD_NUMBER 127 | |
| 14 | - #define V8_PATCH_LEVEL 16 | ||
| 14 | + #define V8_PATCH_LEVEL 17 | ||
| 15 | 15 | ||
| 16 | 16 | // Use 1 for candidates and 0 otherwise. | |
| 17 | 17 | // (Boolean macro values are not supported by all preprocessors.) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -323,7 +323,7 @@ void Int32Multiply::GenerateCode(MaglevAssembler* masm, | |||
| 323 | 323 | __ Smull(out, left, right); | |
| 324 | 324 | ||
| 325 | 325 | // Making sure that the 32-bit output is zero-extended. | |
| 326 | - __ Move(out.W(), out.W()); | ||
| 326 | + __ Mov(out.W(), out.W()); | ||
| 327 | 327 | } | |
| 328 | 328 | ||
| 329 | 329 | void Int32MultiplyOverflownBits::SetValueLocationConstraints() { | |
@@ -468,7 +468,7 @@ void Int32MultiplyWithOverflow::GenerateCode(MaglevAssembler* masm, | |||
| 468 | 468 | ||
| 469 | 469 | // Making sure that the 32-bit output is zero-extended (and moving it to the | |
| 470 | 470 | // right register if {out_alias_input} is true). | |
| 471 | - __ Move(out, res.W()); | ||
| 471 | + __ Mov(out, res.W()); | ||
| 472 | 472 | } | |
| 473 | 473 | ||
| 474 | 474 | void Int32DivideWithOverflow::SetValueLocationConstraints() { | |
@@ -536,7 +536,7 @@ void Int32DivideWithOverflow::GenerateCode(MaglevAssembler* masm, | |||
| 536 | 536 | __ CompareAndBranch(temp, Immediate(0), ne, | |
| 537 | 537 | __ GetDeoptLabel(this, DeoptimizeReason::kNotInt32)); | |
| 538 | 538 | ||
| 539 | - __ Move(out, res); | ||
| 539 | + __ Mov(out, res); | ||
| 540 | 540 | } | |
| 541 | 541 | ||
| 542 | 542 | void Int32ModulusWithOverflow::SetValueLocationConstraints() { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,22 @@ | |||
| 1 | + // Copyright 2025 the V8 project authors. All rights reserved. | ||
| 2 | + // Use of this source code is governed by a BSD-style license that can be | ||
| 3 | + // found in the LICENSE file. | ||
| 4 | + | ||
| 5 | + // Flags: --allow-natives-syntax | ||
| 6 | + | ||
| 7 | + function trigger(cond) { | ||
| 8 | + let o = {}; | ||
| 9 | + let mul = (cond ? 1 : 0x80000000) | 0; | ||
| 10 | + print(mul); | ||
| 11 | + let idx = (mul * 2) | 0; | ||
| 12 | + print(idx); | ||
| 13 | + o[0] = 1.1; | ||
| 14 | + if (cond) o[1] = 2.2; | ||
| 15 | + return o[idx]; | ||
| 16 | + } | ||
| 17 | + | ||
| 18 | + %PrepareFunctionForOptimization(trigger); | ||
| 19 | + trigger(true); | ||
| 20 | + trigger(false); | ||
| 21 | + %OptimizeMaglevOnNextCall(trigger); | ||
| 22 | + trigger(false); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments