Closed Bug 579225 Opened 11 years ago Closed 11 years ago

JM: fast paths for comparing doubles

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dmandelin, Assigned: dvander)

References

Details

We need fast paths for doubles for JSOP_(GE|GT|LE|LT). There are about 600K such ops in SunSpider. This might also give us 3 ms or so on V8, but that's hard to even see in such big total times.

JM wanted SS win: 10 ms
I also measured this to be a big win in JSNES.

Double fast-paths for comparison will look like a simpler version of jsop_binary(), which is still unideal. It may be worth leaving this until later to see whether anything happens with FrameState changes -- if not, we can implement this the hard way.
Assignee: general → dvander
http://hg.mozilla.org/users/danderson_mozilla.com/moo/rev/519ef7509207

About 16ms win on my Desktop, less on the graphs (mac-mini dampened to 8ms).
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.