mirror of
https://github.com/qemu/qemu.git
synced 2024-12-16 07:53:36 +08:00
e9d7c8cf95
Lower the following ops: - add_vec - sub_vec Signed-off-by: Jiajie Chen <c@jia.je> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230908022302.180442-6-c@jia.je> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
31 lines
701 B
C
31 lines
701 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Define LoongArch target-specific operand constraints.
|
|
*
|
|
* Copyright (c) 2021 WANG Xuerui <git@xen0n.name>
|
|
*
|
|
* Based on tcg/riscv/tcg-target-con-str.h
|
|
*
|
|
* Copyright (c) 2021 Linaro
|
|
*/
|
|
|
|
/*
|
|
* Define constraint letters for register sets:
|
|
* REGS(letter, register_mask)
|
|
*/
|
|
REGS('r', ALL_GENERAL_REGS)
|
|
REGS('w', ALL_VECTOR_REGS)
|
|
|
|
/*
|
|
* Define constraint letters for constants:
|
|
* CONST(letter, TCG_CT_CONST_* bit set)
|
|
*/
|
|
CONST('I', TCG_CT_CONST_S12)
|
|
CONST('J', TCG_CT_CONST_S32)
|
|
CONST('U', TCG_CT_CONST_U12)
|
|
CONST('Z', TCG_CT_CONST_ZERO)
|
|
CONST('C', TCG_CT_CONST_C12)
|
|
CONST('W', TCG_CT_CONST_WSZ)
|
|
CONST('M', TCG_CT_CONST_VCMP)
|
|
CONST('A', TCG_CT_CONST_VADD)
|