Actions
Bug #5288
closedx86 bitmap inline asm functions duplicate code
Start date:
2014-11-05
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
The inline assembly functions in uts/intel/asm/bitmap.h duplicate way too much code.
- don't duplicate inline assembly blocks unnecessarily
- drop __ from local variables
- atomic_btr32 can generate better code by using "m" constraint instead of "r"
Related issues
Updated by Electric Monk over 8 years ago
- Status changed from New to Closed
- % Done changed from 70 to 100
git commit 7e33f252cf7e3c3ee6c4ad7a90480f5aea3a026c
commit 7e33f252cf7e3c3ee6c4ad7a90480f5aea3a026c Author: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Date: 2014-11-11T05:21:27.000Z 5288 x86 bitmap inline asm functions duplicate code Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
Actions