Displaying 1 result from an estimated 1 matches for "isub_lo".
Did you mean:
sub_lo
2017 Mar 22
3
REG_SEQUENCE use question
...tore instructions which use two neighboring regs at once,
which i'm trying to employ using virtual regs with subs.
For example, it I want to move one 64-bit virtual reg to another, I'm
trying to use the following pattern:
def LoReg: OutPatFrag<(ops node:$Rd), (EXTRACT_SUBREG (i64 $Rd), isub_lo)>;
def HiReg: OutPatFrag<(ops node:$Rd), (EXTRACT_SUBREG (i64 $Rd), isub_hi)>;
def MOVi64rr : Pat<(set GPR64:$Rd, GPR64:$Rn),
(REG_SEQUENCE GPR64,
(MOVi32rr (HiReg GPR64:$Rn)),
isub_hi,
(MOVi32rr (LoReg GPR64:$Rn)),
isub_lo)>;
isub_hi and isub_lo are subregs of a...