https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93928
Bug ID: 93928
Summary: Is there any interface to define the map of two
register in one pattern ?
Product: gcc
Version: new-ra
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: zhongyunde at huawei dot com
Target Milestone: ---
for example, if the following oril insns need two register for operand0 and
operand1 have an implication constraint, i.e., after register reload, the
regno(operand1) = regno(operand0) + 16;
(define_insn "oril"
4595 [(set (match_operand:DI 0 "register_operand" "=r")
4596 (ior:DI (match_operand:DI 1 "register_operand" "r")
4597 (match_operand:DI 2 "register_operand" "r")))]
4598 ""
4599 "oril@%.\t%0, %1, %x2"
4600 )