You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/03 12:19:38 UTC
[GitHub] [incubator-nuttx] gustavonihei opened a new pull request #5143: xtensa/esp32: Use ROM implementations of libc functions
gustavonihei opened a new pull request #5143:
URL: https://github.com/apache/incubator-nuttx/pull/5143
## Summary
This PR intends to make use of available ROM implementations of libc functions on ESP32.
## Impact
ROM functions may be accessed while the MMU and Flash Cache is disabled, which contributes to the execution in SMP mode.
Depending on the usage scenario, usage of ROM function may result in minor increment to code size due to the effect of `-mlongcalls`:
Calling `strlen` from FLASH:
```asm
400dd51c: 0110e5 call8 400de62c <strlen>
```
Calling `strlen` from Internal ROM:
```asm
400dd6a8: caa281 l32r a8, 400d0130 <_stext+0x110>
400dd6ab: 0008e0 callx8 a8
```
## Testing
CI build pass and object code and map file inspection.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] acassis merged pull request #5143: xtensa/esp32: Use ROM implementations of libc functions
Posted by GitBox <gi...@apache.org>.
acassis merged pull request #5143:
URL: https://github.com/apache/incubator-nuttx/pull/5143
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org