2021-12-21 08:40:44 +03:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Define LoongArch target-specific constraint sets.
|
|
|
|
*
|
|
|
|
* Copyright (c) 2021 WANG Xuerui <git@xen0n.name>
|
|
|
|
*
|
|
|
|
* Based on tcg/riscv/tcg-target-con-set.h
|
|
|
|
*
|
|
|
|
* 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_I1(r)
|
2021-12-21 08:40:56 +03:00
|
|
|
C_O0_I2(rZ, r)
|
2021-12-21 08:40:53 +03:00
|
|
|
C_O0_I2(rZ, rZ)
|
2021-12-21 08:40:45 +03:00
|
|
|
C_O1_I1(r, r)
|
2021-12-21 08:40:46 +03:00
|
|
|
C_O1_I2(r, r, rC)
|
2021-12-21 08:40:50 +03:00
|
|
|
C_O1_I2(r, r, ri)
|
2021-12-21 08:40:51 +03:00
|
|
|
C_O1_I2(r, r, rI)
|
2022-11-29 09:46:52 +03:00
|
|
|
C_O1_I2(r, r, rJ)
|
2021-12-21 08:40:46 +03:00
|
|
|
C_O1_I2(r, r, rU)
|
2021-12-21 08:40:49 +03:00
|
|
|
C_O1_I2(r, r, rW)
|
2021-12-21 08:40:54 +03:00
|
|
|
C_O1_I2(r, r, rZ)
|
2021-12-21 08:40:47 +03:00
|
|
|
C_O1_I2(r, 0, rZ)
|
2022-11-29 09:46:52 +03:00
|
|
|
C_O1_I2(r, rZ, ri)
|
|
|
|
C_O1_I2(r, rZ, rJ)
|
2021-12-21 08:40:52 +03:00
|
|
|
C_O1_I2(r, rZ, rZ)
|
2022-11-29 19:46:19 +03:00
|
|
|
C_O1_I4(r, rZ, rJ, rZ, rZ)
|