• Nico Hartmann's avatar
    Revert "[Torque] Generalize Torque literals to larger size" · 362e265d
    Nico Hartmann authored
    This reverts commit 757830b0.
    
    Reason for revert: Speculatively revert due to a number of
    performance regressions
    
    Original change's description:
    > [Torque] Generalize Torque literals to larger size
    >
    > Previously, literals in Torque were stored as double values, which
    > made it impossible to precisely represent 64 bit integer values.
    > This CL replaces the old literal expression with an integer and
    > floating point literal expression that are unbounded in size. We
    > allow implicit conversion of these literals to arbitary integer
    > and floating point types respectively and insert a corresponding
    > bounds check into generated CSA.
    >
    > Bug: v8:7793
    > Change-Id: I46c231aab92bc2f0c26955d1876079f306b358c6
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3329792
    > Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
    > Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
    > Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#78671}
    
    Bug: v8:7793
    Change-Id: I9896e28b3c69b8cf2488bf93e993ec320d8c5d2e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3401866Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
    Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
    Owners-Override: Nico Hartmann <nicohartmann@chromium.org>
    Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78706}
    362e265d
convert.tq 10.6 KB