xref: /openbmc/qemu/tcg/arm/tcg-target-con-set.h (revision bad5cfcd)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Define Arm target-specific constraint sets.
4  * Copyright (c) 2021 Linaro
5  */
6 
7 /*
8  * C_On_Im(...) defines a constraint set with <n> outputs and <m> inputs.
9  * Each operand should be a sequence of constraint letters as defined by
10  * tcg-target-con-str.h; the constraint combination is inclusive or.
11  */
12 C_O0_I1(r)
13 C_O0_I2(r, r)
14 C_O0_I2(r, rIN)
15 C_O0_I2(q, q)
16 C_O0_I2(w, r)
17 C_O0_I3(q, q, q)
18 C_O0_I3(Q, p, q)
19 C_O0_I4(r, r, rI, rI)
20 C_O0_I4(Q, p, q, q)
21 C_O1_I1(r, q)
22 C_O1_I1(r, r)
23 C_O1_I1(w, r)
24 C_O1_I1(w, w)
25 C_O1_I1(w, wr)
26 C_O1_I2(r, 0, rZ)
27 C_O1_I2(r, q, q)
28 C_O1_I2(r, r, r)
29 C_O1_I2(r, r, rI)
30 C_O1_I2(r, r, rIK)
31 C_O1_I2(r, r, rIN)
32 C_O1_I2(r, r, ri)
33 C_O1_I2(r, rZ, rZ)
34 C_O1_I2(w, 0, w)
35 C_O1_I2(w, w, w)
36 C_O1_I2(w, w, wO)
37 C_O1_I2(w, w, wV)
38 C_O1_I2(w, w, wZ)
39 C_O1_I3(w, w, w, w)
40 C_O1_I4(r, r, r, rI, rI)
41 C_O1_I4(r, r, rIN, rIK, 0)
42 C_O2_I1(e, p, q)
43 C_O2_I2(e, p, q, q)
44 C_O2_I2(r, r, r, r)
45 C_O2_I4(r, r, r, r, rIN, rIK)
46 C_O2_I4(r, r, rI, rI, rIN, rIK)
47