Closed Bug 512579 Opened 15 years ago Closed 6 months ago

Support bswap assembler instructions in freebl on Solaris x86/x64/Sparc

Categories

(NSS :: Libraries, enhancement)

3.12.4
x86
Solaris
enhancement

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: julien.pierre, Unassigned)

Details

Currently, we are relying on the compiler to emit bswap instructions for certain C code sequences such as SHA_HTNOL . We can't be certain what really happens unless we disassemble the code.

Studio 12, which is the compiler we officially use on Solaris now, claims to have some sort of inline assembly support. It should work for both x86/x64 and Sparc.

There are some examples of people trying to do this at http://forums.sun.com/thread.jspa?threadID=5357559 . I don't know if they have succeeded or not, but there is a suggestion that this is at least possible. We should do this optimization if we can.
Severity: normal → enhancement
Target Milestone: --- → 3.12.3
Target Milestone: 3.12.3 → ---
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.