xref: /openbmc/qemu/tcg/ppc/tcg-target-con-str.h (revision 1141159c)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Define PowerPC 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('v', ALL_VECTOR_REGS)
13 
14 /*
15  * Define constraint letters for constants:
16  * CONST(letter, TCG_CT_CONST_* bit set)
17  */
18 CONST('I', TCG_CT_CONST_S16)
19 CONST('M', TCG_CT_CONST_MONE)
20 CONST('T', TCG_CT_CONST_S32)
21 CONST('U', TCG_CT_CONST_U32)
22 CONST('W', TCG_CT_CONST_WSZ)
23 CONST('Z', TCG_CT_CONST_ZERO)
24