Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: Arm Neon Intrinsic optimization Support in CCS

$
0
0

Hai,

       I have set the following options in CCSv5 on Ubutu OS (according to the link u mentioned) and I have builded the sample C program. But again i got the disassembly that it is not optimized neon assembly code( Even there is no D,Q or S registers used in that generated assembly code).

            --float_support=VFPv3

           --abi=eabi

          --opt_level=2

          --opt_for_speed=3

          Run Time Model Options->Generate SIMD Instructions targeting Neon(--neon)

and the sample C program i used is

-----------------------------------------------

int main(void) {
    int a[200],b[200],c[200];
    int i;
    for (i = 0; i < 200; i++)
     {
        a[i]= b[i]=i+1;
     }
    for (i = 0; i < 200; i++)
     {
         c[i]= a[i] * b[i];
     }
}

-----------------------------------------------

Also    Properties->Build->ARM Compiler : Summary of flags set

-mv7A8 --code_state=32 --float_support=VFPv3 --abi=eabi -me -O3 --opt_for_speed=3 -g --optimize_with_debug --include_path="/opt/ti/ccsv5/tools/compiler/tms470_4.9.1/include" --diag_warning=225 --display_error_number --neon

Kindly guide me on this to get optimized neon assembly code...

Thanks & Regards,

    J.Moorthi


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>