VLES with CodeWarrior C  language

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

VLES with CodeWarrior C  language

1,445件の閲覧回数
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 返答(返信)

1,320件の閲覧回数
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 件の賞賛
返信

1,320件の閲覧回数
didib
Contributor I

I am using the 8157 board - sc3580.

CW version 10.2.1

Thanks

0 件の賞賛
返信

1,320件の閲覧回数
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 件の賞賛
返信