V4 JIT: tune generated instructions for inplace binops
authorErik Verbruggen <erik.verbruggen@digia.com>
Fri, 27 Jun 2014 12:37:50 +0000 (14:37 +0200)
committerErik Verbruggen <erik.verbruggen@digia.com>
Tue, 12 Aug 2014 07:50:28 +0000 (09:50 +0200)
commit99d0921e2d2a20b956cab172d472f7c369c05008
treee39b890261ff91862e5c1a0718c3408c41c927a8
parent430853836f9c17154ef3ee4cac6b03b90ee493a9
V4 JIT: tune generated instructions for inplace binops

Generate better code for in-place binary operations where the right-hand
side is either a constant or a memory address. Now that the JIT can do
this, also tell the register allocator not to un-spill that right-hand
side.

Change-Id: I0ab852f6b92f90dfed99c05fbaf91aad2549ecf4
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/3rdparty/masm/assembler/MacroAssemblerARMv7.h
src/qml/compiler/qv4ssa.cpp
src/qml/jit/qv4assembler.cpp
src/qml/jit/qv4assembler_p.h
src/qml/jit/qv4binop.cpp
src/qml/jit/qv4isel_masm.cpp
src/qml/jit/qv4regalloc.cpp