xref: /openbmc/qemu/tcg/mips/tcg-target-con-str.h (revision 7d87775f)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Define MIPS 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 
13 /*
14  * Define constraint letters for constants:
15  * CONST(letter, TCG_CT_CONST_* bit set)
16  */
17 CONST('I', TCG_CT_CONST_U16)
18 CONST('J', TCG_CT_CONST_S16)
19 CONST('K', TCG_CT_CONST_P2M1)
20 CONST('N', TCG_CT_CONST_N16)
21 CONST('W', TCG_CT_CONST_WSZ)
22 CONST('Z', TCG_CT_CONST_ZERO)
23