Re: [Qemu-devel] [PATCH 3/4] target/cris: optimize swap

2017-05-22 Thread Richard Henderson
On 05/16/2017 04:01 PM, Aurelien Jarno wrote: Use the same mask to avoid having to load two different constants, as suggest by Richard Henderson. Also use one less temp. Signed-off-by: Aurelien Jarno --- target/cris/translate.c | 15 +++ 1 file changed, 7

Re: [Qemu-devel] [PATCH 3/4] target/cris: optimize swap

2017-05-16 Thread Philippe Mathieu-Daudé
On 05/16/2017 08:01 PM, Aurelien Jarno wrote: Use the same mask to avoid having to load two different constants, as suggest by Richard Henderson. Also use one less temp. Signed-off-by: Aurelien Jarno --- target/cris/translate.c | 15 +++ 1 file changed, 7

[Qemu-devel] [PATCH 3/4] target/cris: optimize swap

2017-05-16 Thread Aurelien Jarno
Use the same mask to avoid having to load two different constants, as suggest by Richard Henderson. Also use one less temp. Signed-off-by: Aurelien Jarno --- target/cris/translate.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git