1. 05 Nov, 2015 3 commits
    • littledan's avatar
      Ship Harmony ToLength · 5d44bf02
      littledan authored
      This patch moves ES2015 ToLength semantics on array operations, etc
      to from staging to shipping.
      
      R=adamk
      BUG=v8:3087
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1433473003
      
      Cr-Commit-Position: refs/heads/master@{#31810}
      5d44bf02
    • littledan's avatar
      Avoid creating indexed elements at index maxUint32 · 755fcc5f
      littledan authored
      The maximum indexed element size is maxUint32-1, not maxUint32, because
      the maximum length of elements is maxUint32. This patch tweaks the limit
      to switch to named properties as appropriate.
      
      BUG=v8:4516
      LOG=Y
      R=adamk
      
      Review URL: https://codereview.chromium.org/1431503002
      
      Cr-Commit-Position: refs/heads/master@{#31809}
      755fcc5f
    • chunyang.dai's avatar
      X87: Change the test case for X87 float operations · 5736eb0c
      chunyang.dai authored
             The CL https://codereview.chromium.org/1409013004 added / changed some test cases.
             Some new test cases use CheckFloatEq(...) and CheckDoubleEq(...) function for result
             check. When GCC compiling the CheckFloatEq() and CheckDoubleEq() function, those inlined
             functions has different behavior comparing with GCC ia32 build and x87 build. The major
             difference is sse float register still has single precision rounding semantic. While X87
             register has no such rounding precsion semantic when directly use register value. The V8
             turbofan JITTed has exactly same result in both X87 and IA32 port.
      
             So we add the following sentence to do type case to keep the same precision.
                float expect = *i * *j; // *i + *j, etc.
      
             For test case "RunFloat64MulAndFloat64Add1 / RunFloat64MulAndFloat64Add2 / RunFloat64MulAndFloat64Sub1
             / RunFloat64MulAndFloat64Sub2", the expected result calcaulated by GCC has difference precsion
             when comparing with V8 turbofan result for X87 platform. (Turbofan X87 result is the same as
             IA32 GCC and IA32 Turbofan). So we have to disable those four cases for X87 port.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1430943002
      
      Cr-Commit-Position: refs/heads/master@{#31808}
      5736eb0c
  2. 04 Nov, 2015 37 commits