Merge tag 'pull-request-2022-09-28' of https://gitlab.com/thuth/qemu into staging
[qemu.git] / tcg / s390x / tcg-target-con-set.h
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Define S390 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(L, L)
14 C_O0_I2(r, r)
15 C_O0_I2(r, ri)
16 C_O0_I2(v, r)
17 C_O1_I1(r, L)
18 C_O1_I1(r, r)
19 C_O1_I1(v, r)
20 C_O1_I1(v, v)
21 C_O1_I1(v, vr)
22 C_O1_I2(r, 0, ri)
23 C_O1_I2(r, 0, rI)
24 C_O1_I2(r, 0, rJ)
25 C_O1_I2(r, r, ri)
26 C_O1_I2(r, rZ, r)
27 C_O1_I2(v, v, r)
28 C_O1_I2(v, v, v)
29 C_O1_I3(v, v, v, v)
30 C_O1_I4(r, r, ri, r, 0)
31 C_O1_I4(r, r, ri, rI, 0)
32 C_O2_I2(b, a, 0, r)
33 C_O2_I3(b, a, 0, 1, r)
34 C_O2_I4(r, r, 0, 1, rA, r)
35 C_O2_I4(r, r, 0, 1, ri, r)
36 C_O2_I4(r, r, 0, 1, r, r)