DescriptionAdd roundsd instruction to ia32 and use it in optimized Math.floor.
It is available platforms that have SSE 4.1 and allows us to handle
negative numbers without deoptimization. Before we would deoptimize
on negative inputs to Math.floor. x64 already uses this instruction.
* Change Math.floor unit test to make sure every test case gets
optimized by changing the source code for each test case.
* Fix HIR debug printing for some instructions.
Committed: http://code.google.com/p/v8/source/detail?r=8921
Patch Set 1 #Patch Set 2 : '' #
Total comments: 2
Messages
Total messages: 2 (0 generated)
|