[Webkit-unassigned] [Bug 34424] Soft modulo routine for ARM_TRADITIONAL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 4 13:45:38 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34424





--- Comment #11 from Gabor Loki <loki at webkit.org>  2010-02-04 13:45:37 PST ---
> #ifndef ENABLE_JIT_OPTIMIZE_MOD
> #define ENABLE_JIT_OPTIMIZE_MOD (CPU(ARM_TRADITIONAL) &&
> WTF_ARM_ARCH_AT_LEAST(5))
> #endif

This will not work for non-ARM architectures, because there is no way to break
the evaluation of logical expression in a #define. In x86 the #if
ENABLE(JIT_OPTIMIZE_MOD) will turn into something similar:
#if defined ENABLE_JIT_OPTIMIZE_MOD && CPU(ARM_TRADITIONAL) &&
WTF_ARM_ARCH_AT_LEAST(5), where WTF_ARM_ARCH_AT_LEAST is not defined. :(

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list