Skip to content

kaavyanannapaneni/Processor-Architecture-and-Optimization-Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Processor-Architecture-and-Optimization-Assignment

Processor Architecture and Optimization: Assignment

Problem Statement: Write C callable TMS320C64x Assembly program for the following C code and Optimize the ASM. Code to a minimum number of Machine cycles.

SOFTWARE/TOOLS NEEDED : CCS v5.2.1

Number of clock cycles taken by the above code : 81

  • In the c callable assembly program parameters are passed to assembly code.
  • *A4 register pointing to x array is a source register
  • *B4 register pointing to y array is a destination register.
  • 16 lddw and 16 stdw.
  • After unrolling the loop 64 values is stored in single iteration.
  • So total iterations = 2; to store 128 values.
  • In total it's taking total of 81 clock cycles for storing 128 values in 2 iterations

About

Processor Architecture and Optimization: Assignment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published