Bug 210982 - We need profiling for BigInt math that tells us what format the result of an operation will be
Summary: We need profiling for BigInt math that tells us what format the result of an ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-24 12:07 PDT by Saam Barati
Modified: 2020-04-24 12:07 PDT (History)
12 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saam Barati 2020-04-24 12:07:19 PDT
We need to know:
- Will we always produce a BigInt32 (this could happen even when the inputs are HeapBigInt)
- We will always produce a HeapBigInt (this could happen even when the inputs are always BigInt32)
- When we produce both

For example, we'll want some kind of Add on binaryUseKind(BigInt32) that speculates the result doesn't overflow, so it can say it results in BigInt32 definitively

etc.