1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Define AArch64 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, rA)
14 C_O0_I2(rZ, r)
15 C_O0_I2(w, r)
16 C_O0_I3(rZ, rZ, r)
17 C_O1_I1(r, r)
18 C_O1_I1(w, r)
19 C_O1_I1(w, w)
20 C_O1_I1(w, wr)
21 C_O1_I2(r, 0, rZ)
22 C_O1_I2(r, r, r)
23 C_O1_I2(r, r, rA)
24 C_O1_I2(r, r, rAL)
25 C_O1_I2(r, r, ri)
26 C_O1_I2(r, r, rL)
27 C_O1_I2(r, rZ, rZ)
28 C_O1_I2(w, 0, w)
29 C_O1_I2(w, w, w)
30 C_O1_I2(w, w, wN)
31 C_O1_I2(w, w, wO)
32 C_O1_I2(w, w, wZ)
33 C_O1_I3(w, w, w, w)
34 C_O1_I4(r, r, rA, rZ, rZ)
35 C_O2_I1(r, r, r)
36 C_O2_I4(r, r, rZ, rZ, rA, rMZ)
37