I was wondering whether it is possible to remove the constant pool area in
jit.

It is.

RegisterFile contents right now:
... [ CallFrame ] [ Cleared const pool ] [ temporary SF registers ] ...

(SF means SquirellFish)

The constant pool is only used by interpreter, the jit simply clears the area. It is not important on desktop systems, because of the big caches, but in arm, that is a waste of cache space. I think shifting the remporary SF registers by the size of the constant pool and changing some variables
(i.e: m_numConstants set to 0) in the CodeBlock during jit compilation
might be enough to implement this optimization. Do you agree?

Yes.

Geoff
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to