Xtensa GPR and ABI
来自Jack's Lab
(版本间的差异)
(→Overview) |
|||
第5行: | 第5行: | ||
* Windowed register ABI, works with the Windowed Register Option (ESP32 use this ABI by default) | * Windowed register ABI, works with the Windowed Register Option (ESP32 use this ABI by default) | ||
* CALL0 ABI, used with any Xtensa processor (worse performance) | * CALL0 ABI, used with any Xtensa processor (worse performance) | ||
+ | |||
+ | |||
+ | Instruction CALL0 is for the CALL0 ABI | ||
+ | |||
+ | Instruction CALL4/CALL8/CALL12 is for the windowed register ABI | ||
<br><br> | <br><br> |
2016年11月16日 (三) 11:23的版本
目录 |
1 Overview
Two different ABI:
- Windowed register ABI, works with the Windowed Register Option (ESP32 use this ABI by default)
- CALL0 ABI, used with any Xtensa processor (worse performance)
Instruction CALL0 is for the CALL0 ABI
Instruction CALL4/CALL8/CALL12 is for the windowed register ABI
2 Windowed Register ABI
2.1 Argument passing
2.2 Return value
3 CALL0 ABI
3.1 Argument passing
3.2 Return value