Closed
Bug 133573
Opened 23 years ago
Closed 23 years ago
Speed up xptcinvoke on AIX
Categories
(Core :: XPConnect, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.0
People
(Reporter: pkwarren, Assigned: jdunn)
Details
(Keywords: perf)
Attachments
(1 file)
|
3.64 KB,
patch
|
jband_mozilla
:
review+
jband_mozilla
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
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.
| Reporter | ||
Comment 1•23 years ago
|
||
Patch which removes invoke_count_words from xptcinvoke assembly. We assume that
the maximum stack size we need to create is 8 bytes * numParams.
| Reporter | ||
Comment 2•23 years ago
|
||
A similar improvement was made for Win32 with Bug 111771.
Comment 3•23 years ago
|
||
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
r=jdunn@netscape.com
I tried this out on my aix machine, looks good.
Comment 6•23 years ago
|
||
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+
Comment 8•23 years ago
|
||
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
You need to log in
before you can comment on or make changes to this bug.
Description
•