Use of intrinsic for SC3400 core

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

Use of intrinsic for SC3400 core

1,545 次查看
DeepakJoshi
Contributor I

I am looking is the intrinsics which can help me in finding result cross product of two complex no and give me real and imag part in 32 bit registers. I require this for SC3400 core. For the TI processor the intrinsic available for this type of computation are _mpyh,_mpylh,_mpy and _mpyhl.

Now acc to AN3434.pdf it says the equivalent to those TI intrinsic are V_L_mult_ll , V_L_mult_lh V_L_mult_hh and V_L_mult_hl But when i use this intrinsic it gives me the reult which is scaled by 2. IS I am missing something or doing something wrong.

Can some one please point out this.

Regards Deepak

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

541 次查看
starcoreDSP
Contributor II

TI uses integer format data and SC3400 uses fractional data. Both of them are fixed point arithmetic, but with different radix point. Please see attached file for the difference on integer multiplication and fractional multiplication.

0 项奖励
回复

541 次查看
deep_joshi
Contributor I

Hi,

Thnx for urs reply and sorry for my delayed response.

so have gone back to the intrinsic and yes there is clearly written its signed fractional multiplication which I didnt see... actually i saw migrtaion from TI guide nd directly tried to replace ... Thnks for yours clarification

 

Br

Deepak Joshi

0 项奖励
回复