Hi I want to port speex to my pocket PC iPAQ1945 which has a Samsung processor 2410, an ARM9-based processor. I would like to write the specific optimized code for this chip. I had some experience at DSP chip and fixed-point coding but know nothing about embedded system and ARM. Could someone tell me some hint how to write optimized code for this pocket PC. If you can give me some links that will be great!
Hi, Assuming you have gcc, you can already compile with --enable-arm5e-asm and get good results. Right now, many places use ARM4 assembly even on ARM5E, so if you want even better results, you can rewrite those. The main instructions you'll want to use are smulbb, smlabb, smulwb and smlawb, which aren't present in ARM4 and are usually more efficient than mul, smull and mla. Jean-Marc Le samedi 26 mars 2005 ? 01:15 -0500, Jianhong Wang a ?crit :> Hi > > I want to port speex to my pocket PC iPAQ1945 which has a Samsung > processor 2410, an ARM9-based processor. I would like to write the > specific optimized code for this chip. I had some experience at DSP > chip and fixed-point coding but know nothing about embedded system and > ARM. Could someone tell me some hint how to write optimized code for > this pocket PC. If you can give me some links that will be great! > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >-- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> Universit? de Sherbrooke -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20050326/89aea386/attachment.pgp
Hi, A question, How to embed inline assembly in EVC++? Can EVC link with obj file generated by pocketgcc? thanks James (sorry , last time I sent it to *.ca) On Sat, 26 Mar 2005 11:11:50 -0500, Jean-Marc Valin <Jean-Marc.Valin@usherbrooke.ca> wrote:> Hi, > > Assuming you have gcc, you can already compile with --enable-arm5e-asm > and get good results. Right now, many places use ARM4 assembly even on > ARM5E, so if you want even better results, you can rewrite those. The > main instructions you'll want to use are smulbb, smlabb, smulwb and > smlawb, which aren't present in ARM4 and are usually more efficient than > mul, smull and mla. > > Jean-Marc >