[Webkit-unassigned] [Bug 14602] New: JSC/WTF: fastMalloc doesn't use bsr under VC
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 13 04:08:36 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14602
Summary: JSC/WTF: fastMalloc doesn't use bsr under VC
Product: WebKit
Version: 522+ (nightly)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Trivial
Priority: P5
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: 808caaa4.8ce9.9cd6c799e9f6 at gmail.com
With VC, fastMalloc.cpp doesn't use inline assembly for LgFloor().
#if defined(_MSC_VER) && !defined(_68K_) && !defined(_MPPC_) && !defined(_X86_)
&& !defined(_IA64_) && !defined(_AMD64_) && defined(_M_IX86)
static inline int LgFloor(size_t n) {
__asm xor eax,eax
__asm not eax
__asm bsr eax,n
}
#endif
p.s.
In WebKit.dll, do_malloc() and do_free() expands as ALWAYS_INLINE everywhere
and costs binary sizes.
Is this intended?
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list