summary refs log tree commit diff stats
path: root/cpu.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-01-28 14:55:57 -1000
committerRichard Henderson <richard.henderson@linaro.org>2021-02-05 10:24:14 -1000
commit552672bae63dd2c470fc533f276b746bae90b813 (patch)
treec20d9b1658b033f2689686c3ffe68d32ad7e0389 /cpu.c
parent187f44d9da0ca8ac08451f03f62b259080596570 (diff)
downloadfocaccia-qemu-552672bae63dd2c470fc533f276b746bae90b813.tar.gz
focaccia-qemu-552672bae63dd2c470fc533f276b746bae90b813.zip
tcg/tci: Fix TCG_REG_R4 misusage
This was removed from tcg_target_reg_alloc_order and
tcg_target_call_iarg_regs on the assumption that it
was the stack.  This was incorrectly copied from i386.
For tci, the stack is R15.

By adding R4 back to tcg_target_call_iarg_regs, adjust the other
entries so that 6 (or 12) entries are still present in the array,
and adjust the numbers in the interpreter.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'cpu.c')
0 files changed, 0 insertions, 0 deletions