summary refs log tree commit diff stats
path: root/tcg/i386/tcg-target-con-set.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-08-13 11:49:27 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-08-24 11:22:42 -0700
commit73f97f0aa34c1da9946b399ae92e7b65c51627b1 (patch)
tree22e6a2bc31509f602692b3abe770cadbf7c08371 /tcg/i386/tcg-target-con-set.h
parent8f7a840d7df92ecbf78802e54eee52e82aa55383 (diff)
downloadfocaccia-qemu-73f97f0aa34c1da9946b399ae92e7b65c51627b1.tar.gz
focaccia-qemu-73f97f0aa34c1da9946b399ae92e7b65c51627b1.zip
tcg/i386: Allow immediate as input to deposit_*
We can use MOVB and MOVW with an immediate just as easily
as with a register input.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/i386/tcg-target-con-set.h')
-rw-r--r--tcg/i386/tcg-target-con-set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/i386/tcg-target-con-set.h b/tcg/i386/tcg-target-con-set.h
index 3949d49538..7d00a7dde8 100644
--- a/tcg/i386/tcg-target-con-set.h
+++ b/tcg/i386/tcg-target-con-set.h
@@ -33,7 +33,7 @@ C_O1_I1(r, q)
 C_O1_I1(r, r)
 C_O1_I1(x, r)
 C_O1_I1(x, x)
-C_O1_I2(q, 0, q)
+C_O1_I2(q, 0, qi)
 C_O1_I2(q, r, re)
 C_O1_I2(r, 0, ci)
 C_O1_I2(r, 0, r)