Re: [Qemu-devel] [PATCH 0/2] tcg/arm: Implement movcond_i32

2012-10-16 Thread Aurelien Jarno
On Wed, Sep 26, 2012 at 07:48:53PM +0100, Peter Maydell wrote: > These patches implement movcond_i32 for the ARM TCG backend; we > emit "mov dst, v2; cmp c1, c2; movcc dst, v1". We could have > done this with a pair of conditional movs, but (a) this is not > actually any shorter (b) it means we don

Re: [Qemu-devel] [PATCH 0/2] tcg/arm: Implement movcond_i32

2012-10-12 Thread Peter Maydell
On 26 September 2012 19:48, Peter Maydell wrote: > These patches implement movcond_i32 for the ARM TCG backend; we > emit "mov dst, v2; cmp c1, c2; movcc dst, v1". We could have > done this with a pair of conditional movs, but (a) this is not > actually any shorter (b) it means we don't get the co

[Qemu-devel] [PATCH 0/2] tcg/arm: Implement movcond_i32

2012-09-26 Thread Peter Maydell
These patches implement movcond_i32 for the ARM TCG backend; we emit "mov dst, v2; cmp c1, c2; movcc dst, v1". We could have done this with a pair of conditional movs, but (a) this is not actually any shorter (b) it means we don't get the common TCG code doing the work of avoiding "mov reg to itsel