2021-12-21 06:40:44 +01: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 06:40:56 +01:00
|
|
|
C_O0_I2(rZ, r)
|
2021-12-21 06:40:53 +01:00
|
|
|
C_O0_I2(rZ, rZ)
|
2021-12-21 06:40:45 +01:00
|
|
|
C_O1_I1(r, r)
|
2021-12-21 06:40:46 +01:00
|
|
|
C_O1_I2(r, r, rC)
|
2021-12-21 06:40:50 +01:00
|
|
|
C_O1_I2(r, r, ri)
|
2021-12-21 06:40:51 +01:00
|
|
|
C_O1_I2(r, r, rI)
|
2022-11-29 07:46:52 +01:00
|
|
|
C_O1_I2(r, r, rJ)
|
2021-12-21 06:40:46 +01:00
|
|
|
C_O1_I2(r, r, rU)
|
2021-12-21 06:40:49 +01:00
|
|
|
C_O1_I2(r, r, rW)
|
2021-12-21 06:40:54 +01:00
|
|
|
C_O1_I2(r, r, rZ)
|
2021-12-21 06:40:47 +01:00
|
|
|
C_O1_I2(r, 0, rZ)
|
2022-11-29 07:46:52 +01:00
|
|
|
C_O1_I2(r, rZ, ri)
|
|
|
|
C_O1_I2(r, rZ, rJ)
|
2021-12-21 06:40:52 +01:00
|
|
|
C_O1_I2(r, rZ, rZ)
|
2022-11-29 17:46:19 +01:00
|
|
|
C_O1_I4(r, rZ, rJ, rZ, rZ)
|