Danny Backx wrote: > 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 ? >
Off course I tried to look into it. Disasm code is complete garbage and unrelated to wmmx. I also tried to see it in visual studio debugger - same problem. However, it works as expected :) When I tried some wmmx intrinsinc asm with ms compiler I believe that in debugger I saw wmmx opcodes instead of some unrelated garbage. ------------------------------------------------------------------------------ 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 Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel