|
|||||||||||
Technical Support Support Resources
Product Information |
C51: Dual Data Pointer Performance IncreaseInformation in this article applies to:
QUESTIONHow are the dual data pointers of the several 8051 derivatives used by the C compiler? What is the performance advantage? ANSWERIn C51, only the library routines use the dual data pointers. The dual data pointers are not used by the C compiler to optimize your program code. The following library routines use dual data pointers when copying or comparing 2 memory blocks:
There is a distinct performance advantage in using dual data pointers. As an example, we profiled the memcpy function. This function shows the best performance increase you can expect. The following table gives the performance increase by using dual data pointers on the Dallas Semiconductor 320. This is compared to the same speed 8051 CPU with only 1 data pointer.
Note that the Dallas part already runs 3 times faster than a standard 8051. SEE ALSO
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.