Re: [Qemu-devel] [PATCH v3 2/3] tcg/aarch64: implement new TCG target for aarch64

2013-05-29 Thread Claudio Fontana
On 28.05.2013 18:18, Richard Henderson wrote: On 05/28/2013 08:28 AM, Claudio Fontana wrote: +static inline void tcg_out_movi_aux(TCGContext *s, +TCGReg rd, uint64_t value) +{ +uint32_t half, base, movk = 0, shift = 0; + +/* construct halfwords of

Re: [Qemu-devel] [PATCH v3 2/3] tcg/aarch64: implement new TCG target for aarch64

2013-05-28 Thread Richard Henderson
On 05/28/2013 08:28 AM, Claudio Fontana wrote: +static inline void tcg_out_movi_aux(TCGContext *s, +TCGReg rd, uint64_t value) +{ +uint32_t half, base, movk = 0, shift = 0; + +/* construct halfwords of the immediate with MOVZ/MOVK with LSL */ +

[Qemu-devel] [PATCH v3 2/3] tcg/aarch64: implement new TCG target for aarch64

2013-05-28 Thread Claudio Fontana
add preliminary support for TCG target aarch64. Signed-off-by: Claudio Fontana claudio.font...@huawei.com --- include/exec/exec-all.h |5 +- tcg/aarch64/tcg-target.c | 1159 ++ tcg/aarch64/tcg-target.h | 99 translate-all.c |2