diff options
author | Lars Knoll <[email protected]> | 2013-10-13 21:03:44 +0200 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-10-14 21:59:59 +0200 |
commit | 1be51cc3e7c9ca5256a52136d6fcc9c22c997625 (patch) | |
tree | e0c4f1feae828c4f04f0b8b63201627aa20cf43c /src/qml/compiler/qv4isel_masm_p.h | |
parent | 668eca2b9343cf5d79dc1faa6c251595e2e84918 (diff) |
inline get_element calls
Inline calls to get_element if the base is an
object with a simple array structure, and the index
is an integer number.
Implemented for 64bit only for now, saves ~25% on crypto.js
Change-Id: I3e34a6409169d90d3937f62264707d52a6c2f9f7
Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/qml/compiler/qv4isel_masm_p.h')
-rw-r--r-- | src/qml/compiler/qv4isel_masm_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4isel_masm_p.h b/src/qml/compiler/qv4isel_masm_p.h index fb990d0d53..4d1114e756 100644 --- a/src/qml/compiler/qv4isel_masm_p.h +++ b/src/qml/compiler/qv4isel_masm_p.h @@ -136,6 +136,7 @@ public: static const RegisterID ScratchRegister = JSC::X86Registers::r10; static const RegisterID IntegerOpRegister = JSC::X86Registers::eax; static const FPRegisterID FPGpr0 = JSC::X86Registers::xmm0; + static const FPRegisterID FPGpr1 = JSC::X86Registers::xmm1; static const int RegisterSize = 8; |