SIMD with blackfin-gcc

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

I'm developing a bare-metal firmware on BF537(Surveyor SVS board). I don't have the time to learn assembly for blackfin, fortunately I saw SIMD i spossible with plain C. So

1- Does the compiler automatically use SIMD features if I do some loop unrolling like: instead of

for(i=0;i

Reply to
Atilla
Loading thread data ...

Op Tue, 21 Sep 2010 13:16:29 +0200 schreef Atilla :

Which compiler?

Most compilers can perform loop unrolling themselves.

formatting link

6.37.1 Blackfin Variable Attributes

Your attribute is not on the list, so that attribute is either not a GCC attribute and/or your compiler is not standard GCC.

It depends what they really do.

--
Gemaakt met Opera's revolutionaire e-mailprogramma:  
http://www.opera.com/mail/
(remove the obvious prefix to reply by mail)
Reply to
Boudewijn Dijkstra

Too bad. You will have to learn assembler for BlackFin even if you don't have time for it.

No. Unless you use built-ins. Even if you do so, it does miserable job.

Vladimir Vassilevsky DSP and Mixed Signal Design Consultant

formatting link

Reply to
Vladimir Vassilevsky

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.