Optimized memxxx freescale version (user space libraries)

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

Optimized memxxx freescale version (user space libraries)

跳至解决方案
2,694 次查看
vasanthsri
Contributor III

Hi All,

I guess there is some custom library(libxxx) which provides optimized APIs (memcpy, memset etc..) provided by freescale for all/few embedded processor ? If yes, could someone help/redirect me to the link or relevant documents ? 

Thanks.

标签 (1)
0 项奖励
回复
1 解答
1,846 次查看
alexander_yakov
NXP Employee
NXP Employee

These mentioned functions may be optimized with using SPE (Signal Processing Engine) instructions. Yes, we offer "libcfsl" library which contains 7 functions that use SPE instructions: memcmp memcpy memmove memset strcmp strcpy strlen

http://cache.freescale.com/files/netcomm/software/libraries/libcfsl_e500.zip

However, I see P4040 and e500mc mentioned in tags of this topic - please note SPE support is removed in e500mc core.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,847 次查看
alexander_yakov
NXP Employee
NXP Employee

These mentioned functions may be optimized with using SPE (Signal Processing Engine) instructions. Yes, we offer "libcfsl" library which contains 7 functions that use SPE instructions: memcmp memcpy memmove memset strcmp strcpy strlen

http://cache.freescale.com/files/netcomm/software/libraries/libcfsl_e500.zip

However, I see P4040 and e500mc mentioned in tags of this topic - please note SPE support is removed in e500mc core.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,846 次查看
vasanthsri
Contributor III

alexander.yakovlev wrote:

These mentioned functions may be optimized with using SPE (Signal Processing Engine) instructions. Yes, we offer "libcfsl" library which contains 7 functions that use SPE instructions: memcmp memcpy memmove memset strcmp strcpy strlen

http://cache.freescale.com/files/netcomm/software/libraries/libcfsl_e500.zip

However, I see P4040 and e500mc mentioned in tags of this topic - please note SPE support is removed in e500mc core.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

Hi Alex,

Can you please check this link

link

I can see there is some library named libppc and last change log is against Freescale. Is this library changes not under GPL? 

Please let me know your view.

0 项奖励
回复
1,846 次查看
vasanthsri
Contributor III

alexander.yakovlev wrote:

These mentioned functions may be optimized with using SPE (Signal Processing Engine) instructions. Yes, we offer "libcfsl" library which contains 7 functions that use SPE instructions: memcmp memcpy memmove memset strcmp strcpy strlen

http://cache.freescale.com/files/netcomm/software/libraries/libcfsl_e500.zip

However, I see P4040 and e500mc mentioned in tags of this topic - please note SPE support is removed in e500mc core.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

I assume there is no such/similar optimized/customized code available for P4 series processor esp. e500mc .Thanks. if available, please kindly let us know.

0 项奖励
回复
1,846 次查看
vasanthsri
Contributor III

Thanks Alex for quick prompt.

Yes,you're right I requested for P4040 processor. I had an assumption that this "libfsl" memxxx functions are -not- designed/intended only with SPE instruction and also optimal for all ppc based modern embedded processor design.

If you have any reference link for memxx procedure intended for e500mc based processor's, kindly let me know.

Thanks.

0 项奖励
回复