The all_aboard series are really good. So, I’m trying to write a summary of all_aboard series for our risc-v bi-weekly news in chinese (https://cnrv.io/bi-week-rpts/2017-09-14).
Could I ask some questions about all aboard part 1?
- Is there any reason why A is not encouraged to emulate in the upstreaming process?
“As of this writing, there are no A routine emulations because they were rejected as part of the Linux upstreaming process – this might change in the future, but - for now - we plan to mandate that Linux-capable machines subsume the A extension as part of the RISC-V platform specification.”
- A typo: why the result is already in ra? It should be a0,a1.
", the emulation routine is called, the stack is unwound, and the result is returned (which is already in ra from __muldf3)."
- The explanation for -mabi is really good. But, where is the latest abi spec of risc-v? I know chapter 20 of user space has some, but I also found a psABI spec on github. (https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md)
I will bring back more feedback about part 2-5. Thanks for all the help in advance.