Bug 144976

Summary: [ARM64] Do not fail branchConvertDoubleToInt32 when the result is zero and not negative zero
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: New BugsAssignee: Benjamin Poulain <benjamin>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Benjamin Poulain 2015-05-13 17:38:43 PDT
[ARM64] Do not fail branchConvertDoubleToInt32 when the result is zero and not negative zero
Comment 1 Benjamin Poulain 2015-05-13 17:43:09 PDT
Created attachment 253077 [details]
Patch
Comment 2 Michael Saboff 2015-05-13 17:48:50 PDT
Comment on attachment 253077 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=253077&action=review

Needs a little more work I think

> Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:1212
> +            Jump valueIsNonZero = branchTest32(NonZero, dest);

You don't have anything in dest yet to make this comparison.
Comment 3 Benjamin Poulain 2015-05-14 19:17:14 PDT
Created attachment 253167 [details]
Patch
Comment 4 Michael Saboff 2015-05-14 21:10:00 PDT
Comment on attachment 253167 [details]
Patch

r=me
Comment 5 Benjamin Poulain 2015-05-15 14:11:38 PDT
Comment on attachment 253167 [details]
Patch

Clearing flags on attachment: 253167

Committed r184414: <http://trac.webkit.org/changeset/184414>
Comment 6 Benjamin Poulain 2015-05-15 14:11:45 PDT
All reviewed patches have been landed.  Closing bug.