To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=117017
                 Issue #|117017
                 Summary|Linux ARM improvement / EducOOo donation
               Component|porting
                 Version|DEV300m93
                Platform|Other
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|mh
             Reported by|ericb





------- Additional comments from er...@openoffice.org Fri Feb 18 21:22:18 +0000 
2011 -------
I recently improved OOo4Kids and OooLight Linux ARM port, improving the arm
case. More precisely, I added --with-arm-target=$value at configure time,
allowing to choose between armv5, armv6, or armv7+ instruction set.

Default (or no option) will define ARMV7, for ARMV7+ (or more recent) compatible
processors.

Possible cases :

    * --with-arm-target=5 (or inferior value) : ARMV5 will be defined, no
additional gcc flag used 

    * --with-arm-target=6 : ARMV6 will be defined, and we'll use:
ARCH_FLAGS+=-march=armv6 -mfloat-abi=softfp -D__SOFTFP__ additional gccflags 

    * no flag or --with-arm-target=7 (or superior) ARMV7 will be defined, and
we'll use ARCH_FLAGS+=-march=armv7-a -mtune=cortex-a8 -mfpu=neon
-mfloat-abi=softfp gcc flags 

Other improvement:  

when ARMV7 is defined, the interlock count (in sal) uses ARMv7 assembler
instruction set (ldrex / strex in particular) + atomic operations, else we'll
use __sync_add_and_fetch() or __sync_sub_and_fetch.

This code works very well on OMAP3 ( armv7-a compatible). It has been created
using DEV300_m93 mercurial tree, and it is donated under the LGL v3 License by
EducOOo.

I'm the author of everything in the patch, and I'd be proud to see it (or a part
of it) integrated into OpenOffice.org.

Thanks


@sb : I randomly put you on cc, but please forward to the right people, if I was
wrong with you.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to