This patch adds ilp32e Calling Convention support by using -target-abi=ilp32e. It is decoupled with rv32e arch. You can use -march=rv32i -target-abi=ilp32e.
This patch support for :
- stack align = 4
- only use a0-a5 argument register
- callee saved register s0-s1
according to
https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md#rv32e-calling-convention
Double check the mask, should not be the interrupt mask