]> git.proxmox.com Git - mirror_qemu.git/commit - target-arm/translate.c
target-arm: use tcg_global_mem_new_i32 to allocate registers
authorFilip Navara <filip.navara@gmail.com>
Thu, 15 Oct 2009 10:00:41 +0000 (12:00 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 17 Oct 2009 21:52:16 +0000 (23:52 +0200)
commit155c3eacd2379ad8478e086250a7890ff0b865bf
tree9e62ae71a27d51663d2eec0d49b9cc31e40dcd63
parent5afe3f042ae34a2645684d932a584aed980c045f
target-arm: use tcg_global_mem_new_i32 to allocate registers

Currently each read/write of ARM register involves a LD/ST TCG operation. This
patch uses TCG memory-backed registers to represent the ARM register set. With
memory-backed registers the LD/ST operations are transparently generated by TCG
and host registers could be used to optimize the generated code.

Signed-off-by: Filip Navara <filip.navara@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/translate.c