Closed
Bug 546354
Opened 16 years ago
Closed 7 years ago
InlineHashtable::FindOneBit should live in VMPI
Categories
(Tamarin Graveyard :: Virtual Machine, enhancement)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: stejohns, Unassigned)
Details
It's a horrible sequence of CPU/compiler-specific nastiness and belongs in VMPI, not in core code.
Comment 1•15 years ago
|
||
Also, according to Ed there are compiler intrinsics that can be used rather than inline assembler:
"I do know that GCC and MSVC both have intrinsic functions that do what the inline asm does, in this case, and that those intrinsics *do* get optimized well when the surrounding function is inlined. For example __builtin_ctz() on GCC, and _BitScanForward() on MSVC."
Comment 2•15 years ago
|
||
From Werner:
"The _BitScanReverse intrinsic is available on x86 as well as x64 so there is no need for raw ASM on Windows at least."
Comment 3•7 years ago
|
||
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Comment 4•7 years ago
|
||
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in
before you can comment on or make changes to this bug.
Description
•