Loading
tcg/aarch64: Fix output of extract2 opcodes
This patch fixes two problems:
(1) The inputs to the EXTR insn were reversed,
(2) The input constraints use rZ, which means that we need to use
the REG0 macro in order to supply XZR for a constant 0 input.
Fixes: 464c2969
Reported-by:
Peter Maydell <peter.maydell@linaro.org>
Tested-by:
Alex Bennée <alex.bennee@linaro.org>
Reviewed-by:
Alex Bennée <alex.bennee@linaro.org>
Reviewed-by:
Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>