2021-12-21 05:40:44 +00: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 05:40:53 +00:00
|
|
|
C_O0_I2(rZ, rZ)
|
2021-12-21 05:40:45 +00:00
|
|
|
C_O1_I1(r, r)
|
2021-12-21 05:40:46 +00:00
|
|
|
C_O1_I2(r, r, rC)
|
2021-12-21 05:40:50 +00:00
|
|
|
C_O1_I2(r, r, ri)
|
2021-12-21 05:40:51 +00:00
|
|
|
C_O1_I2(r, r, rI)
|
2021-12-21 05:40:46 +00:00
|
|
|
C_O1_I2(r, r, rU)
|
2021-12-21 05:40:49 +00:00
|
|
|
C_O1_I2(r, r, rW)
|
2021-12-21 05:40:47 +00:00
|
|
|
C_O1_I2(r, 0, rZ)
|
2021-12-21 05:40:51 +00:00
|
|
|
C_O1_I2(r, rZ, rN)
|
2021-12-21 05:40:52 +00:00
|
|
|
C_O1_I2(r, rZ, rZ)
|