Closed Bug 133573 Opened 23 years ago Closed 23 years ago

Speed up xptcinvoke on AIX

Categories

(Core :: XPConnect, defect)

Other
AIX
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: pkwarren, Assigned: jdunn)

Details

(Keywords: perf)

Attachments

(1 file)

By removing the invoke_count_words function, and just using an upper bound on the number of bytes of stack required (max parameter size * number of parameters), we can improve the speed of the xptcinvoke assembly greatly.
Patch which removes invoke_count_words from xptcinvoke assembly. We assume that the maximum stack size we need to create is 8 bytes * numParams.
A similar improvement was made for Win32 with Bug 111771.
Adding perf keyword. I'm not real familiar with PPC assember: + slwi r3,r4,3 # number of bytes of stack required I assume this shifts r4 and stores the value in r3. If that's correct it looks fine to me, do we have any other PPC assembler people around that could review?
Keywords: perf
Formally confirming bug -
Status: UNCONFIRMED → NEW
Ever confirmed: true
r=jdunn@netscape.com I tried this out on my aix machine, looks good.
Comment on attachment 76252 [details] [diff] [review] Patch to remove invoke_count_words sr=jband (flipped reviewed flag for jdunn too) These aix/ppc changes certainly won't impact anything else.
Attachment #76252 - Flags: superreview+
Attachment #76252 - Flags: review+
reassigning
Assignee: dbradley → jdunn
Comment on attachment 76252 [details] [diff] [review] Patch to remove invoke_count_words a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #76252 - Flags: approval+
fix checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.0
Marking Verified -
Status: RESOLVED → VERIFIED
See Also: → 1335732
See Also: 1335732
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: