[oe] [PATCH/RFC] qt4-embedded: tune QT_ARCH for armv6

2010-11-04 Thread Eric Bénard
this is a RFC, I think it can also be used on qt 4.6.x and on armv7. Setting QT_ARCH to armv6 enable some asm optimized functions in QT. Signed-off-by: Eric Bénard --- recipes/qt4/qt4-embedded_4.7.0.bb |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/recipes/qt4/qt4-emb

Re: [oe] [PATCH/RFC] qt4-embedded: tune QT_ARCH for armv6

2010-11-04 Thread Khem Raj
On (04/11/10 10:52), Eric Bénard wrote: > this is a RFC, I think it can also be used on qt 4.6.x and on armv7. > Setting QT_ARCH to armv6 enable some asm optimized functions in QT. > > Signed-off-by: Eric Bénard Acked-by: Khem Raj > --- > recipes/qt4/qt4-embedded_4.7.0.bb |3 ++- > 1 file

Re: [oe] [PATCH/RFC] qt4-embedded: tune QT_ARCH for armv6

2010-11-04 Thread Holger Freyther
On 11/04/2010 10:52 AM, Eric Bénard wrote: > this is a RFC, I think it can also be used on qt 4.6.x and on armv7. > Setting QT_ARCH to armv6 enable some asm optimized functions in QT. Do you know the consequences of this change? E.g. in the painting engine unaligned memory access will be allowed.

Re: [oe] [PATCH/RFC] qt4-embedded: tune QT_ARCH for armv6

2010-11-04 Thread Eric Bénard
Hi, Le 04/11/2010 19:26, Holger Freyther a écrit : On 11/04/2010 10:52 AM, Eric Bénard wrote: this is a RFC, I think it can also be used on qt 4.6.x and on armv7. Setting QT_ARCH to armv6 enable some asm optimized functions in QT. Do you know the consequences of this change? E.g. in the paint

Re: [oe] [PATCH/RFC] qt4-embedded: tune QT_ARCH for armv6

2010-11-04 Thread Khem Raj
On Thu, Nov 4, 2010 at 11:26 AM, Holger Freyther wrote: > On 11/04/2010 10:52 AM, Eric Bénard wrote: >> this is a RFC, I think it can also be used on qt 4.6.x and on armv7. >> Setting QT_ARCH to armv6 enable some asm optimized functions in QT. > > Do you know the consequences of this change? E.g.

Re: [oe] [PATCH/RFC] qt4-embedded: tune QT_ARCH for armv6

2010-11-04 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04-11-10 19:26, Holger Freyther wrote: > On 11/04/2010 10:52 AM, Eric Bénard wrote: >> this is a RFC, I think it can also be used on qt 4.6.x and on armv7. >> Setting QT_ARCH to armv6 enable some asm optimized functions in QT. > > Do you know the c

Re: [oe] [PATCH/RFC] qt4-embedded: tune QT_ARCH for armv6

2010-11-05 Thread Holger Freyther
On 11/04/2010 08:14 PM, Eric Bénard wrote: > Hi, ill it be? >> > in the painting engine, from what I saw in the .h, the asm optimisations are > only enabled when using ARM RCVT compiler and not when using gcc but I have > not checked everywhere in the code so I'm not sure of this. that is somethin

Re: [oe] [PATCH/RFC] qt4-embedded: tune QT_ARCH for armv6

2010-11-05 Thread Eric Bénard
Hi, Le 05/11/2010 10:32, Holger Freyther a écrit : On 11/04/2010 08:14 PM, Eric Bénard wrote: in the painting engine, from what I saw in the .h, the asm optimisations are only enabled when using ARM RCVT compiler and not when using gcc but I have not checked everywhere in the code so I'm not su

Re: [oe] [PATCH/RFC] qt4-embedded: tune QT_ARCH for armv6

2010-11-05 Thread Holger Freyther
On 11/05/2010 10:42 AM, Eric Bénard wrote: > Hi, >> > OK where is the code you are talking about in qt ? tool/qttracereply. 1.) record a trace (e.g. the qtdemo) you will need Qt/X11 for that (desktop, device). But make sure that the qtdemo width/height fits on the screen. $ qttdemo -graphicssys

Re: [oe] [PATCH/RFC] qt4-embedded: tune QT_ARCH for armv6

2010-11-05 Thread Eric Bénard
Le 05/11/2010 11:21, Holger Freyther a écrit : On 11/05/2010 10:42 AM, Eric Bénard wrote: Hi, OK where is the code you are talking about in qt ? tool/qttracereply. 1.) record a trace (e.g. the qtdemo) you will need Qt/X11 for that (desktop, device). But make sure that the qtdemo width/he

Re: [oe] [PATCH/RFC] qt4-embedded: tune QT_ARCH for armv6

2010-11-05 Thread Phil Blundell
On Thu, 2010-11-04 at 19:26 +0100, Holger Freyther wrote: > Phil do you happen to know why unaligned access got allowed starting from > armv6? How fast will it be? I don't know, but I would suspect that unaligned access was added to ARMv6 in response to customer demand, and because a certain other

Re: [oe] [PATCH/RFC] qt4-embedded: tune QT_ARCH for armv6

2010-11-07 Thread Eric Bénard
Hi, Le 05/11/2010 11:21, Holger Freyther a écrit : 1.) record a trace (e.g. the qtdemo) you will need Qt/X11 for that (desktop, device). But make sure that the qtdemo width/height fits on the screen. $ qttdemo -graphicssystem trace (exit the app normally) 2.) Use qttracereply to replay the tra