Lines Matching refs:Rd
95 // Alias of: $Rd = memXX($Rs+#XX) to $Rd = memXX($Rs)
96 def : InstAlias<"$Rd = memb($Rs)",
97 (L2_loadrb_io IntRegs:$Rd, IntRegs:$Rs, 0), 0>;
99 def : InstAlias<"$Rd = memub($Rs)",
100 (L2_loadrub_io IntRegs:$Rd, IntRegs:$Rs, 0), 0>;
102 def : InstAlias<"$Rd = memh($Rs)",
103 (L2_loadrh_io IntRegs:$Rd, IntRegs:$Rs, 0), 0>;
105 def : InstAlias<"$Rd = memuh($Rs)",
106 (L2_loadruh_io IntRegs:$Rd, IntRegs:$Rs, 0), 0>;
108 def : InstAlias<"$Rd = memw($Rs)",
109 (L2_loadri_io IntRegs:$Rd, IntRegs:$Rs, 0), 0>;
114 def : InstAlias<"$Rd = memubh($Rs)",
115 (L2_loadbzw2_io IntRegs:$Rd, IntRegs:$Rs, 0), 0>;
120 def : InstAlias<"$Rd = membh($Rs)",
121 (L2_loadbsw2_io IntRegs:$Rd, IntRegs:$Rs, 0), 0>;
132 // Alias of: if ($Pt) $Rd = memXX($Rs + #$u6_X)
133 // to: if ($Pt) $Rd = memXX($Rs)
134 def : InstAlias<"if ($Pt) $Rd = memb($Rs)",
135 (L2_ploadrbt_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
137 def : InstAlias<"if ($Pt) $Rd = memub($Rs)",
138 (L2_ploadrubt_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
140 def : InstAlias<"if ($Pt) $Rd = memh($Rs)",
141 (L2_ploadrht_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
143 def : InstAlias<"if ($Pt) $Rd = memuh($Rs)",
144 (L2_ploadruht_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
146 def : InstAlias<"if ($Pt) $Rd = memw($Rs)",
147 (L2_ploadrit_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
188 // Alias of: if (!$Pt) $Rd = memXX($Rs + #$u6_X)
189 // to: if (!$Pt) $Rd = memXX($Rs)
190 def : InstAlias<"if (!$Pt) $Rd = memb($Rs)",
191 (L2_ploadrbf_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
193 def : InstAlias<"if (!$Pt) $Rd = memub($Rs)",
194 (L2_ploadrubf_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
196 def : InstAlias<"if (!$Pt) $Rd = memh($Rs)",
197 (L2_ploadrhf_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
199 def : InstAlias<"if (!$Pt) $Rd = memuh($Rs)",
200 (L2_ploadruhf_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
202 def : InstAlias<"if (!$Pt) $Rd = memw($Rs)",
203 (L2_ploadrif_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
389 // Alias of: if ($Pt.new) $Rd = memub($Rs) -- And if (!$Pt.new) ...
390 // to: if ($Pt.new) $Rd = memub($Rs + #$u6_0)
391 def : InstAlias<"if ($Pt.new) $Rd = memub($Rs)",
392 (L2_ploadrubtnew_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
394 def : InstAlias<"if ($Pt.new) $Rd = memb($Rs)",
395 (L2_ploadrbtnew_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
397 def : InstAlias<"if ($Pt.new) $Rd = memh($Rs)",
398 (L2_ploadrhtnew_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
400 def : InstAlias<"if ($Pt.new) $Rd = memuh($Rs)",
401 (L2_ploadruhtnew_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
403 def : InstAlias<"if ($Pt.new) $Rd = memw($Rs)",
404 (L2_ploadritnew_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
409 def : InstAlias<"if (!$Pt.new) $Rd = memub($Rs)",
410 (L2_ploadrubfnew_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
412 def : InstAlias<"if (!$Pt.new) $Rd = memb($Rs)",
413 (L2_ploadrbfnew_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
415 def : InstAlias<"if (!$Pt.new) $Rd = memh($Rs)",
416 (L2_ploadrhfnew_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
418 def : InstAlias<"if (!$Pt.new) $Rd = memuh($Rs)",
419 (L2_ploadruhfnew_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
421 def : InstAlias<"if (!$Pt.new) $Rd = memw($Rs)",
422 (L2_ploadrifnew_io IntRegs:$Rd, PredRegs:$Pt, IntRegs:$Rs, 0), 0>;
436 // Rd=neg(Rs) is aliased to Rd=sub(#0,Rs)
437 def : InstAlias<"$Rd = neg($Rs)",
438 (A2_subri IntRegs:$Rd, 0, IntRegs:$Rs), 0>;
441 def : InstAlias<"$Rd = m0", (A2_tfrcrr IntRegs:$Rd, C6)>;
443 def : InstAlias<"$Rd = m1", (A2_tfrcrr IntRegs:$Rd, C7)>;
454 def : InstAlias<"$Rd = mpyui($Rs,$Rt)",
455 (M2_mpyi IntRegs:$Rd, IntRegs:$Rs, IntRegs:$Rt), 0>;
572 // maps "$Rd.w = vextract($Vu, $Rs)" -> "$Rd = vextract($Vu, $Rs)"
573 def : InstAlias<"$Rd.w = vextract($Vu, $Rs)",
574 (V6_extractw IntRegs:$Rd, VectorRegs:$Vu, IntRegs:$Rs)>,