Open
Bug 1201868
Opened 9 years ago
Updated 2 years ago
Turn on assembler optimization for OSX x86_64
Categories
(NSS :: Libraries, defect, P3)
Tracking
(firefox43 affected)
NEW
Tracking | Status | |
---|---|---|
firefox43 | --- | affected |
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
Attachments
(1 file)
22.30 KB,
patch
|
Details | Diff | Splinter Review |
We still use C language code only for OSX x86_64... We should use assembler code for MPI and Intel AES. But toolchain is old on OSX, so we cannot still use AES GCM code.
Assignee | ||
Comment 1•9 years ago
|
||
asm suffix is ".s", we cannot use macro. So I add fixed copy for OSX.
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8657087 [details] [diff] [review]
Use assembler for some code
asm suffix is ".s", so we cannot use #ifdef macro into assmbler code. So I add darwin's assembler.
Attachment #8657087 -
Flags: review?(rrelyea)
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8657087 [details] [diff] [review]
Use assembler for some code
wtc, could you review instead of Robert?
Attachment #8657087 -
Flags: review?(wtc)
Comment 4•9 years ago
|
||
Makoto: could you provide either a reference or an example in the Mozilla
source tree that shows the differences between the Linux and Mac OS X
assemblers that your patch handles?
- the need for the leading underscore in function names
- the need to delete .type, .size, .section, and .previous directives
Thanks!
Comment 5•9 years ago
|
||
Makoto: should we rename these files with the .S (capital S) suffix
so that we can use C preprocessor macros in these files?
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to Wan-Teh Chang from comment #4)
> Makoto: could you provide either a reference or an example in the Mozilla
> source tree that shows the differences between the Linux and Mac OS X
> assemblers that your patch handles?
>
> - the need for the leading underscore in function names
> - the need to delete .type, .size, .section, and .previous directives
>
> Thanks!
Apple's assembler doesn't support it. Bug 333601 comment #1 and landing code are answer.
(In reply to Wan-Teh Chang from comment #5)
> Makoto: should we rename these files with the .S (capital S) suffix
> so that we can use C preprocessor macros in these files?
NSS build config doesn't support .S file for preprocessor.
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
•