2020-10-17 06:09:02 +03:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Define S390 target-specific operand constraints.
|
|
|
|
* Copyright (c) 2021 Linaro
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Define constraint letters for register sets:
|
|
|
|
* REGS(letter, register_mask)
|
|
|
|
*/
|
|
|
|
REGS('r', ALL_GENERAL_REGS)
|
2020-09-15 02:33:14 +03:00
|
|
|
REGS('v', ALL_VECTOR_REGS)
|
2022-10-10 18:41:15 +03:00
|
|
|
REGS('o', 0xaaaa) /* odd numbered general regs */
|
2020-10-17 06:09:02 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Define constraint letters for constants:
|
|
|
|
* CONST(letter, TCG_CT_CONST_* bit set)
|
|
|
|
*/
|
2023-10-28 08:34:24 +03:00
|
|
|
CONST('C', TCG_CT_CONST_CMP)
|
2020-10-17 06:09:02 +03:00
|
|
|
CONST('I', TCG_CT_CONST_S16)
|
|
|
|
CONST('J', TCG_CT_CONST_S32)
|
2022-12-08 20:28:19 +03:00
|
|
|
CONST('K', TCG_CT_CONST_P32)
|
2022-12-08 21:06:03 +03:00
|
|
|
CONST('N', TCG_CT_CONST_INV)
|
|
|
|
CONST('R', TCG_CT_CONST_INVRISBG)
|
2023-10-28 07:57:06 +03:00
|
|
|
CONST('U', TCG_CT_CONST_U32)
|
2020-10-17 06:09:02 +03:00
|
|
|
CONST('Z', TCG_CT_CONST_ZERO)
|