[PATCH] D53291: add riscv32e to the llvm
Bruce Hoult via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 15 20:05:59 PDT 2018
brucehoult added a comment.
In https://reviews.llvm.org/D53291#1266082, @kito-cheng wrote:
> rv32e arch and ilp32e ABI is decoupling is GCC, that's mean rv32i with ilp32e is possible, so I would suggest separate two thing.
Very true.
In embedded systems it can often make sense to use the ilp32e ABI even on CPUs with 32 registers because there are significantly fewer argument and temporary registers, making interrupt response time shorter. All the high 16 registers are callee-save, which means you can use them if required but you need to save them first and restore them after.
Repository:
rL LLVM
https://reviews.llvm.org/D53291
More information about the llvm-commits
mailing list