On 09/26/2013 05:48 PM, Alexander Graf wrote:
> +if (is_k) {
> +tcg_imm = tcg_const_i64(imm);
> +tcg_gen_deposit_i64(cpu_reg(reg), cpu_reg(reg), tcg_imm, pos, 16);
> +tcg_temp_free_i64(tcg_imm);
> +} else {
> +tcg_gen_movi_i64(cpu_reg(reg), imm << pos);
> +
This patch adds emulation for the movi instruction.
Signed-off-by: Alexander Graf
---
target-arm/translate-a64.c | 45 +
1 file changed, 45 insertions(+)
diff --git a/target-arm/translate-a64.c b/target-arm/translate-a64.c
index c5d0def..e4f0306 10064