Closed Bug 546354 Opened 16 years ago Closed 7 years ago

InlineHashtable::FindOneBit should live in VMPI

Categories

(Tamarin Graveyard :: Virtual Machine, enhancement)

enhancement
Not set
normal

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.
Flags: flashplayer-qrb+
Target Milestone: --- → Future
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."
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."
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in before you can comment on or make changes to this bug.