On 9/20/21 1:04 AM, WANG Xuerui wrote:
+    /* Argument registers */
+    TCG_REG_A0,
+    TCG_REG_A1,
+    TCG_REG_A2,
+    TCG_REG_A3,
+    TCG_REG_A4,
+    TCG_REG_A5,
+    TCG_REG_A6,
+    TCG_REG_A7,
+};

Generally I'd place the argument registers in reverse usage order. It means that we'll try to use A7 before A0, which may work to our favor if the called function has less than 8 arguments.

But otherwise,
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to