Closed mtbrandy closed 10 years ago
Simple command line to replicate
$ ./out/ppc.release/d8 --allow-natives-syntax ./test/mjsunit/mjsunit.js ./test/mjsunit/nans.js
Patched in 66570962cb398c82e9ee95d9ee336dd65268a261
Manually tested on x64, works fine. Jenkins based tests on ppc / ppc64 are clean too.
This test creates an initialized typed integer array and then interprets the array buffer as a type float64 array:
Thus the result depends on the endianness of the architecture.