diff options
author | Alex Bennée | 2021-02-13 14:03:11 +0100 |
---|---|---|
committer | Alex Bennée | 2021-02-18 09:17:32 +0100 |
commit | 0d6e6cb779ea1615b094f35bf3189ae6fd68cd95 (patch) | |
tree | 1af7793a49a9fc68eabc6bf53bb539e071f0608d /target/moxie | |
parent | contrib: Open brace '{' following struct go on the same line (diff) | |
download | qemu-0d6e6cb779ea1615b094f35bf3189ae6fd68cd95.tar.gz qemu-0d6e6cb779ea1615b094f35bf3189ae6fd68cd95.tar.xz qemu-0d6e6cb779ea1615b094f35bf3189ae6fd68cd95.zip |
accel/tcg/plugin-gen: fix the call signature for inline callbacks
A recent change to the handling of constants in TCG changed the
pattern of ops emitted for a constant add. We no longer emit a mov and
the constant can be applied directly to the TCG_op_add arguments. This
was causing SEGVs when running the insn plugin with arg=inline. Fix
this by updating copy_add_i64 to do the right thing while also adding
a comment at the top of the append section as an aide memoir if
something like this happens again.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Cc: Emilio G. Cota <cota@braap.org>
Message-Id: <20210213130325.14781-10-alex.bennee@linaro.org>
Diffstat (limited to 'target/moxie')
0 files changed, 0 insertions, 0 deletions