没有合适的资源?快使用搜索试试~ 我知道了~
TI DSP代码优化指南
4星 · 超过85%的资源 需积分: 42 69 下载量 134 浏览量
2009-01-16
23:13:12
上传
评论 2
收藏 1.28MB PDF 举报
温馨提示
试读
42页
介绍如何在TI CCS开发环境里对DSP程序进行优化。包括对Compiler Consultant Tool, Code Size Tune Tool和Cache Tune Tool的优化。英文ppt。
资源推荐
资源详情
资源评论
1
8
th
Texas Instruments Developer Conference India
30 Nov - 1 Dec 2005, Bangalore
Enry Shen
Texas Instruments
Code Composer Studio
(Optimization)
Agenda
Overview of Application
Code Tuning
Compiler Consultant
Code Size Tune Tool
Cache Tune Tool
2
CCS Optimization Tool Tutorial
Overview of Application Code Tuning
Compiler Consultant Tool
¾ Introduction
¾ Demonstration
Code Size Tune Tool
¾ Introduction
¾ Demonstration
Cache Tune Tool
¾ Introduction
¾ Demonstration
CCStudio Platinum Edition
One
environment
for all
platforms
Easy To Use
IDE
Exponential
productivity
improvements
Maximize
TI DSP
performance
entitlement
Multi-platform
IDE meets
evolving
developers
needs
OEMs realize
substantial
development
tool savings
Integrated
CodeWright
editor
Lock versions
of compiler
and DSP/BIOS
per design
Up to 80%
faster debug
via connect/
disconnect
Single
keystroke
back-step
with Rewind
Code
optimization
and tuning
tools
Updated C
compilers
for each
platform
3
Compiler Build Options
Nearly one-hundred compiler options available to tune your code's
performance, size, etc.
Following table lists most commonly used options:
Generate ‘C672x code-mv67p
Keep asm files, but don't interlist-k
Invoke optimizer (-o0, -o1, -o2/-o, -o3)-o3
Optimize
(release)
Interlist C statements into assembly listing-ss
Enables src-level symbolic debugging-g
Debug
Directory for assembly files-fs <dir>
Directory for object/output files-fr <dir>
Generate 'C64x+ code-mv6400+
Generate 'C64x code-mv6400
Generate ‘C67x code (‘C62x is default)-mv6700
DescriptionOptions
Compiler Build Options
Nearly one-hundred compiler options available to tune your code's
performance, size, etc.
Following table lists most commonly used options:
Generate ‘C672x code-mv67p
Keep asm files, but don't interlist-k
Invoke optimizer (-o0, -o1, -o2/-o, -o3)-o3
Optimize
(release)
Interlist C statements into assembly listing-ss
Enables src-level symbolic debugging-g
Debug
Directory for assembly files-fs <dir>
Directory for object/output files-fr <dir>
Generate 'C64x+ code-mv6400+
Generate 'C64x code-mv6400
Generate ‘C67x code (‘C62x is default)-mv6700
DescriptionOptions
Debug and Optimize options conflict
with each other, therefore they should
not be used together
4
Two Default Configurations
-g -fr“$(Proj_dir)\Debug" -d"_DEBUG" -mv6700
-o3 -fr“$(Proj_dir)\Release" -mv6700
For new projects, CCS
automatically creates
two build
configurations:
Debug (unoptimized)
Release (optimized)
Use the drop-down to
quickly select build
config.
Two Default Configurations
Add/Remove build config's
with Project Configurations
dialog (on project menus)
Edit a configuration:
1. Set it active
2. Modify build options
3. Save project
5
Two Default Configurations
Now You can build with your new configuration
Recommended Development Flow
Edit Compile -g Debug
Works?
Compile -oProfileGoals Met?
Done
No
Yes
No
Yes
Start
Debug first. Tune second.
After making sure you program is logically correct, We can use
compiler optimizer to optimize.
剩余41页未读,继续阅读
资源评论
- fon2nof2012-12-28雖然還沒有看懂,但應該是很有用的文件。
u2c
- 粉丝: 0
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功