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