Lines Matching refs:Rss
1172 def: Pat<(bswap I64:$Rss), (Combinew (A2_swiz (LoReg $Rss)),
1173 (A2_swiz (HiReg $Rss)))>;
1608 def: Pat<(v2i32 (mulhu V2I32:$Rss, V2I32:$Rtt)),
1609 (Combinew (M2_mpyu_up (HiReg $Rss), (HiReg $Rtt)),
1610 (M2_mpyu_up (LoReg $Rss), (LoReg $Rtt)))>;
1612 def: Pat<(v2i32 (mulhs V2I32:$Rss, V2I32:$Rtt)),
1613 (Combinew (M2_mpy_up (HiReg $Rss), (HiReg $Rtt)),
1614 (M2_mpy_up (LoReg $Rss), (LoReg $Rtt)))>;
1619 OutPatFrag<(ops node:$Rss, node:$Rtt),
1620 (Combinew (Mulhub4 (HiReg $Rss), (HiReg $Rtt)),
1621 (Mulhub4 (LoReg $Rss), (LoReg $Rtt)))>;
1625 OutPatFrag<(ops node:$Rss, node:$Rtt),
1626 (C2_vmux (A4_vcmpbgti $Rss, -1), (A2_tfrpi 0), $Rtt)>;
1629 def: Pat<(v8i8 (mulhu V8I8:$Rss, V8I8:$Rtt)), (Mulhub8 $Rss, $Rtt)>;
1633 OutPatFrag<(ops node:$Rss, node:$Rtt),
1634 (A2_vsubub (Mulhub8 $Rss, $Rtt),
1635 (A2_vaddub (Negbytes8 $Rss, $Rtt),
1636 (Negbytes8 $Rtt, $Rss)))>;
1640 def: Pat<(v8i8 (mulhs V8I8:$Rss, V8I8:$Rtt)), (Mulhsb8 $Rss, $Rtt)>;
1651 OutPatFrag<(ops node:$Rss, node:$Rtt),
1652 (Combinew (Mulhsh2 (HiReg $Rss), (HiReg $Rtt)),
1653 (Mulhsh2 (LoReg $Rss), (LoReg $Rtt)))>;
1656 def: Pat<(v4i16 (mulhs V4I16:$Rss, V4I16:$Rtt)), (Mulhsh4 $Rss, $Rtt)>;
1666 def: Pat<(v4i16 (mulhu V4I16:$Rss, V4I16:$Rtt)),
1668 (Mulhsh4 $Rss, $Rtt),
1669 (A2_vaddh (A2_andp V4I16:$Rss, (S2_asr_i_vh $Rtt, 15)),
1670 (A2_andp V4I16:$Rtt, (S2_asr_i_vh $Rss, 15))))>;
1774 def: Pat<(mul I64:$Rss, I64:$Rtt),
1776 (M2_maci (M2_maci (HiReg (M2_dpmpyuu_s0 (LoReg $Rss), (LoReg $Rtt))),
1777 (LoReg $Rss),
1780 (HiReg $Rss)),
1781 (i32 (LoReg (M2_dpmpyuu_s0 (LoReg $Rss), (LoReg $Rtt)))))>;
1783 def MulHU : OutPatFrag<(ops node:$Rss, node:$Rtt),
1789 (S2_lsr_i_p (M2_dpmpyuu_s0 (LoReg $Rss), (LoReg $Rtt)), 32),
1790 (HiReg $Rss),
1792 (A4_combineir 0, (LoReg (M2_dpmpyuu_s0 (LoReg $Rss), (HiReg $Rtt))))),
1794 (HiReg $Rss),
1796 (S2_lsr_i_p (M2_dpmpyuu_s0 (LoReg $Rss), (HiReg $Rtt)), 32))>;
1799 def : Pat <(mulhu I64:$Rss, I64:$Rtt), (MulHU $Rss, $Rtt)>;
1813 def ClearSign : OutPatFrag<(ops node:$Rss),
1814 (Combinew (S2_clrbit_i (HiReg $Rss), 31), (i32 (LoReg $Rss)))>;
1816 def : Pat <(mulhs I64:$Rss, I64:$Rtt),
1818 (MulHU $Rss, $Rtt),
1820 (A2_andp (S2_asr_i_p $Rss, 63), (ClearSign $Rtt)),
1821 (A2_andp (S2_asr_i_p $Rtt, 63), (ClearSign $Rss))))>;
1886 def: Pat<(i32 (trunc (ctlz I64:$Rss))), (S2_cl0p I64:$Rss)>;
1890 def: Pat<(i32 (trunc (cttz I64:$Rss))), (S2_ct0p I64:$Rss)>;
1894 def: Pat<(i32 (trunc (ctlz (not I64:$Rss)))), (S2_cl1p I64:$Rss)>;
1898 def: Pat<(i32 (trunc (cttz (not I64:$Rss)))), (S2_ct1p I64:$Rss)>;
1901 def: Pat<(i64 (ctlz I64:$Rss)), (ToZext64 (S2_cl0p I64:$Rss))>;
1902 def: Pat<(i64 (cttz I64:$Rss)), (ToZext64 (S2_ct0p I64:$Rss))>;
1903 def: Pat<(i64 (ctlz (not I64:$Rss))), (ToZext64 (S2_cl1p I64:$Rss))>;
1904 def: Pat<(i64 (cttz (not I64:$Rss))), (ToZext64 (S2_ct1p I64:$Rss))>;
1906 def: Pat<(i64 (ctpop I64:$Rss)), (ToZext64 (S5_popcountp I64:$Rss))>;
1910 def: Pat<(bitreverse I64:$Rss), (S2_brevp I64:$Rss)>;
1944 def: Pat<(and I64:$Rss, IsNPow2_64L:$V),
1945 (Combinew (i32 (HiReg $Rss)),
1946 (S2_clrbit_i (LoReg $Rss), (LogN2_64 $V)))>;
1947 def: Pat<(and I64:$Rss, IsNPow2_64H:$V),
1948 (Combinew (S2_clrbit_i (HiReg $Rss), (UDEC32 (i32 (LogN2_64 $V)))),
1949 (i32 (LoReg $Rss)))>;
1951 def: Pat<(or I64:$Rss, IsPow2_64L:$V),
1952 (Combinew (i32 (HiReg $Rss)),
1953 (S2_setbit_i (LoReg $Rss), (Log2_64 $V)))>;
1954 def: Pat<(or I64:$Rss, IsPow2_64H:$V),
1955 (Combinew (S2_setbit_i (HiReg $Rss), (UDEC32 (i32 (Log2_64 $V)))),
1956 (i32 (LoReg $Rss)))>;
1958 def: Pat<(xor I64:$Rss, IsPow2_64L:$V),
1959 (Combinew (i32 (HiReg $Rss)),
1960 (S2_togglebit_i (LoReg $Rss), (Log2_64 $V)))>;
1961 def: Pat<(xor I64:$Rss, IsPow2_64H:$V),
1962 (Combinew (S2_togglebit_i (HiReg $Rss), (UDEC32 (i32 (Log2_64 $V)))),
1963 (i32 (LoReg $Rss)))>;
1980 def: Pat<(and (srl I64:$Rss, IsULE<32,31>:$u6), 1),
1981 (ToZext64 (I1toI32 (S2_tstbit_i (LoReg $Rss), imm:$u6)))>;
1982 def: Pat<(and (srl I64:$Rss, IsUGT<32,31>:$u6), 1),
1983 (ToZext64 (I1toI32 (S2_tstbit_i (HiReg $Rss), (UDEC32 $u6))))>;
1987 def: Pat<(and (not (srl I64:$Rss, IsULE<32,31>:$u6)), 1),
1988 (ToZext64 (I1toI32 (S4_ntstbit_i (LoReg $Rss), imm:$u6)))>;
1989 def: Pat<(and (not (srl I64:$Rss, IsUGT<32,31>:$u6)), 1),
1990 (ToZext64 (I1toI32 (S4_ntstbit_i (HiReg $Rss), (UDEC32 $u6))))>;