Bug 179024
Summary: | [ARM64][Linux] ChakraCore.yaml/ChakraCore/test/GlobalFunctions/ParseInt1.js.default is failing | ||
---|---|---|---|
Product: | WebKit | Reporter: | Zan Dobersek <zan> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 108645 |
Zan Dobersek
The ChakraCore.yaml/ChakraCore/test/GlobalFunctions/ParseInt1.js.default JSC test is failing on ARM64 Linux configurations:
ChakraCore.yaml/ChakraCore/test/GlobalFunctions/ParseInt1.js.default: DIFF FAILURE!
ChakraCore.yaml/ChakraCore/test/GlobalFunctions/ParseInt1.js.default: --- ../.tests/ChakraCore.yaml/ChakraCore/test/GlobalFunctions/ParseInt1.baseline 2017-10-30 11:54:21.000000000 -0700
ChakraCore.yaml/ChakraCore/test/GlobalFunctions/ParseInt1.js.default: +++ ../ChakraCore.yaml/ChakraCore/test/GlobalFunctions/ParseInt1.js.default.out 2017-10-30 11:54:35.423374816 -0700
ChakraCore.yaml/ChakraCore/test/GlobalFunctions/ParseInt1.js.default: @@ -1 +1,2 @@
ChakraCore.yaml/ChakraCore/test/GlobalFunctions/ParseInt1.js.default: +57:" Base 34 number " failed Actual:24661871785383064000 Excpected:24661871785383068000
ChakraCore.yaml/ChakraCore/test/GlobalFunctions/ParseInt1.js.default: Done
TL;DR: parseInt() implementation generates a fmadd instruction that skewers the floating-point accuracy to the point that this failure occurs. More about it at a later point.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |