Restrict all operands to registers. All constants will be forced into registers by the middle-end. Removing the difference in how immediate integers were encoded will allow more code to be shared between 32-bit and 64-bit operations. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
22 lines
520 B
C
22 lines
520 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* TCI target-specific constraint sets.
|
|
* Copyright (c) 2021 Linaro
|
|
*/
|
|
|
|
/*
|
|
* C_On_Im(...) defines a constraint set with <n> outputs and <m> inputs.
|
|
* Each operand should be a sequence of constraint letters as defined by
|
|
* tcg-target-con-str.h; the constraint combination is inclusive or.
|
|
*/
|
|
C_O0_I2(r, r)
|
|
C_O0_I3(r, r, r)
|
|
C_O0_I4(r, r, r, r)
|
|
C_O1_I1(r, r)
|
|
C_O1_I2(r, 0, r)
|
|
C_O1_I2(r, r, r)
|
|
C_O1_I4(r, r, r, r, r)
|
|
C_O2_I1(r, r, r)
|
|
C_O2_I2(r, r, r, r)
|
|
C_O2_I4(r, r, r, r, r, r)
|