Status: Untriaged
Owner: ----

New issue 4374 by [email protected]: Math.max inside asm.js produces the wrong result with --turbo_inlining
https://code.google.com/p/v8/issues/detail?id=4374

Code is based on the test located at "mjsunit/compiler/regress-468162.js" in the V8 repo.

The below code should print "0", but prints "-Infinity" when running d8 with "--always_opt --turbo --turbo_inlining".
I'm running the latests build, X64.release on Ubuntu.

var asm = (function() {
  "use asm";
  var max = Math.max;
  return function f() { return max(0, -17); };
})();

print(asm());

Attachments:
        code.js  134 bytes

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to