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:57 +03:00
|
|
|
C_O0_I2(LZ, L)
|
2021-12-21 08:40:45 +03:00
|
|
|
C_O1_I1(r, r)
|
2021-12-21 08:40:57 +03:00
|
|
|
C_O1_I1(r, L)
|
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)
|
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)
|
2021-12-21 08:40:51 +03:00
|
|
|
C_O1_I2(r, rZ, rN)
|
2021-12-21 08:40:52 +03:00
|
|
|
C_O1_I2(r, rZ, rZ)
|