mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 23:10:38 +00:00
d74b86ed4a
Implementing dup2, add, sub, and, or, xor as the minimal set. This allows us to actually enable neon in the header file. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
26 lines
587 B
C
26 lines
587 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Define Arm target-specific operand constraints.
|
|
* Copyright (c) 2021 Linaro
|
|
*/
|
|
|
|
/*
|
|
* Define constraint letters for register sets:
|
|
* REGS(letter, register_mask)
|
|
*/
|
|
REGS('r', ALL_GENERAL_REGS)
|
|
REGS('l', ALL_QLOAD_REGS)
|
|
REGS('s', ALL_QSTORE_REGS)
|
|
REGS('w', ALL_VECTOR_REGS)
|
|
|
|
/*
|
|
* Define constraint letters for constants:
|
|
* CONST(letter, TCG_CT_CONST_* bit set)
|
|
*/
|
|
CONST('I', TCG_CT_CONST_ARM)
|
|
CONST('K', TCG_CT_CONST_INV)
|
|
CONST('N', TCG_CT_CONST_NEG)
|
|
CONST('O', TCG_CT_CONST_ORRI)
|
|
CONST('V', TCG_CT_CONST_ANDI)
|
|
CONST('Z', TCG_CT_CONST_ZERO)
|