Closed Bug 568337 Opened 15 years ago Closed 15 years ago

MathUtils::doubleToBool should be inlined in LIR

Categories

(Tamarin Graveyard :: Virtual Machine, enhancement, P2)

enhancement

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 477779
Q3 11 - Serrano

People

(Reporter: stejohns, Assigned: stejohns)

Details

Attachments

(1 file)

The primes.as benchmark spends 12% of its time in this function, much of which is call overhead. It could be trivially inlined using existing LIR.
Attached patch PatchSplinter Review
Speeds up prime.as by ~5% on my MacTel32.
Assignee: nobody → stejohns
Attachment #447611 - Flags: review?(edwsmith)
This is a dup of bug 477779, want poach it from me? Turns doubleToBool() into a single instruction on supported CPU's. Code for x86, x64, and PPC is already done. could use your code on the rest, or finish the other backends.
Comment on attachment 447611 [details] [diff] [review] Patch doubleToBool is dead code after this patch, should delete it. plus, see above -- if you dont want to poach bug 4777779 then we can do this one in the interim. due diligence: code size #s? results on other tests?
Attachment #447611 - Flags: review?(edwsmith) → review-
Flags: flashplayer-qrb+
Priority: -- → P2
Target Milestone: --- → flash10.2
Doh -- hadn't realized this is a dupe. I like the other approach better, I'll just close this one out.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
bulk verifying resolved !fixed issues
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: