Bug 121520

Summary: DFG should use the (x & 0x7fffffff) trick for doing overflow and neg-zero checks on negation in one go
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, ggaren, mark.lam, mhahnenberg, msaboff, oliver, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
the patch oliver: review+

Filip Pizlo
Reported 2013-09-17 14:26:31 PDT
The baseline JIT uses it already. It's a silly oversight that the DFG doesn't.
Attachments
the patch (3.00 KB, patch)
2013-09-17 14:27 PDT, Filip Pizlo
oliver: review+
Filip Pizlo
Comment 1 2013-09-17 14:27:18 PDT
Created attachment 211942 [details] the patch
Filip Pizlo
Comment 2 2013-09-17 18:03:50 PDT
Note You need to log in before you can comment on or make changes to this bug.