Closed
Bug 325657
Opened 19 years ago
Closed 19 years ago
Unset ECL_USE_FP for USE_ABI32_INT64 and USE_ABI64_INT Solaris SPARC freebl libraries
Categories
(NSS :: Libraries, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
3.11.1
People
(Reporter: wtc, Assigned: neil.williams)
Details
Attachments
(1 file, 1 obsolete file)
1.90 KB,
patch
|
nelson
:
review+
wtc
:
review+
|
Details | Diff | Splinter Review |
In mozilla/security/nss/lib/freebl/Makefile, we set ECL_USE_FP=1 for all Solaris SPARC freebl libraries. Since some UltraSPARC processors do not have strong floating point performance, we should not set ECL_USE_FP when we build the freebl libraries (USE_ABI32_INT64 and USE_ABI64_INT) for these processors. Nelson, please assign this bug to the appropriate Sun NSS developer because I don't have any systems that use these UltraSPARC processors. The patch to implement this change is trivial, but we need to measure the performance to be sure this change is a win.
Reporter | ||
Updated•19 years ago
|
Priority: -- → P2
Target Milestone: --- → 3.11.1
Comment 1•19 years ago
|
||
Neil, please give this top priority.
Assignee: nelson → neil.williams
Priority: P2 → P1
Assignee | ||
Comment 2•19 years ago
|
||
I think patch does what was suggested but I need a decent performance test for ECC. Any suggestions?
Reporter | ||
Comment 3•19 years ago
|
||
It's not clear to me whether we should set ECL_USE_FP=1 or not for the USE_ABI32_INT32 freebl library.
Comment 4•19 years ago
|
||
Comment on attachment 210670 [details] [diff] [review] proposed patch This patch adds 4 lines, two in the part that is GCC specific, and two in the part that is SunStudio specific, and none in the part that is common to GCC and Studio. I believe the two lines can be added into the common part, and are not needed in the two compiler-specific parts. Wan-Teh wondered about USE_ABI32_INT32. We haven't used FPU for that process/ABI before, so for now, let's continue to not use the FPU on it.
Attachment #210670 -
Flags: review-
Assignee | ||
Comment 5•19 years ago
|
||
Bltest has an option to test ECC signing. I'll post another comment as soon as I have some before-and-after-this-patch results.
Attachment #210670 -
Attachment is obsolete: true
Comment 6•19 years ago
|
||
Comment on attachment 211031 [details] [diff] [review] incorporates Nelson's suggestion r=nelson Floating point performance on certain CPUs is SO BAD that I'm confident this change will improve things. be sure that any comparative measurements are done on those CPUs.
Attachment #211031 -
Flags: review+
Reporter | ||
Comment 7•19 years ago
|
||
Comment on attachment 211031 [details] [diff] [review] incorporates Nelson's suggestion r=wtc.
Attachment #211031 -
Flags: review+
Assignee | ||
Comment 8•19 years ago
|
||
Checking in Makefile; /cvsroot/mozilla/security/nss/lib/freebl/Makefile,v <-- Makefile new revision: 1.72; previous revision: 1.71
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 9•19 years ago
|
||
Neil, this patch also needs to go into the NSS_3_11_BRANCH.
Assignee | ||
Comment 10•19 years ago
|
||
3.11 branch Checking in Makefile; /cvsroot/mozilla/security/nss/lib/freebl/Makefile,v <-- Makefile new revision: 1.70.2.2; previous revision: 1.70.2.1 done Thanks, Wan-Teh
You need to log in
before you can comment on or make changes to this bug.
Description
•