Optimized memxxx freescale version (user space libraries)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Optimized memxxx freescale version (user space libraries)

Jump to solution
2,693 Views
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.

Labels (1)
0 Kudos
Reply
1 Solution
1,845 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
4 Replies
1,846 Views
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 Kudos
Reply
1,845 Views
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 Kudos
Reply
1,845 Views
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 Kudos
Reply
1,845 Views
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 Kudos
Reply