Revert "[turbofan] Add fast path for Math.pow with small positive integer exponent"
This reverts commit 83470dee. Reason for revert: Introduced inconsistencies with the runtime (https://crbug.com/chromium/1339320) and increased inaccuracy (https://crbug.com/v8/12996). Even though this is currently not specified, the speed improvement doesn't seem to be worth the lower precision. Bug: chromium:1339320, v8:12996 Original change's description: > [turbofan] Add fast path for Math.pow with small positive integer exponent > > For small positive integer exponents, calculate the result with an inlined loop. > > This change may improve the average runtime of JetStream2/raytrace for ~8%. > > Change-Id: I0e3939dc9c21b0c392c04d61fd197bf618004ab4 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3708024 > Commit-Queue: Fanchen Kong <fanchen.kong@intel.com> > Reviewed-by: Maya Lekova <mslekova@chromium.org> > Cr-Commit-Position: refs/heads/main@{#81341} Change-Id: Idfaa229b3d37a1831f016453c6091d2498cb6bcd Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3735129 Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Maya Lekova <mslekova@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#81463}
Showing
Please
register
or
sign in
to comment