elf2dmp: introduce physical block alignment
[qemu/ar7.git] / tcg / loongarch64 / tcg-target-con-str.h
blob2ba9c135ac19ed47a3dc80b08d4d1d4c70196d9f
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Define LoongArch target-specific operand constraints.
5 * Copyright (c) 2021 WANG Xuerui <git@xen0n.name>
7 * Based on tcg/riscv/tcg-target-con-str.h
9 * Copyright (c) 2021 Linaro
13 * Define constraint letters for register sets:
14 * REGS(letter, register_mask)
16 REGS('r', ALL_GENERAL_REGS)
17 REGS('w', ALL_VECTOR_REGS)
20 * Define constraint letters for constants:
21 * CONST(letter, TCG_CT_CONST_* bit set)
23 CONST('I', TCG_CT_CONST_S12)
24 CONST('J', TCG_CT_CONST_S32)
25 CONST('U', TCG_CT_CONST_U12)
26 CONST('Z', TCG_CT_CONST_ZERO)
27 CONST('C', TCG_CT_CONST_C12)
28 CONST('W', TCG_CT_CONST_WSZ)
29 CONST('M', TCG_CT_CONST_VCMP)
30 CONST('A', TCG_CT_CONST_VADD)