aboutsummaryrefslogtreecommitdiff
path: root/tcg/tci/tcg-target-con-set.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-10-17 11:35:13 -0700
committerRichard Henderson <richard.henderson@linaro.org>2021-02-02 12:12:43 -1000
commit63b29fda4e3506e445d2ee8bb8f1b9244aee5e66 (patch)
tree36dbb30a9c4435bebf4e05a3d0bd2f095bf31dc4 /tcg/tci/tcg-target-con-set.h
parent0d11dc7c97e609e641892ab2f22f30f3d292f7b2 (diff)
downloadqemu-63b29fda4e3506e445d2ee8bb8f1b9244aee5e66.zip
qemu-63b29fda4e3506e445d2ee8bb8f1b9244aee5e66.tar.gz
qemu-63b29fda4e3506e445d2ee8bb8f1b9244aee5e66.tar.bz2
tcg/tci: Split out constraint sets to tcg-target-con-set.h
This requires finishing the conversion to tcg_target_op_def. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tci/tcg-target-con-set.h')
-rw-r--r--tcg/tci/tcg-target-con-set.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/tcg/tci/tcg-target-con-set.h b/tcg/tci/tcg-target-con-set.h
new file mode 100644
index 0000000..38e82f7
--- /dev/null
+++ b/tcg/tci/tcg-target-con-set.h
@@ -0,0 +1,25 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * TCI target-specific constraint sets.
+ * Copyright (c) 2021 Linaro
+ */
+
+/*
+ * C_On_Im(...) defines a constraint set with <n> outputs and <m> inputs.
+ * Each operand should be a sequence of constraint letters as defined by
+ * tcg-target-con-str.h; the constraint combination is inclusive or.
+ */
+C_O0_I2(r, r)
+C_O0_I2(r, ri)
+C_O0_I3(r, r, r)
+C_O0_I4(r, r, ri, ri)
+C_O0_I4(r, r, r, r)
+C_O1_I1(r, r)
+C_O1_I2(r, 0, r)
+C_O1_I2(r, ri, ri)
+C_O1_I2(r, r, r)
+C_O1_I2(r, r, ri)
+C_O1_I4(r, r, r, ri, ri)
+C_O2_I1(r, r, r)
+C_O2_I2(r, r, r, r)
+C_O2_I4(r, r, r, r, r, r)