Re: [Qemu-devel] [PATCH v2 13/19] target-mips: implement unaligned loads using TCG

2012-10-30 Thread Aurelien Jarno
On Tue, Oct 30, 2012 at 06:59:36PM +, Blue Swirl wrote: > On Tue, Oct 30, 2012 at 12:12 AM, Aurelien Jarno wrote: > > Load/store from helpers should be avoided as they are quite > > inefficient. Rewrite unaligned loads instructions using TCG and > > aligned loads. The number of actual loads op

Re: [Qemu-devel] [PATCH v2 13/19] target-mips: implement unaligned loads using TCG

2012-10-30 Thread Blue Swirl
On Tue, Oct 30, 2012 at 12:12 AM, Aurelien Jarno wrote: > Load/store from helpers should be avoided as they are quite > inefficient. Rewrite unaligned loads instructions using TCG and > aligned loads. The number of actual loads operations to implement > an unaligned load instruction is reduced fro

[Qemu-devel] [PATCH v2 13/19] target-mips: implement unaligned loads using TCG

2012-10-29 Thread Aurelien Jarno
Load/store from helpers should be avoided as they are quite inefficient. Rewrite unaligned loads instructions using TCG and aligned loads. The number of actual loads operations to implement an unaligned load instruction is reduced from up to 8 to 1. Note: As we can't rely on shift by 32 or 64 unde