On Tue, 2007-10-02 at 17:16 +0200, Jack Jansen wrote: > I'm still playing around with building ffmpeg with mingw32ce and then > using it in a Visual Studio 2005 project. > > Up until now I had compiled everything for the default armv4 > architecture, and things run fine both in the microsoft device > emulator and in the actual device (HP iPaq with PXA270 XScale > processor). > > To speed things up I tried building with -march=armv5te, but I'm > getting data alignment errors: > > > Data Abort: Thread=92c237f0 Proc=90990c10 'AmbulantPlayer.exe' > > AKY=00080001 PC=00acae84(avformat-51.dll+0x0000ae84) RA=00acae1c > > (avformat-51.dll+0x0000ae1c) BVA=2802ed14 FSR=00000003 > > Unhandled exception at 0x00acae84 in AmbulantPlayer.exe: > > 0x80000002: Datatype misalignment. > > Retried with -march=iwmmxt, same result.
I've tried compiling a random source with those options. With -S to be
able to look at the assembler. It is different, as you would expect.
A short snippet :
dannypc: {60} diff vocdec.s.normal vocdec.s.iwmmxt
26c26
< mov pc, lr
---
> bx lr
29c29
< .align 0
---
> .align 4
89d88
< mov r1, #0
90a90
> mov r1, #0
94a95,96
> .loc 1 61 0
> ldrne r2, [r3, #8]
99d100
< ldmeqfd sp!, {r4, r5, r6, pc}
101,105c102
< ldr r2, [r3, #8]
< .loc 1 63 0
< mov r0, r1
< .loc 1 61 0
< mov r3, #1
---
> movne r3, #1
108c105,106
< str r1, [r6, #0]
---
> movne r0, r1
> strne r1, [r6, #0]
Are you sure that your hardware is what you're specifying ? I don't know
the ARM processor chart by heart.
Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Cegcc-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cegcc-devel
