1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Define AArch64 target-specific operand constraints.
4  * Copyright (c) 2021 Linaro
5  */
6 
7 /*
8  * Define constraint letters for register sets:
9  * REGS(letter, register_mask)
10  */
11 REGS('r', ALL_GENERAL_REGS)
12 REGS('l', ALL_QLDST_REGS)
13 REGS('w', ALL_VECTOR_REGS)
14 
15 /*
16  * Define constraint letters for constants:
17  * CONST(letter, TCG_CT_CONST_* bit set)
18  */
19 CONST('A', TCG_CT_CONST_AIMM)
20 CONST('L', TCG_CT_CONST_LIMM)
21 CONST('M', TCG_CT_CONST_MONE)
22 CONST('O', TCG_CT_CONST_ORRI)
23 CONST('N', TCG_CT_CONST_ANDI)
24 CONST('Z', TCG_CT_CONST_ZERO)
25