aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.c
diff options
context:
space:
mode:
authorjeffhao <jeffhao@google.com>2011-01-17 11:37:21 -0800
committerjeffhao <jeffhao@google.com>2011-01-18 13:13:10 -0800
commitdd79e4e11fa20d6677b70ce6618a8653a1f3520d (patch)
tree5578c08fc06e9ce643a991d5e18645fb3fc837c8 /vm/compiler/codegen/arm/CodegenDriver.c
parenta829642b5486f38d17c0489efafd5cfcafc05415 (diff)
Optimized dx instruction expansion to only generate necessary moves.
When an instruction's fields do not fit into an instruction format, dx expands the instruction. Before, this would always use new registers for sources and destination, generating moves for each. However, some of these moves would be unnecessary if an original register already fit into the instruction format. This change checks to see if the original register fits before using a new register and generating a new move. Change-Id: I17c6722cf4053573bf913a28d631386f2c3a733d
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions