Re: [Qemu-devel] [PATCH 3/3] tcg/arm: improve constant loading

2011-01-09 Thread Peter Maydell
On 9 January 2011 23:33, andrzej zaborowski wrote: > On 9 January 2011 23:40, Aurelien Jarno wrote: >> Note that binutils is not able to disassemble such an instruction and >> outputs in qemu.log something like: >> | 0x0108:  e3aa50ff  undefined instruction 0xe3aa50ff >> >> However what worri

Re: [Qemu-devel] [PATCH 3/3] tcg/arm: improve constant loading

2011-01-09 Thread andrzej zaborowski
On 9 January 2011 23:40, Aurelien Jarno wrote: > On Fri, Jan 07, 2011 at 04:56:32PM +0100, andrzej zaborowski wrote: >> On 7 January 2011 15:40, Aurelien Jarno wrote: >> > On Fri, Jan 07, 2011 at 01:52:25PM +0100, andrzej zaborowski wrote: >> >> On 6 January 2011 22:54, Aurelien Jarno wrote: >>

Re: [Qemu-devel] [PATCH 3/3] tcg/arm: improve constant loading

2011-01-09 Thread Aurelien Jarno
On Fri, Jan 07, 2011 at 04:56:32PM +0100, andrzej zaborowski wrote: > On 7 January 2011 15:40, Aurelien Jarno wrote: > > On Fri, Jan 07, 2011 at 01:52:25PM +0100, andrzej zaborowski wrote: > >> Hi, > >> > >> On 6 January 2011 22:54, Aurelien Jarno wrote: > >> > Improve constant loading in two way

Re: [Qemu-devel] [PATCH 3/3] tcg/arm: improve constant loading

2011-01-07 Thread andrzej zaborowski
On 7 January 2011 15:40, Aurelien Jarno wrote: > On Fri, Jan 07, 2011 at 01:52:25PM +0100, andrzej zaborowski wrote: >> Hi, >> >> On 6 January 2011 22:54, Aurelien Jarno wrote: >> > Improve constant loading in two ways: >> > - On all ARM versions, it's possible to load 0xff00 = -0x100 using >

Re: [Qemu-devel] [PATCH 3/3] tcg/arm: improve constant loading

2011-01-07 Thread Aurelien Jarno
On Fri, Jan 07, 2011 at 01:52:25PM +0100, andrzej zaborowski wrote: > Hi, > > On 6 January 2011 22:54, Aurelien Jarno wrote: > > Improve constant loading in two ways: > > - On all ARM versions, it's possible to load 0xff00 = -0x100 using > >  the mvn rd, #0. Fix the conditions. > > - On <= AR

Re: [Qemu-devel] [PATCH 3/3] tcg/arm: improve constant loading

2011-01-07 Thread andrzej zaborowski
On 7 January 2011 13:52, andrzej zaborowski wrote: > On 6 January 2011 22:54, Aurelien Jarno wrote: >> Improve constant loading in two ways: >> - On all ARM versions, it's possible to load 0xff00 = -0x100 using >>  the mvn rd, #0. Fix the conditions. >> - On <= ARMv6 versions, where movw and

Re: [Qemu-devel] [PATCH 3/3] tcg/arm: improve constant loading

2011-01-07 Thread andrzej zaborowski
Hi, On 6 January 2011 22:54, Aurelien Jarno wrote: > Improve constant loading in two ways: > - On all ARM versions, it's possible to load 0xff00 = -0x100 using >  the mvn rd, #0. Fix the conditions. > - On <= ARMv6 versions, where movw and movt are not available, load the >  constants using m

[Qemu-devel] [PATCH 3/3] tcg/arm: improve constant loading

2011-01-06 Thread Aurelien Jarno
Improve constant loading in two ways: - On all ARM versions, it's possible to load 0xff00 = -0x100 using the mvn rd, #0. Fix the conditions. - On <= ARMv6 versions, where movw and movt are not available, load the constants using mov and orr with rotations depending on the constant to load