On 2009-05-14, at 12:35, Oliver Hunt wrote:

This branch is still in the early prototype stage and should be looked at as being final in any real sense

What do you mean by "this branch"?  Gabor linked to code that is on trunk, and has been for some time.

- Mark

On May 14, 2009, at 8:08 AM, Gabor Loki wrote:

Hi,

I was wondering why JITArithmetic.cpp uses so many functions from
X86Assembler. This should not be happened. MacroAssembler was
introduced to be the 'common interface' for every back ends (not only
for x86). Am I right?

For example: In 'emit_op_rshift' function

http://trac.webkit.org/browser/trunk/JavaScriptCore/jit/JITArithmetic.cpp#L121

121#if USE(ALTERNATE_JSIMMEDIATE)
122 addSlowCase(emitJumpIfNotImmediateNumber(regT0));
123 __ movq_rr(regT0, X86::xmm0);
124#else
125 emitJumpSlowCaseIfNotJSCell(regT0, op1);
126 addSlowCase(checkStructure(regT0, m_globalData->numberStructure.get()));
*******************
127 __ movsd_mr(FIELD_OFFSET(JSNumberCell, m_value), regT0, X86::xmm0);
*******************
128#endif

IMHO, if a platform specific solution have to be used, creates a separate file
which will contain those solutions/optimizations.

What do you think about this issue?

--Gabor


_______________________________________________
squirrelfish-dev mailing list
squirrelfish-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/squirrelfish-dev

_______________________________________________
squirrelfish-dev mailing list
squirrelfish-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/squirrelfish-dev