On Sat, 2009-09-05 at 05:54 +0400, i-love-spam wrote:
> Seems that wmmx target cpu cannot be used, but it is still possible to use
> wmmx code.
> Here's how I made it work for me: -mtune=iwmmxt -mcpu=xscale
> -Wa,-mcpu=iwmmxt
Interesting.
> It works, but I had to disable half of my wmmx code since I was getting
> unaligned data errors.
> I don't know how different mcpu=xscale and mcpu=iwmmxt is, but it's possible
> that for wmmx
> gcc would generate different(better) code.
> Strange, but ARM_DOUBLEWORD_ALIGN shouldn't make corrupted binaries. But if
> it's defined
> to 1 then binaries cannot run at all (errors in some regular non-wmmx
> instructions)
Have you looked at the generated code ? Compile a trivial program with
-S to get assembler output, maybe compare outputs of two compilers ?
Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel