Hi,
Old version seems use ENABLE_JIT_OPTIMIZE_ARITHMETIC to enable sse2 and only
for X86_64, current version changes conf to:
1. you must ENABLE_JIT_OPTIMIZE_ARITHMETIC or else you use interpreter for
arithmatic.
2. if ALTERNATE_JSIMMEDIATE not enabled you must have sse2 engine
3. if
SSE2 code generation is guarded by calls to a function
'isSSE2Present()'.
On Feb 26, 2009, at 12:27 PM, x yz wrote:
Hi,
Old version seems use ENABLE_JIT_OPTIMIZE_ARITHMETIC to enable sse2
and only for X86_64, current version changes conf to:
1. you must ENABLE_JIT_OPTIMIZE_ARITHMETIC or
yes but if isSSE2Present() returns false the code becomes very simple so I
doubt it may be slow.
what's the benefit to enable/disable ALTERNATE_JSIMMEDIATE?
thanks
joe
--- On Fri, 2/27/09, Gavin Barraclough barraclo...@apple.com wrote:
From: Gavin Barraclough barraclo...@apple.com
Subject:
ALTERNATE_JSIMMEDIATE is only supported on 64-bit, and all 64-bit
x86's have SSE2 – so the ALTERNATE_JSIMMEDIATE code is assuming that
SSE2 is present. If we wanted to make ALTERNATE_JSIMMEDIATE being
enabled on 32-bit x86 possible, then we would also need to check
isSSE2Present() here.
4 matches
Mail list logo