tcg: Support cross-class moves without instruction support
commit240c08d0998f402c325fce489de0d14831048128
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 16 Mar 2019 17:48:32 +0000 (16 17:48 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 13 May 2019 21:44:03 +0000 (13 14:44 -0700)
tree002331adb79e39a9986f5afc995e8d0efca1720b
parent78113e83e0007e869c9f0cb4c0497a77538988e3
tcg: Support cross-class moves without instruction support

PowerPC Altivec does not support direct moves between vector registers
and general registers.  So when tcg_out_mov fails, we can use the
backing memory for the temporary to perform the move.

Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg.c