Hi all: I use Optimization parameters (-o3 -s -pm -ms3 ) to reduce the number of clcoks, but the result still same as not using those parameters.Which optimization parameters on CCS 2.0 is belong to .asm file ? What procedure do we want to optimize the .asm file by CCS Optimization parameters(not by hand) Thanks for your reply!!! Fjulink~~~~~~ the testing program as below: (about 1600 clocks before optimize ) ======================================================== MVK .S1 100,A1 ZERO.L1 A7 MVK.S1 00001000H,A4 MVK.S1 00001000H,A3 LOOP: LDH.D1 *A4++,A2 LDH.D1 *A3++,A2 NOP NOP NOP NOP MPY.M1 A2,A5,A6 NOP ADD.L1 A6,A7,A7 SUB.S1 A1,1,A1 [A1] B.S2 LOOP NOP NOP NOP NOP NOP ========================================================== |
C6711DSK Assembler Optimize By CCS V2.0 Optimization parameters
Started by ●September 4, 2002