OSDN Git Service

tcg/sparc: Introduce tcg_out_mov_delay
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 4 Aug 2021 22:15:53 +0000 (01:15 +0300)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 22 Sep 2021 02:36:44 +0000 (19:36 -0700)
commit220b2da7f34c29412db0dc0182e36fce67c8a9e4
tree89c2925e8abf247838a03f71d388249a3b503d45
parent897fd616fdb1347b903c81f101f03eb6e6474246
tcg/sparc: Introduce tcg_out_mov_delay

This version of tcg_out_mov is emits a nop to fill the
delay slot if the move is not required.

The only current use, for INDEX_op_goto_ptr, will always
require the move but properly documents the delay slot.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/sparc/tcg-target.c.inc