VLES with CodeWarrior C  language

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

VLES with CodeWarrior C  language

1,072 次查看
didib
Contributor I

Hi all.

I want to use VLES in order to improve my application performance.

Can i do it  with C language (not asm)?

Can i use some intrinsics that wrap the VLES instructions?

Actually, i want to copy the first element, forth, 7, 10 from  a source buffer to another bufffer and then to cpoy the second,5,8 elements from the source buffer to another bufffer. I want to abstain from loop asmuch as possible, tjen i thought on VLES and intrinsics.

 

Thanks a lot 

标签 (1)
0 项奖励
回复
3 回复数

947 次查看
CrasyCat
Specialist III

Hello

 

    - Which CPU are you targeting (HC08, HC12, Coldfire, ..)
    - Which version of CodeWarrior are you using?

It is difficult to answer such a question when we get no idea what you are talking about.

 

CrasyCat

0 项奖励
回复

947 次查看
didib
Contributor I

I am using the 8157 board - sc3580.

CW version 10.2.1

Thanks

0 项奖励
回复

947 次查看
J2MEJediMaster
Specialist I

The StarCore C compiler automatically generates VLES for you. You can use the intrinsics functions to optimize the code to a degree. The StarCore application AN3391 explains how to do this for a complex FIT algorithm, but you need to sign an non-disclosure agreement to see it.

 

---Tom

0 项奖励
回复