Open
Bug 1284375
Opened 9 years ago
Updated 2 years ago
Make the x86-64 asm in NSS compliant with Windows x86-64 ABI
Categories
(NSS :: Libraries, defect, P3)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: yuhongbao_386, Unassigned)
Details
Attachments
(3 files, 8 obsolete files)
6.73 KB,
patch
|
Details | Diff | Splinter Review | |
8.90 KB,
patch
|
Details | Diff | Splinter Review | |
695 bytes,
patch
|
Details | Diff | Splinter Review |
Currently many of the Windows x64 assembly code in NSS has no function tables and has other violations of the Windows x64 ABI.
Reporter | ||
Comment 1•9 years ago
|
||
(Fixed version of intel-gcm-x64-masm.asm is in bug 1283585)
Reporter | ||
Comment 2•9 years ago
|
||
Comment 3•8 years ago
|
||
Tim, can you recommend someone to review Yuhong's NSS patches here?
Blocks: win64-rollout
Flags: needinfo?(ttaubert)
Comment 4•8 years ago
|
||
Cc'ing Franziskus who's working on related things currently and in the near future.
Flags: needinfo?(ttaubert)
Comment 5•8 years ago
|
||
Franziskus, can you please review Yuhong's NSS patches?
Should this bug block our rollout of 64-bit Firefox builds to more Win64 OS users? (win64-rollout meta bug 1340936)
Flags: needinfo?(franziskuskiefer)
Chris, I don't think this should block any Win64-related tracking bugs. This appears to be mainly a matter of academic correctness.
Reporter | ||
Comment 7•8 years ago
|
||
It matters when debugging and when it crashes.
Reporter | ||
Comment 8•8 years ago
|
||
Should I write a version of intel-gcm-x64-masm.asm with just the Windows x64 SEH fixes.
Reporter | ||
Comment 9•8 years ago
|
||
More precisely, when it crashes Windows x64 SEH would not be able to unwind properly without this fix.
Reporter | ||
Comment 10•8 years ago
|
||
Reporter | ||
Comment 11•8 years ago
|
||
Attachment #8869666 -
Attachment is obsolete: true
Reporter | ||
Comment 12•8 years ago
|
||
Attachment #8869667 -
Attachment is obsolete: true
Updated•8 years ago
|
No longer blocks: win64-rollout
Comment 13•8 years ago
|
||
I don't think this has to block win64 rollout. I haven't seen any crashes related to this code.
@Yuhong. I'm happy to look at the code if you provide patches.
Flags: needinfo?(franziskuskiefer)
Reporter | ||
Comment 14•8 years ago
|
||
Note that crash reporting itself may depend on Windows x64 SEH working properly though!
Reporter | ||
Comment 15•8 years ago
|
||
Attachment #8869668 -
Attachment is obsolete: true
Reporter | ||
Comment 16•8 years ago
|
||
Attachment #8767823 -
Attachment is obsolete: true
Reporter | ||
Comment 17•8 years ago
|
||
Reporter | ||
Updated•8 years ago
|
Attachment #8767819 -
Attachment is obsolete: true
Comment 18•8 years ago
|
||
Hm, those are diffs not patches :(
Reporter | ||
Comment 19•8 years ago
|
||
I will see if I can do a better one.
Reporter | ||
Comment 20•8 years ago
|
||
Attachment #8870106 -
Attachment is obsolete: true
Reporter | ||
Comment 21•8 years ago
|
||
Attachment #8870111 -
Attachment is obsolete: true
Reporter | ||
Comment 22•8 years ago
|
||
Attachment #8870108 -
Attachment is obsolete: true
Comment 23•8 years ago
|
||
Comment on attachment 8870319 [details] [diff] [review]
Patch 2 for intel-gcm-x64-masm.asm
Review of attachment 8870319 [details] [diff] [review]:
-----------------------------------------------------------------
I don't like all the separate savexmm128 statements. Wrapping them in a macro would make this code much more readable. Same goes for allocstack.
Reporter | ||
Comment 24•8 years ago
|
||
There is ksamd64.inc.
Updated•7 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•